Have you ever put your computer to sleep before going to bed, only to wake up to it humming and running on its own? Watching your PC light up unexpectedly in a dark, quiet room can be frustrating. Why does your computer wake up when you never touched it?
Quick Summary
- Run ‘powercfg -lastwake’ in Command Prompt to find what just woke your PC.
- Disable “Allow wake timers” under Control Panel Power Options.
- Uncheck “Allow this device to wake the computer” in Network Adapter properties via Device Manager.
- If using Wake-on-LAN (WOL), make sure to check “Only allow a magic packet to wake the computer.”
What Is Waking Up Your Computer?

Windows Sleep mode stores your open tasks in memory while keeping power draw to an absolute minimum. However, the system is designed to wake back up whenever it receives specific triggers.
It is similar to setting no alarm, yet someone knocks on your door and wakes you. Running a few commands in an elevated Command Prompt (CMD) reveals immediately which device or program woke your PC.
| Command | What It Shows |
|---|---|
powercfg -lastwake | The specific reason your computer just woke from sleep |
powercfg -devicequery wake_armed | Hardware devices currently permitted to wake the system |
powercfg -waketimers | Active wake timers currently scheduled on your system |
Disable Wake Timers in Power Options

The most common culprit is Windows automatic maintenance or scheduled background update tasks. Disabling wake timer permissions in Power Options prevents background tasks from triggering automatic wakeups.
Press Win + R on your keyboard, type powercfg.cpl, and open Power Options. Click [Change plan settings] next to your active power plan, then click [Change advanced power settings].
Expand the [Sleep] category, locate [Allow wake timers], and switch both ‘On battery’ and ‘Plugged in’ to [Disable]. Note that on some modern laptops that use Modern Standby, this menu option may not appear.
Related Reading
Does Windows Freeze in Sleep Mode? How to Turn Off Fast Startup
Sleep Mode vs. Shutdown: Electricity Cost and Hardware Lifespan Differences
Revoke Wake Permissions for Network Adapters and Mice

Network activity or slight vibrations detected by your mouse sensor can also wake your PC. Standard network packets flowing through your router can cause the network adapter to wake the entire machine.
Right-click the Start button and open [Device Manager]. Under [Network adapters], double-click your active Ethernet or Wi-Fi adapter and switch to the [Power Management] tab.
Uncheck [Allow this device to wake the computer]. If you rely on Wake-on-LAN (WOL), keep it checked, but make sure to enable [Only allow a magic packet to wake the computer] directly below it to prevent standard traffic from waking your system. If desk movement triggers your PC, disable the wake permission under [Mice and other pointing devices] as well.
Check Scheduled Tasks in Task Scheduler

Certain programs register scheduled tasks configured to wake the computer automatically. Type ‘Task Scheduler’ into the Windows search box and launch it.
Open the properties of any suspicious scheduled task and check the [Conditions] tab. If [Wake the computer to run this task] is checked, turn it off.
Additionally, some users have noted that third-party security software (such as financial security modules like AnySign4PC) can wake systems during background checks, though Microsoft does not document this as a standard cause. If unexpected wake events persist, check active background processes alongside Task Scheduler.
Press Win + R, run powercfg.cpl, and disable unnecessary wake timers now.
Related Articles
- How to Keep an External Monitor On When Laptop Lid is Closed
- How to Enable Windows God Mode in 10 Seconds
- Slow PC Startup? How to Disable Windows Startup Programs
- Does Windows Night Light Actually Reduce Eye Strain?
