Log a User off a Server Remotely

Posted by robd on November 04, 2015

Open a command prompt as a administrator (i.e. someone with admin over the server your trying to logon too).

Check the session number with qwinsta:

QWINSTA /server:computername

Write down the session ID.

Then use the logoff command:

LOGOFF sessionID /server:computername.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.