Reset your terminal server session (remote desktop session) remotely
You can close a remote session "remotely".
From any windows pc, you can close a remote session opened in an another server.
For example, if you are working on lbts03 (or mudaqc01w, does not matters) and your session is completely stucked and you cannot send any other command to the machine though the rdp session you may want close this session and open a new one.
To do it you can login on another windows pc, lbts for instance, and open a command prompt in order to execute the two following commands (the first one to understand which session you want to kill, and the second one to kill the session):
query session YOURUSERNAME /server:SERVER_WHERE_THE_SESSION_TO_BE_CLOSED_IS_RUNNING
reset session SESSIONID /server:SERVER_WHERE_THE_SESSION_TO_BE_CLOSED_IS_RUNNING
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
U:\>query session ethomas /server:ts04
SESSIONNAME USERNAME <strong>ID</strong> STATE TYPE DEVICE
ethomas <strong>2</strong> Disc rdpwd
U:\>reset session <strong>2</strong> /server:ts04
U:\>query session ethomas /server:ts04
No session exists for ethomas
U:\>
You can open a command promt pressing "windows key + r", then you have to digit "cmd" and press "OK"
-- Main.ebonacco - 02 Mar 2010