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?
Rik-08Asked:
Who is Participating?
 
JasperIAMCommented:
Go to Task Manager, Users tab.  You can disconnect or log off.  Easiest.
0
 
michkoCommented:
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
0
 
DenverRickCommented:
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.
0
 
Rik-08Author Commented:
thatnks guys for the help i prefer a non command line approach as less things can go wrong
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.