LockOnLidClose will lock your screen when you close your laptop's lid. So the next time you open the lid, you will be prompted for your user password. You'd think that such a simple feature must be included in every OS by default, right? Wrong! Microsoft knows what's better for you after all.

There are a lot of implementations of this feature, but only few of them are open source. And for some reason the open source ones use a lot of hardcoded declarations like GUIDs or library imports. My implementation uses values from standard Windows headers only. That's pretty much all the difference.

The application archive contains control *.bat files. Use them to start/stop the application. No administrative privileges required.

This application is only for Windows Vista or later! Also read README.TXT before use!