Howto: Remotely disconnect a Terminal Services Session, Part 2


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 Responses to “Howto: Remotely disconnect a Terminal Services Session, Part 2”

  1. Mike G Says:

    Great tip thanks.

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

  2. Julie Says:

    Mike-

    Thanks for the kind comments

    -Julie

  3. deiveegan2008 Says:

    Thanks for your kind commands

    L. Deiveegan

  4. dev0te3 Says:

    Nice work ,keep it …

  5. ME Says:

    COOOOLLL thnak you for this info!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 32 other followers

%d bloggers like this: