KeepMeAlive: Windows Lock Screen Disable

Ever need to prevent your Windows computer from automatically locking after a few minutes of activity, but corporate IT restrictions prevent you from changing those settings? Have no fear, KeepMeAlive is a solution that does not involve installing software inhibited by corporate policy!


Modern security requirements often require corporate computers to automatically lock when unused for a period of time. Locking your computer when leaving your desk is best practice, but most users have never adopted this mindset.

Instead of awareness and security training, most companies chose to force the behavior by enacting Group Policy settings that automatically lock the desktop after a short period of inactivity and also prevents users from changing the settings.

While this automatically-flushing-toilet mentality cheaply solves the corporate security problem, it creates two new problems:

  1. Users never learn good habits because the system just does it for them,
  2. Technical users often have a legitimate need to have a computer running unattended, and are negatively impacted by the policy.

Without breaking IT rules or hacking your computer, there is a simple way to disable the screen lock.


KeepMeAlive.bat is a small batch file that, when run, will simulate a user pressing the F15 key every minute. Since the F15 is not used on most keyboards, this key is rarely ever mapped to a function and has no effect.

There is nothing to install, just save the file to a folder on your computer to run it. As long as it’s running, the Windows will not lock. Pretty simple!

You can download the file from my site using the Download button below. This is a standard windows batch file with embedded VB script, so I highly recommend viewing the contents before running it for peace of mind that there isn’t any malware or other unexpected functionality hidden in there.


  • Click button to add to Cart.
  • Proceed to checkout to download. (NOTE: To prevent leeching, the site requires an email address and name. This information is not used or sold.)
  • Save KeepMeAlive.bat to a folder on your PC.
  • Double-click KeepMeAlive.bat to run, and simple X out of the terminal window to close it.