Guest salan Posted March 6, 2009 Posted March 6, 2009 hi all, anyone any ideas as to how I can kill dead remote desktop sesisons? I us e this to admin some of our servers and occationally the sesison goes south (black screen). I then have to start another session. but how do I kill the first session? What proccess do I kill on the server please? There seems to be many running (a copy of explorer copy of.... etc etc).
EduTech Posted March 6, 2009 Posted March 6, 2009 Got to task manager > users > right click on user > End the remote sessions from there James.
Ric_ Posted March 6, 2009 Posted March 6, 2009 Start -> Programs -> Adminstrative Tools -> Terminal Services Manager Right-click on the session and select logoff or reset.
Ric_ Posted March 6, 2009 Posted March 6, 2009 Got to task manager > users > right click on user > End the remote sessions from there task manager - users - logoff? My way's better because you can administer all the servers at once
EduTech Posted March 6, 2009 Posted March 6, 2009 My way's better because you can administer all the servers at once Get Out!!! My way was just the first thing that came into my head soo nerrr!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
e-class Posted March 8, 2009 Posted March 8, 2009 If you are talking about an RDP session to a server which goes pear shaped and you then have to log on to that server again then the easiest way would be to do the following: 1)... From a DOS prompt type "quser". 2)... This gives you a list of connected sessions with session IDs 3)... Identify the dodgy session ID and type 'logoff '. You can also check remote servers as well by doing: quser /server: which gives you information about connected sessions for the specified server. See: Query user for a more in depth look at quser. HTH
mac_shinobi Posted March 8, 2009 Posted March 8, 2009 on the server if you connect using another session cant you right click on my computer --> manage and see all the remotely connected sessions and do it that way ? If not then I must be thinking of shared files and not the terminal services section as per above. Could do with having a server 2003 and a 10.5 server configured on my mac pro under 2 vm's to play around with settings etc.
cypdon99 Posted April 23, 2012 Posted April 23, 2012 hi all, anyone any ideas as to how I can kill dead remote desktop sesisons? I us e this to admin some of our servers and occationally the sesison goes south (black screen). I then have to start another session. but how do I kill the first session? What proccess do I kill on the server please? There seems to be many running (a copy of explorer copy of.... etc etc). In command prompt, execute following commands to kill terminal services sessions remotely. Replace blue with your own parameters. Step 1. Gain enough privilidge to kill RDP connection on the server. net use \\servername_or_IP /USER:username “password“ Step 2. List the connection to a particular server and get session ID. query session /server:servername Step 3. Reset the session which you don’t need using ID of the session from Step 2. reset session ID /server:servername_or_IP That’s it! However it seems that on some machines, query.exe and reset.exe are not available. If that’s the case, try qwinsta.exe and rwinsta.exe respectivly in place of query.exe and reset.exe. Alternatively, you should be able to find query.exe and reset.exe in “C:\WINDOWS\System32\dllcache“. Copy the files to System32 directory and you are good to go. Ex: step 1: net use \\120.130.12.4 /USER:administrator gjhsd71 step 2: query session /server:120.130.12.4 you will get result like this....session id is 1 here SESSIONNAME USERNAME ID STATE TYPE DEVICE ----------------------------------------------------------------------------- console Administrator 1 Active step 3: reset session 1 /server:120.130.12.4
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now