One frustrating issue many laptop users face is Windows waking up unexpectedly from sleep and draining the battery. Fortunately, you can take control of wake timers, scheduled maintenance, and related settings to prevent this behavior. This guide walks you through the process step by step.
First, you need to confirm what is currently set to wake up your PC. Open a command prompt with administrator privileges and run:
powercfg.exe -waketimersIf any scheduled tasks or timers are listed, they are likely the reason your PC wakes up on its own.
You can disable wake timers entirely through the Control Panel:
- Press
Win + R, typepowercfg.cpl, and press Enter. - Select Change plan settings for your active power plan.
- Click Change advanced power settings.
- Expand Sleep → Allow wake timers.
- Set it to Disable for both On battery and Plugged in.
Windows performs scheduled maintenance tasks that can wake up your machine. To disable this:
- Open the Control Panel and go to:
System and Security → Security and Maintenance → Automatic Maintenance - Uncheck Allow scheduled maintenance to wake up my computer at the scheduled time.
For extra certainty, you can disable Windows Automatic Maintenance through the registry:
Open an elevated command prompt and run:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" /v MaintenanceDisabled /t REG_DWORD /reg:64 /f /d 1
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" /v WakeUp /t REG_DWORD /reg:64 /f /d 0This ensures Windows will not attempt to wake up the system for background maintenance.
Finally, run the wake timers check again to confirm that nothing remains:
powercfg -waketimersIf the command returns nothing, your system should now stay asleep as expected.
By disabling wake timers and scheduled maintenance, you can stop Windows from waking up your device without your permission. This will help preserve your battery and ensure your laptop only wakes when you want it to.