Log off a windows user remotely

1. check the session ID

QWINSTA /server:hostname

2. log off the user

LOGOFF userSessionID /server:hostname

Leave a Reply

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