Quick summary
- Three administrator commands answer nearly every question here, and none of them involves changing a setting first.
- A scheduled task that books a wake-up still runs normally once you take that permission away.
- Many newer laptops never suspend properly, which is why one stray application can drain a battery overnight.
Short answer: Windows records the answer, so read it before changing any setting. powercfg /lastwake names what pulled the machine out of sleep, powercfg /requests names whatever is refusing to let it go, and powercfg /waketimers lists the wake-ups already booked. On a newer laptop, check whether real suspend exists at all.
Last checked: December 2026. Current version: Windows 11 26H2.
Ask Windows what woke it
A machine that will not stay asleep is not a mystery to Windows. It records what pulled it out of sleep, and one command reads that record back to you.
Press Win + X, choose Terminal (Admin), and run:
powercfg /lastwake— names whatever brought it back the last time.powercfg /requests— lists anything currently refusing to let it go to sleep.powercfg /waketimers— shows scheduled wake-ups that are already set.
Run them in that order and most of the guesswork disappears. The output of the first is usually a device name, a power button, or a wake timer, and each of those three leads somewhere different.
All three need the administrator terminal. Run them in an ordinary one and they report nothing, which looks exactly like a clean result.
What is holding it awake right now
If the machine never sleeps in the first place, powercfg /requests is the whole diagnosis. It prints several categories, and the two worth reading are DISPLAY and SYSTEM.
An entry under DISPLAY keeps the screen on. Video playback is the honest version of this; a browser tab that still thinks it is playing something is the usual dishonest one. An entry under SYSTEM blocks sleep entirely, and that is where game launchers, backup agents and sync clients tend to appear.
The output names the executable responsible, which is often enough on its own. A request from an audio driver that persists with no sound playing usually clears after closing the browser, and if it does not, the application that opened the stream never released it.
What you should not do is reach for a tool that forces sleep anyway. Something asked for the machine to stay awake, and overriding the request without knowing which one tends to produce interrupted downloads and half-finished backups.
Which devices are allowed to wake it
Clicking through every device in Device Manager to find the one with wake permission is slow. This lists them all at once:
powercfg -devicequery wake_armed
Expect a short list: the keyboard, the mouse, usually the network adapter. If something unexpected is on it, you can remove its permission by name without opening Device Manager at all, using powercfg -devicedisablewake "Device Name" exactly as the list spells it.

Network adapters deserve a second look. A wired one that answers a magic packet will wake the machine from anywhere on the network, which is a feature when you set it up deliberately and a nuisance when a router or a NAS does it on a schedule you never saw.
Input devices are the other common answer, and the fix depends on the device rather than on Windows. A mouse that reports phantom movement is covered in a wireless mouse that is not working, and a hub or dock that announces itself repeatedly belongs with a USB device Windows does not recognise.
Timers you never set
If powercfg /waketimers returns entries, something has booked the machine to wake up, and almost always it is Windows itself.
Automatic Maintenance runs updates, scans and defragmentation at a fixed hour and is permitted to wake the computer to do it. Open Control Panel → Security and Maintenance → Maintenance → Change maintenance settings, and either move the hour to one you are awake for or clear the permission to wake.
Scheduled tasks can each hold the same permission. In Task Scheduler, open the task named in the waketimers output, go to the Conditions tab, and clear Wake the computer to run this task. Backup software and vendor updaters set this on install without saying so.
Clearing the permission does not cancel the work. The task still runs, just at the next moment the machine is already on, which for maintenance is almost always what you wanted; our safe PC maintenance routine covers what is worth running and when.
Modern standby is not the sleep you remember
This is the part that explains a laptop which is warm in the bag and flat by evening. Run:
powercfg /a
If it reports Standby (S0 Low Power Idle) and tells you S3 is unsupported, the machine never truly suspends. It stays in a low-power state where network and background work continue, which is how it can receive mail while closed, and also how a single misbehaving application keeps it running all night.
On those machines powercfg /sleepstudy writes a report listing every session, how long it spent in low power, and what interrupted it. It is the most useful file on the subject and almost nobody knows it exists.
Older machines that do offer S3 have the opposite problem: they sleep properly, so anything that was downloading stops. Neither behaviour is a fault, but they are not interchangeable, and advice written for one is wrong for the other.
Troubleshooting
It sleeps, then wakes within seconds, every time. Check powercfg /lastwake immediately after it happens. A device that reports movement as it powers down will do this forever, and the device is the fault rather than the power settings.
Nothing appears in requests or waketimers, and it still will not sleep. Look at what is running first. A background process at sustained load keeps the machine busy, and high CPU usage on Windows 11 covers which process names those are.
It only misbehaves after a restart, not after a shutdown. That is Fast Startup carrying a broken state across, and Bluetooth missing on Windows 11 explains how to force a genuine full boot to rule it out.
The battery is empty every morning. Measure before changing anything. The sleepstudy report shows what the machine did overnight, and a laptop battery that will not charge covers reading the battery’s own health report.
Sleep is missing from the power menu entirely. Run powercfg /a. If every standby state is listed as unavailable, it is usually a graphics driver that did not install cleanly rather than a hardware limit.
FAQ
Is sleep or shutdown better for the machine? Neither harms it. Sleep costs a little power and returns instantly; shutdown costs nothing and does not.
Should I use hibernate instead? It survives a flat battery because the state is written to disk, at the cost of several gigabytes of space — freeing up disk space on Windows 11 covers reclaiming that file if you never use it.
Why does it wake when I open the lid even with sleep disabled? Lid-open is handled by firmware, below Windows, so the power settings have no say in it.
Do third-party “keep awake” or “force sleep” utilities help? They work by issuing the same requests you just read, which means they mask the original cause rather than removing it.
Can I stop it waking without losing Wake-on-LAN? Yes. Remove wake permission from everything except the network adapter and the machine stays reachable while ignoring stray input.
Featured image: Photo: liewcf / Wikimedia Commons, CC BY-SA 2.0, title text added by AppInstall.info