An utility to prevent a policy-enforced screen lock in Windows.
Sometimes Windows is configured to lock the screen after some time of inactivity.
In case this option is enforced by corporate IT policies, it impossible to disable it via Windows settings.
There is a nice topic on StackExchange which discusses this problem and available solutions.
This utility was created as a convenient and reliable way to solve this problem.
.Net Framework 4.6 or higher (If you have Windows 10, you don't need to install anything)
- Download and unpack the latest release
- Start the executable
- You will get an icon in the system tray
- As you keep this tool running it prevents the screen from auto locking
- You can still lock the screen manually, if you want, by using Windows default methods/shortcuts
- To close the utility, just click "Close" in the tray icon context menu. After utility is closed, screen locking behavior returns to what it was before you started the utility
The application uses built-in into Windows mechanism which allows an application to keep system "in use" even if there is no user activity. It is better than simulating key presses or mouse movements.
- Use
Visual Studio 2019
to open the solution file and work with the code - Run
github/workflows/build.ps1
to build a release (to run this scriptgit.exe
should be in your PATH)