WINDOWS – How to log off a disconnected user remotely

Step 1. check the session number with qwinsta:
QWINSTA /server:COMPUTER_NAME

Step 2. use the logoff command:
LOGOFF SESSION_ID /server:COMPUTER_NAME

Leave a Reply

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

nine + one =

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