Skip to main content

List and Logoff RDP Users Remotely

To get a list of the Remote Sessions in the command window (Get the session Id of user to kick out):

qwinsta /server:SERVERIP

To disconnect the remote session:

rwinsta /server:SERVERIP SESSIONID

FromĀ http://superuser.com/questions/62498/kicking-logging-out-remote-windows-users