← Back to work

Windows Never Sleep

code

A tiny Windows utility that prevents idle sleep and idle locking, with two-click install and uninstall.

Windows Never Sleep

A tiny open-source Windows utility that keeps a PC awake and stops it from locking itself when idle — with exactly two buttons. Install.exe installs it, starts it right away and turns on auto-start at sign-in; Uninstall.exe stops it, removes the auto-start, restores the previous sleep timeout and uninstalls it. Pressing Win + L still locks the screen, and manual sleep, shutdown and the power button keep working.

How it works

One side effect worth knowing: the F15 pulse also resets Windows' display-off timer, so if you need a dark screen while unattended GUI automation keeps running, switch the monitor off with its own power button.

Download the ZIP from GitHub Releases, extract it and double-click Install.exe; it can also be removed from Windows Settings → Apps → Installed apps. Written in C# and MIT-licensed.