Windows 8: How to Lock (not sleep) laptop on lid close?

Posted by Eye of Hell on Super User See other posts from Super User or by Eye of Hell
Published on 2012-10-30T14:43:59Z Indexed on 2012/10/30 17:05 UTC
Read the original article Hit count: 125

Filed under:
|

If my laptop is connected to power source and is not configured to sleep on lid close (it is connected to power source and is working, i don't want it to sleep. It's compiling my code) if i close the lid, laptop will do nothing. This works as expected, but actually if i have my laptop connected to power source in the office it will be good to lock it if i close a lid. So no one can just open the lid and see my unlocked desktop.

I searched google and it says thet correct use case is to manually lock laptop via Win + L every time before lid is closed. This is ok, but not very secure - after all, i can forget Win + L.

Is t any easy way (maybe some registry value or app) to configure windows laptop so it will lock on lid close even without sleep? Of course i can write app / powershell script for this task, but this is not suitable for non-programmers end users.

© Super User or respective owner

Related posts about Windows

Related posts about windows-8