Sunday, July 2, 2017

Kill Active Sessions On a Server Using Command Prompt

First rule is you need to have proper permissions to access the server to which you are trying to reset the connections.

If you do not know the server IP address you can find it using the following CMD command.
ping yourservername

Then run the following command to get the sessions on the server.
qwinsta /server:

Get the ID of the session you want to kill.
rwinsta [SessionID] /server:

No comments:
Write comments
Recommended Posts × +