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?
A long time ago i was shown how to kick RDC users off a server without rebooting it, can anybody help?
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thatnks guys for the help i prefer a non command line approach as less things can go wrong
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