Howto: Remotely disconnect a Terminal Services Session, Part 2

by admin on August 6, 2008

Previously I discussed two methods for remotely disconnecting a terminal server session.  Today I discovered another way do disconnect my Windows 2000 server from my Windows XP workstation.  Here’s how I did it:

1) Launch a command prompt

2) Authenticate to the server:
net use /user:administrator \\MyServer\c$

3) Type:
reset session 1 /server:MyServer

Start with session 1 and keep incrementing this number if you receive the message “session ID 1 not found”. You will not receive any notification when a session is successfully terminated, but you will receive a message if the session doesn’t exist.

Once a session has been freed you can logon to the terminal server as normal and kill any additional sessions through Terminal Services Manager.

{ 5 comments… read them below or add one }

Mike G August 7, 2008 at 9:37 am

Great tip thanks.

I recently discovered this blog and it is now my new favorite.

Reply

Julie August 7, 2008 at 12:44 pm

Mike-

Thanks for the kind comments

-Julie

Reply

deiveegan2008 August 9, 2008 at 1:49 am

Thanks for your kind commands

L. Deiveegan

Reply

dev0te3 August 9, 2008 at 2:33 am

Nice work ,keep it …

Reply

ME February 12, 2009 at 5:19 pm

COOOOLLL thnak you for this info!

Reply

Leave a Comment

Previous post:

Next post: