Killing a Remote Terminal Session

Ever tried to login to a server via RDP only to be told there are not enough connections available. Well this post should be of some assistance as long as you have admin access.

Type the following at a command prompt to see a list of users logged in.
qwinsta /server:192.168.168.1

The type the following to kill a users session. Where 3 below is the sessionID I want to kill
rwinsta /server:192.168.168.1 3

http://weblogs.asp.net/owscott/archive/2003/12/30/Managing-Terminal-Services-Sessions-Remotely.aspx

Tags: , , ,

Leave a Reply