Remote Logoff without Logging In

 Issue:

You need to Logoff a User on a Server that is currently login without logging in on that server.

Purpose: One purpose of this is when you always lockout on several servers and you don't want to login to them one by one.

Action: run the below powershell commands

QWINSTA /server:'ServerName'

logoff 'ID' /server:'ServerName'

ServerName - is the server that you want to logoff that particular account

ID - is the ID assigned on the Account you want to Logoff.




Comments

Popular posts from this blog

Email Source

Unable to RDP - Can't Connect to Remote Computer

Domain Controller Authentication