Sunday, January 07, 2018

How To LOCK a PC via Command Line

Sometimes you want a PC to Boot-up, Login, then Lock itself.

It's not obvious how to get it to do that.

Sure you could Log-OUT or Shutdown, but those are helpful options.

You want the PC to Lock local access, but continue on with the tasks you had set it about upon boot-up.

Here's the command you need:

…\Windows\System32\rundll32.exe user32.dll,LockWorkStation


Thanks to here for this tip!

No comments:

Post a Comment