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?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1: Open windows command prompt

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

This results in an output of

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:
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.
Go to Task Manager, Users tab.  You can disconnect or log off.  Easiest.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rik-08Author Commented:
thatnks guys for the help i prefer a non command line approach as less things can go wrong
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.