First, use QWINSTA to query the sessions:
From a command prompt enter:
qwinsta /server:servername
Example:
In the above example I have shown “nameofserver” instead of the actual server name.
Note the ID of the session that you want to kill. In this case, we will kill session ID 2 (pdouglas)
To kill the session, use RWINSTA:
From the command prompt enter:
rwinsta ID
Example:
3 comments:
Thanks!!!
Hiya! I just would like to give an enormous thumbs up for the nice info you've got here on this post. I might be coming again to your weblog for more soon. casino online
Hi, I am looking to get list of all Active & Disconnected sessions with usernames on windows servers.
Post a Comment