PowerToys Awake: Setup Guide and When to Use It
Microsoft publishes a free keep-awake utility. It is buried inside PowerToys, it is called Awake, and it is the cleanest solution on Windows if you are allowed to install software.
What Awake actually does
Awake does not move your mouse or fake input. It calls the Windows API SetThreadExecutionState to tell the operating system that an application requires the system, or the display, to stay on. This is the same documented mechanism a video player or a backup tool uses when it needs to finish its work.
That distinction matters for three reasons: your cursor stays exactly where you put it, the effect stops cleanly when you stop the tool, and nothing is being simulated or spoofed - the machine is genuinely being told a task needs it awake.
Installing PowerToys
PowerToys is a Microsoft-published open-source collection of Windows utilities. Three supported ways to install:
- Microsoft Store. Search for "Microsoft PowerToys" and install. Easiest, and updates handle themselves.
- Winget. In a terminal, run
winget install Microsoft.PowerToys. - GitHub releases. Download the installer from the official Microsoft PowerToys releases page. Use the per-user installer if you do not have administrator rights - it often succeeds where the machine-wide one does not.
Only use those three sources. "PowerToys download" searches turn up mirror sites, and there is no reason to use one.
Turning Awake on
- Open PowerToys Settings from the Start menu or the system tray.
- Select Awake in the left sidebar.
- Toggle Enable Awake.
- Pick a mode (below).
- Optionally tick Keep screen on.
The modes
| Mode | Behaviour | Good for |
|---|---|---|
| Off (keep using the selected power plan) | Awake does nothing; normal power settings apply | Turning it off without disabling the module |
| Keep awake indefinitely | Stays awake until you change the mode | Presentations, kiosks, long unattended jobs |
| Keep awake temporarily | Stays awake for a set number of hours and minutes, then reverts | Most everyday use |
| Keep awake until expiration | Stays awake until a specific date and time | "Until the end of the working day" |
"Keep awake temporarily" is the option to default to. Indefinite mode has an obvious failure case: you forget, close the lid, put the laptop in a bag, and find it hot and flat two hours later.
The "Keep screen on" checkbox
This is a separate decision from the mode, and it is the one people get wrong. Without it, Awake prevents the system sleeping but your display can still turn off. That is exactly right for an overnight render or backup - the work continues, the screen saves power - and exactly wrong for a presentation or a dashboard, where you need the picture to stay visible.
Driving it from the system tray
Once enabled, Awake adds a coffee-cup icon to the notification area. Right-click it to switch modes without opening PowerToys Settings. The icon also tells you at a glance whether the machine is currently being held awake, which is the main reason to leave it visible rather than hiding it in the overflow area.
Command line usage
Awake ships with an executable that can be scripted, which is handy for build servers and scheduled jobs. It lives in the PowerToys installation folder as PowerToys.Awake.exe and accepts arguments such as:
--use-pt-config- follow the settings configured in the GUI--display-on true- also keep the display on--time-limit 3600- stay awake for one hour
Argument names have changed across releases, so check PowerToys.Awake.exe --help for your version before scripting against it.
Verifying it works
Open Command Prompt and run powercfg /requests. While Awake is active you will see an entry under SYSTEM - and, if "Keep screen on" is ticked, under DISPLAY - attributed to the Awake executable. If nothing appears there, Awake is not actually holding anything.
This command is also the fastest way to answer the opposite question: if your PC refuses to sleep when you want it to, whatever is blocking it will be listed here.
Limitations
- It does not stop the lock screen. Awake keeps the system and display on; a group policy that locks the workstation after N idle minutes is a different mechanism and Awake does not affect it. If your problem is the password prompt rather than the screen going dark, this tool will not solve it.
- It does not generate input. Presence indicators in Teams and Slack read the idle timer, which Awake does not touch. You will still go Away.
- It requires an installation. On a managed device you may not be permitted to install it at all.
- Lid close still sleeps. That is controlled separately - see running with the lid closed.
When to use something else
Awake is the right tool when you can install software and your problem is the screen or the system sleeping. If you cannot install anything, or your problem is an idle-triggered lock or an away status, you need something that produces actual input - a hardware jiggler, or a browser-based one using your phone and an optical mouse. The two approaches solve genuinely different problems, and it is worth being clear about which one you have before choosing.