Link to home
Start Free TrialLog in
Avatar of Rik-08
Rik-08

asked on

How to view current RDC connections to a server

Hey guys,

A long time ago i was shown how to kick RDC users off a server without rebooting it, can anybody help?
Avatar of michko
michko
Flag of United States of America image

1: Open windows command prompt

2: to view current connections: qwinsta /server:myserver

This results in an output of

SESSIONNAME USERNAME ID STATE TYPE DEVICE
console administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#51 administrator 2 Active rdpwd

3: kill a session by: rwinsta [sessionID] /server:myserver

i.e. rwinsta 2 /server:myserver

From the below link:
http://labs.redbd.net/blog/index.cfm/2007/7/31/Easily-kill-remote-desktop-sessions-to-your-server
Avatar of DenverRick
DenverRick

Go to the Server.  Either find Terminal Server Manager in the Administrative Tools, or Start, Run, tsadmin.exe.

In that applet you can 'Connect" if you have the logged on users password, 'Remote Control' (depending or your settings/polocies), 'Reset' (likke pulling the plug), or 'Logoff', a bit more graceful, however unsaved work is always lost.
ASKER CERTIFIED SOLUTION
Avatar of JasperIAM
JasperIAM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rik-08

ASKER

thatnks guys for the help i prefer a non command line approach as less things can go wrong