How to Lock Windows Computer from Command Line

 

In command line type:

rundll32.exe user32.dll,LockWorkStation

That will lock Windows.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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