Remote Desktop – Killing sessions remotely

If you find yourself trying to remote desktop onto a server but get stuck with a “Signing out” message, or quite simply you need to remotely kick a user, historically you used to use TSADMIN.  Given this command is now deprecated you can now use QWINSTA and RWINSTA to kill off the remote connections.

Firstly, use QWINSTA to query who is connected:

From a command prompt enter:

QWINSTA /server:servername

Take note of the ID that you want to kill.

To kill the session, from a command prompt enter:

RWINSTA ID /server:servername

Tags: , ,

No comments yet.

Leave a Reply