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

Calendar

<<  July 2008  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Recent Posts

Recent Comments

Comment RSS

Stock Quotes

WFC 23.92 +0.33 (+1.40%)
MSFT 25.98 +0.10 (+0.39%)
NVDA 12.49 -5.54 (-30.73%)
HAS 34.89 +0.41 (+1.19%)

XboxGamerCard

Jwendl
Jwendl
Gamer Score: 4725
Guitar Hero II (140) Rock Band (270) GTA IV (90) DYNASTY WARRIORS 6 (340) CSI-Hard Evidence (0) Culdcept SAGA (45) Overlord (420) Assassin's Creed (490) DEAD RISING (440) Halo 3 (535) Oblivion (390) Blue Dragon (25) Eternal Sonata (30) Tony Hawk's Project 8 (135) Gears of War (470) Crackdown (405)
Offline
2008-07-03T01:23:22-05:00
Last seen 07/03/08

Disclaimer

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

© Copyright 2008

Creative Commons License

Header Photo

Terminal Services Management Hints

January 8, 2008 01:38 by jwendl

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


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading