Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Kill Remote Desktop Session Remotely

Kill Remote Desktop Session Remotely

Kill Remote Desktop Session Remotely

Question...I have a remote desktop session going where my client was abnormally terminated.  Now when I connect via Remote Desktop, a new session is attempting to be started instead of reconnecting to my old session.  In addition, the server has hit the limit of two concurrent terminal server sessions.  I am using pstools pslist utility so I can see remotely that a large copy I had started is still going.  How do kill my old remote desktop session so I can re-connect or better yet how do I re-establish my connection to my original remote desktop session?

RE: Kill Remote Desktop Session Remotely

From the Terminal Server:
Start-Programs-Administrative Tools -Terminal Services Manager.  Right Click on the user and "Logoff".

RE: Kill Remote Desktop Session Remotely

Sorry, I should have mentioned that I don't have direct access the the server I am trying to connect to.  I only have RD access or the ability to issue remote commands through PS tools and I don't have domain admin privileges.  Can I remotely issue a "pskill" and kill a particular process that will terminate the session?

RE: Kill Remote Desktop Session Remotely

You can download the Terminal Service Manager from MS.  I believe it is part of the 2003 admin pak.  Then you can run it locally, connect to that server and then logoff the session.

RE: Kill Remote Desktop Session Remotely

Another option is to access another server on the same domain and load the terminal services maanger from that server.  Then highlight the server you were logged on to then highlight the sessions and reset them.

RE: Kill Remote Desktop Session Remotely

you can also use the built-in TS commands to kill users sessions also;

1. Check for a list of running sessions by typing the following;

This will list all current session on that server. Record the session ID for the session you want to kill.  Then

2. RESET SESSION sessionID /SERVER:servername

This will close the user session.  You can also use LOGOFF SESSION instead if you want to logoff the user.  Hope this helps

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close