How to Find What Is Keeping a Windows PC from Sleeping
Windows 11; Windows 10 differences noted where they exist · Last checked · Suggest an edit
https://instructions.wiki/windows/find-what-is-keeping-a-windows-pc-from-sleeping
The PC never sleeps on its own, or it wakes minutes after you put it to sleep. Windows keeps a list of what is blocking or waking it, and two commands read it.
Open an elevated Command Prompt
Click Start, type cmd, right-click Command Prompt, and choose Run as administrator.
List active sleep blockers
powercfg /requests
Anything listed under SYSTEM, DISPLAY, or AWAYMODE is holding the PC awake: a browser tab playing audio, a download, a backup job, or a driver. Close that program or stop the playback, then run the command again until every section says None.
See what woke it last
powercfg /lastwake
This names the device or timer behind the most recent wake. A mouse, keyboard, or network adapter here means the hardware is waking the PC.
List scheduled wake timers
powercfg /waketimers
Each entry names the scheduled task and when it fires. Windows Update maintenance and some backup or updater tools set these.
Confirm the sleep timers
Go to Settings, System, Power & battery, Screen and sleep (labeled Screen, sleep, & hibernate timeouts on newer builds). Make sure the sleep timer is not set to Never for the power mode you use.
Stop a device from waking the PC
Press Windows + X, choose Device Manager, expand Network adapters or Mice and other pointing devices, double-click the device named by the lastwake command, open the Power Management tab, and untick Allow this device to wake the computer.
If wake timers keep coming back. Windows Update maintenance and some apps recreate them. To ignore all of them, open Control Panel, Power Options, Change plan settings, Change advanced power settings, expand Sleep, Allow wake timers, and set it to Disable. Tasks that need a wake will then wait until the PC is on.