Tonight I had a few orphaned sessions to a remote machine that were not being enumerated by Terminal Services Manager or a remote connection (from Computer Management). I almost gave up and drove to the physical machine, but I found this trick online first.
Here's a handy way to view and manage sessions from the command prompt.
To List All Sessions
Start->Run->cmd
query session /server:xxx.xxx.xxx.xxx
To End a Session
reset session 1 /server:xxx.xxx.xxx.xxx
Note that "1" represents a session id. You can see all available sessions from the previous "query" command. Insert the correct number to terminate it.
Once you know these few commands, its actually quicker to manage remote sessions from the command prompt.
- Tim Medora
Page rendered at Friday, November 21, 2008 2:21:22 AM (US Mountain Standard Time, UTC-07:00)
Disclaimer The opinions expressed herein are really cool. But they are still JUST opinions.