“tscon 'SessionID' /dest:console” always shows “Session ID not found” RRS feed

  • Question

  • I have a script that closes remote desktop connection and runs an application on a remote computer. It is helpful when the application requires a special access to your GPU.

    To shut down the remote session the script uses:

    tscon 'SessionID' /dest:console

    The script is no longer working after I switched to Windows 10 - tscon constantly shows "Session ID not found" error. I use "query session" to figure out my SessionID.

    Friday, October 25, 2019 11:26 AM