Last updated: December 2, 2026

A PC that will not sleep, or wakes at 3 AM, always has a reason.
Windows keeps a record of what woke it and what is stopping it from sleeping. You only need to ask. Microsoft's powercfg tool answers both questions in a few commands, and it also lists the devices allowed to wake the machine so you can turn off the one that should not be. This guide walks through the commands in the order that finds the cause fastest. Every command and its meaning comes from Microsoft's powercfg documentation.
This is part 1 of a short series on Windows 11 power, startup and disk space. For what sleep, hibernate and fast startup each save, read Hibernate vs Fast Startup vs Sleep in Windows 11 first. If hibernation is eating disk space, see how to disable hibernation and reclaim space.
Start by Checking That Sleep Is Available
powercfg /a to see which sleep states your PC supports. Run powercfg /lastwake to see what woke it last. Run powercfg /requests to see what is blocking sleep right now. Run powercfg /waketimers and powercfg /devicequery wake_armed to see what is allowed to wake it.Right-click the Start button and choose Terminal (Admin). Several of these commands read system-wide power data, and running them from an elevated window avoids access errors.
powercfg /a
The /a option, short for /availablesleepstates, lists the sleep states the system supports. If a state is missing, Microsoft's documentation says the command tries to report why it is unavailable. That reason is often the whole answer, for example a firmware setting, or a feature switched off on purpose.
Find What Woke the PC
powercfg /lastwake
This reports what woke the system from the last sleep transition. Run it right after an unwanted wake, before you put the PC to sleep again, so the answer is the one you care about. Read the wake source it names, then check the devices and timers below.
Find What Is Keeping It Awake
powercfg /requests
This lists the application and driver power requests. The Microsoft documentation describes them as requests that prevent the computer from automatically turning off the display or entering a low-power sleep mode. Any program or driver that has set a request appears in the list, with its name. Those are the ones keeping the PC awake.
If one entry keeps the PC awake and you do not need it to, you can override it:
powercfg /requestsoverride process wmplayer.exe display system
The format is caller type, name, then the request types to ignore. The caller type is process, service or driver, and the name is exactly what /requests printed. Use this sparingly. Closing or fixing the program is cleaner than overriding it.
Check Timers and Devices Allowed to Wake the PC
Two lists matter here.
powercfg /waketimers
This enumerates the active wake timers. The documentation notes that when enabled, the expiry of a wake timer wakes the system from sleep and hibernate.
powercfg /devicequery wake_armed
This lists the devices currently configured to wake the system from any sleep state. A mouse, a keyboard or a network adapter on this list can wake the PC when it is bumped or when traffic arrives. To see every device that could be configured to wake it, use wake_programmable instead of wake_armed.
To stop a device from waking the PC, use the exact name the query printed:
powercfg /devicedisablewake "Device name here"
To allow a device again, use powercfg /deviceenableawake with the same name. The name must come from /devicequery, because a typo will not match.
A Sensible Order for Troubleshooting
- Run
powercfg /a. Confirm sleep is supported and read any reason it is not. - If the PC wakes by itself, run
powercfg /lastwakestraight after the wake. - If it never sleeps, run
powercfg /requestsand look at the names it lists. - Run
powercfg /waketimersand look for a task that sets a timer. - Run
powercfg /devicequery wake_armedand disable any device you do not want waking the PC. - Put the PC to sleep and test again. Repeat step 2 if it still wakes.
Check Before You Call It Done
powercfg /ashows the sleep state you expect.powercfg /requestslists nothing you did not expect when the PC is idle.powercfg /lastwakeno longer names a device or timer you did not intend.powercfg /devicequery wake_armedlists only the devices you want.- The PC stays asleep overnight.
Next in the Series
- Windows 11 won't sleep or wakes by itself (this guide)
- Battery health with the powercfg battery and energy reports
- Startup apps and boot time
- Free up disk space: hiberfil.sys, Storage Sense and cleanup
We'd love to hear your thoughts! Leave a comment below
and share your experience or questions.