If you allow telnet access and your RDP sessions are all locked up (from pesky admins disconnecting and not logging out), there are a few tools that you can use from the CLI. One tool is called query, this tool allows you to see who is all logged in. The usage is 'query session' and you will get the output of who is logged in and what ID's they are using.

Another command is tsdiscon and you pass it in the session_id of the person you want to disconnect. Mind you though using this command sometimes doesn't disconnect the user because the connection could be hung up.

If that is the case then there is the ever so wonderful 'tsshutdn /reboot', which (provided you give it a few minutes) will restart the terminal services client.

All of these work really well over a connection that uses SSH (such as FreeSSHd or Cygwin).

More information can be found at http://technet2.microsoft.com/windowsserver/en/library/2b82a2b9-e226-40e0-bacc-cb564bd4c1c11033.mspx?mfr=true and http://support.microsoft.com/kb/320188

Comments Comments (0) Permalink Permalink     Rss feed for comments Post Comment Feed

  • E-Mail
  • DotNetKicks
  • Digg
  • LinkedIn
  • StumbleUpon
  • Slashdot
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • Yahoo! MyWeb

About Author

Justin Wendlandt
Justin Wendlandt
I work for Wells Fargo, play a lot of video games, and program in many languages. [ more ] E-mail me Send mail

View Justin Wendlandt's profile on LinkedIn View Justin Wendlandt's Facebook Profile View Justin Wendlandt's Twitter Profile View Justin Wendlandt's Zune Profile View Justin Wendlandt's Xbox Live Profile

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Most comments

wow cheats wow cheats
1 comments
us United States
S&#246;koptimering Sökoptimering
1 comments
us United States
commercial roofing hayward commercial roofing hayward
1 comments
us United States

Digsby

Poll

This poll is closed.
What do you use to connect to the internet?
A DLink Exterme Gaming router
 
0.0%
A Linksys / Cisco home router
 
0.0%
None of the above
 
0.0%
A Netgear home router
 
0.0%
I built my own box to do routing
 
100.0%

Total Votes: 1

Stock Quotes

WFC 29.76 0.00 (0.00%)
GOOG 581.14 0.00 (0.00%)
BBY 39.47 0.00 (0.00%)
CML 16.10 0.00 (0.00%)
COST 59.90 0.00 (0.00%)
MSFT 29.18 0.00 (0.00%)

Xbox Gamer Card

Jwendl Gamer Score: 10225
Jwendl
Borderlands (1045) South Park (180) Rock Band 2 (310) Gears of War 2 (400) TEKKEN 6 (0) Culdcept SAGA (95) CSI: Deadly Intent (0) Madden NFL 10 (0) CSI-Hard Evidence (0) Eternal Sonata (40) Magnacarta2 (50) Spectral Force 3 (275) Left 4 Dead 2 (50) LEGO Batman (0) Madden NFL 09 (375) Soulcalibur IV (325)
Offline
3/12/2010 3:53:21 AM
Last seen 19 minutes ago playing Xbox.com

Xbox Avatar

xbox Avatar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Creative Commons License