Display and reset remote sessions using QWINSTA and RWINSTA !!

Each and every one of you might have at times faced issues connecting to a Windows Server or desktop machine due to disconnected sessions. At first, you might try to connect using the admin console only to know that a console session already exists. There are chances people even might think of remote rebooting the server/desktop. If so, WAIT & take a glance below !!

Steps to display remote sessions on a machine :

  • Launch CMD
  • Execute the command qwinsta /server:servername. eg :

qwintsa

  • Note the session IDs of the remote sessions on the server

Steps to reset or kill remote sessions on a machine :

  • Launch CMD
  • Execute the command rwinsta ID /server:servername. eg :

rwinsta

  •  Check and confirm that the remote sessions have been removed.

 

 

Advertisements