Power · Windows 11
Fix a PC that will not go to sleep
A PC that will not sleep is being held awake by something specific — a device, a request from an app, or a sharing setting — and Windows can name it. Ask Windows what is holding it awake first, then fix that one thing.
What you need
- An administrator terminal. The tool that names what is blocking sleep, powercfg, needs a Command Prompt or Windows Terminal opened as administrator for its full report.
- A few minutes of the PC doing nothing. The check reads the PC's current state, so run it when the apps that are usually open are open, and nothing is being actively used.
- A note of what is plugged in. USB devices, controllers, and network activity are the usual holders. Knowing what is attached orders the checks.
Read the error before you touch it
- Know that something is asking to stay awake. Windows sleeps on a timer unless a program, a device, or a setting actively requests power. A PC that never sleeps is not being stubborn — a request is in force, and it can be listed. Guessing wastes time; listing takes a minute.
- Separate never sleeps from wakes straight back up. This guide covers a PC that will not go to sleep at all. A PC that sleeps and then wakes on its own is a wake-source problem — wake timers and devices that are allowed to wake it — with a different set of checks.
- Check the sleep timer itself first. In Settings > System > Power & battery, confirm the screen and sleep timers are actually set. A timer set to Never, often left behind by a presentation or a well-meaning tweak, looks exactly like a fault.
The simple fixes, in order
- Ask Windows what is requesting power. Open Windows Terminal or Command Prompt as administrator and run
powercfg /requests. The output lists, by category, what is currently preventing sleep — an audio stream, an app holding the display on, a system request. Microsoft documents the powercfg options in Powercfg command-line options. Whatever it names is your first fix: close or reconfigure that app, then run the command again to confirm the request is gone. - Stop media sharing from holding the PC awake. If the report points at media streaming, open the classic Control Panel > Power Options, choose Change plan settings for your plan, then Change advanced power settings, and under Multimedia settings > When sharing media choose Allow the computer to sleep. A PC set to stream media to other devices will otherwise stay awake to serve them.
- Disconnect USB devices that keep the system busy. Unplug game controllers, headsets, capture devices, and external drives, then wait for the sleep timer. Some devices hold a constant request just by being attached. Plug them back one at a time to find the holder, and check that device's own software for an always-on setting.
The advanced route: the full energy report
- Run an energy report. In the administrator terminal, run
powercfg /energy. The PC must sit idle while it observes for 60 seconds, and it writes a report naming every request, driver, and device behavior working against sleep. Work the report's errors in order — they are the same list, in more detail, as the /requests output. - Check the devices that report power faults. The energy report names drivers that fail to suspend. For each one, update the driver from the maker's site — chipset and network drivers first — restart, and run
powercfg /requestsagain to see the request list shrink. - Review wake-capable devices even for a sleep-entry fault. Run
powercfg /devicequery wake_armedto list devices allowed to wake the PC. A device that constantly asserts wake signals can also block sleep entry. In Device Manager, on the Power Management tab for a suspect device, clear Allow this device to wake the computer and test.
End state
- The PC goes to sleep on its timer, or from the Start menu power options, without being touched again.
powercfg /requestsshows no active request holding the system or display awake during normal use.- The app, device, or setting that was holding it awake is named and changed — not just worked around.
When it goes wrong
- Sleep is missing from the menus entirely. That is a driver or firmware state, not a request: install the current chipset and graphics drivers from the maker, restart, and check the power menu again.
- /requests shows nothing, but the timer never fires. Constant input can reset the idle timer — a vibrating controller, a mouse on a glass desk, a stuck key. Disconnect input devices and watch the timer again.
- It sleeps when asked, but never on the timer. The request list is the difference: something requests power only while running. Run
powercfg /requestswith your usual apps open, not on a bare desktop. - It started after connecting network storage or a printer. Devices that poll shared resources can hold requests. Disconnect them for one timer cycle to confirm, then look at their software's background settings.
Related fixes
-
Fix a PC that wakes itself from sleep in the middle of the night
A PC that wakes itself at night is almost always obeying an instruction: a wake timer, a scheduled task, or a device allowed to wake it. Ask Windows what woke it last, then switch off that one permission instead of disabling sleep altogether.
-
Fix a Wi-Fi adapter that disappears after sleep and returns after a restart
A Wi-Fi adapter that vanishes from Settings and Device Manager after sleep, then returns after a restart, is usually being powered down to save energy and not waking back up. Stop Windows from turning the adapter off first, update or roll back its driver next, and treat a full restart as the workaround, not the fix.
-
Fix an NVMe SSD that disappears after sleep or under load
An NVMe drive that vanishes after the PC sleeps, or drops out under load, is usually a power-state, firmware, or driver problem rather than a dead drive. Change the power behavior first, update the drive and chipset next, and only then treat it as failing hardware.
-
Fix a PC that will not wake from sleep or hibernation
The PC ignores the keyboard or wakes to a black screen. Check wake permissions, power settings, and the display driver, then confirm with powercfg.
Sources
- Microsoft Learn, Powercfg command-line options — the /requests, /energy, and device query commands this guide is built on.
- Microsoft Support, Shut down, sleep, or hibernate your PC — the sleep settings and power menu routes in Windows.