SCANNER TECHSJASSI SINGH
← Blog

How to Keep a Computer From Sleeping Without Admin Rights

You can keep a computer from sleeping without admin rights. On Windows, anything that installs for your user account only, or runs without installing at all, can ask Windows to stay awake, and that request needs no administrator. What admin rights (or your IT department) do control is the screen lock, and that’s a separate timer. This post covers both, the free tools that work on a locked-down Windows 10 or 11 PC, and the one I make, StayUp.

If it’s a work computer, read your IT policy first.

Sleep and lock are two different timers

Most guides treat “my PC keeps going to sleep” and “my PC keeps locking” as one problem. They aren’t, and mixing them up is why a tool can seem not to work.

  • Sleep comes from your power plan: after so many minutes without input, Windows turns the display off and then suspends the machine. Apps are allowed to hold this off.
  • Lock comes from the screen saver or from a security policy. On a managed PC it’s often the policy Microsoft calls Interactive logon: Machine inactivity limit: Windows watches for “user-input inactivity” and, past the limit, locks the session by starting the screen saver.

The way an app keeps Windows awake is a function called SetThreadExecutionState. It tells Windows the app needs the system and the display, and any program can call it with ordinary permissions. Microsoft’s documentation for it ends with one plain line: “This function does not stop the screen saver from executing.”

So a keep-awake app stops sleep. On its own, it doesn’t stop a lock that’s driven by inactivity. Only input does that, real or simulated.

First, check the settings you can change

On Windows 11, open Settings → System → Power & battery → Screen, sleep, & hibernate timeouts, as Microsoft’s power and sleep page describes it, and raise Turn my screen off after and Make my device sleep after, or set them to Never while plugged in. On Windows 10 it’s Settings → System → Power & sleep.

On a personal PC that’s usually all you need. On a managed one these options are often greyed out with a note that some settings are managed by your organization. If they are, the timers are set by policy and the tools below are the way round it for sleep. They don’t change the policy.

Keep-awake tools that don’t need admin rights

PowerToys Awake

PowerToys is Microsoft’s free set of Windows utilities, and Awake is the part that matters here. Microsoft’s install page offers two installers: “Per User”, which goes into AppData\Local\Programs for your account only, and “Machine wide”, which goes into Program Files. The per-user one is the one to pick without admin rights.

Awake keeps the PC awake indefinitely, for a set time or until a set time, without touching your power plan, and it has a Keep screen on switch. Microsoft is clear about its limit: when the lock screen shows, Awake stops keeping the display on. It’s a sleep tool, not a lock tool. Being Microsoft’s own and free, it’s also the easiest one to get approved if you’d rather ask IT first.

Caffeine

Caffeine by Zhorn Software is an old favourite, distributed as a zip with no installer. It works the other way round from Awake: by default it simulates an F15 key every 59 seconds, which counts as input, so it keeps the PC from locking as well as sleeping. Its own page warns that F15 can cause trouble in PuTTY, PowerPoint, Google Docs and Smartsheet, and it has options to use a different key or to call SetThreadExecutionState instead. As of October 2026 the latest version is 1.98, from November 2024.

StayUp

StayUp is the free tray app I make for Windows 10 and 11 (and macOS). Its Windows download is a per-user installer: it’s built with Tauri, whose Windows installer by default installs for the current user only, into your AppData folder, and doesn’t need administrator privileges to run. StayUp’s own configuration doesn’t change that default. If the PC is missing Microsoft’s WebView2 runtime, which StayUp needs to draw its window, the installer fetches it too; Windows 11 includes it, and Microsoft’s distribution notes say a non-elevated install of it goes in per user.

It does both jobs, and you can switch the second off:

  1. Keeps the PC awake with SetThreadExecutionState, asking for both the system and the display, the same way PowerToys Awake does.
  2. Stay active, which is optional. Every 15 seconds it checks how long it’s been since your last keyboard or mouse input. After four minutes with nothing, it presses F15, and again every four minutes until you’re back. The moment you touch anything it stops, so it never presses a key while you’re typing, and it never moves the pointer. You can change the wait and the gap, or pick F13, F14 or F16 if F15 clashes with an app you use.

Start a session for a set time or until a time of day, give it a weekday schedule, or have it pause on battery. Ctrl-Alt-K switches it on and off.

What to know before you install it:

  • It isn’t signed for Windows yet, so SmartScreen shows “Windows protected your PC” the first time. Choose More info → Run anyway.
  • If your organization only lets approved apps run, no unapproved app will start, StayUp included. That’s a rule about what can run, not about admin rights.
  • With Stay active switched off it presses nothing, and it’s a keep-awake tool like Awake.
  • With Stay active on, it can’t tell reading from being out of the room. Switch it off when you leave, or use a timer so it ends by itself.

Which should you use?

  • The power settings aren’t greyed out: raise the timers. Nothing to install.
  • They are, and only sleep is the problem: PowerToys Awake (per-user installer) or StayUp with Stay active off.
  • The screen also locks after a few idle minutes: that’s an inactivity lock, and only input holds it off, so it’s Caffeine or StayUp’s Stay active. On a work PC, this is the one to ask IT about first, because it works around a lock they chose.
  • Teams or Slack go Away while you read: that’s the same inactivity problem with a shorter timer. I’ve written up why Teams marks you Away and what you can do inside Teams before installing anything.

On a Mac, the built-in caffeinate command needs no admin rights and keeps the Mac awake from Terminal; there’s more on it in keeping a Mac awake for Claude Code.

StayUp is free for Windows 10 and 11 and macOS 10.15 or later, on its download page.

The app

StayUpFreemacOS · WindowsKeeps your Mac or PC awake, and you Available in Teams and Slack.