How to Stop Your PC Waking Up From Sleep by Itself (Windows 11)
You put your Windows PC to sleep, and an hour later it’s awake again with the fans running. It isn’t random. Something is allowed to wake it: a sensitive mouse, a network adapter, a scheduled task or a Windows update. Windows can tell you exactly what it was. Now in this article, I will show…

PC Wakes Up From Sleep
You put your Windows PC to sleep, and an hour later it’s awake again with the fans running. It isn’t random. Something is allowed to wake it: a sensitive mouse, a network adapter, a scheduled task or a Windows update. Windows can tell you exactly what it was.
Now in this article, I will show how to find out why your PC wakes up from sleep by itself and how to stop it in Windows 11.
Quick answer: Open Terminal as administrator and run powercfg -lastwake to see what woke your PC. The usual fixes: in Device Manager, uncheck Allow this device to wake the computer for your mouse; on your network adapter, turn on Only allow a magic packet to wake the computer; turn off Allow scheduled maintenance to wake up my computer; and set Allow wake timers to Important Wake Timers Only in power settings.
Getting Started
Right-click the Start button and choose Terminal (Admin). You’ll use three commands to find the cause before you change anything.
1. Find What Woke Your PC
powercfg -lastwakeshows what last woke the PC.powercfg -waketimersshows tasks scheduled to wake it.powercfg -devicequery wake_armedlists every device allowed to wake it.
Microsoft documents these options in its powercfg reference.

2. Stop the Mouse From Waking the PC
Gaming mice are sensitive enough that a bump on the desk can wake Windows, Engadget notes.
- Press Windows + X and choose Device Manager.
- Expand Mice and other pointing devices, right-click your mouse and choose Properties.
- On the Power Management tab, uncheck Allow this device to wake the computer.
Keep the keyboard able to wake the PC, or use the power button.
3. Limit Wake-on-LAN
- In Device Manager, expand Network adapters.
- Open your Ethernet or Wi-Fi adapter’s Properties > Power Management.
- Check Only allow a magic packet to wake the computer, or uncheck wake entirely if you never use remote wake.
4. Stop Scheduled Maintenance Wakeups
Search Start for Automatic Maintenance, open it, and uncheck Allow scheduled maintenance to wake up my computer at the scheduled time. Or set a time when the PC is usually on.
5. Turn Off Wake Timers
- Search Start for Edit power plan and open it.
- Click Change advanced power settings.
- Go to Sleep > Allow wake timers.
- Choose Important Wake Timers Only or Disable.
“Important” still allows restarts after Windows updates install. Disable stops those too.
6. Check Apps and Task Scheduler
If powercfg -waketimers lists an app, such as a backup tool, change that app’s schedule. In Task Scheduler, open a task’s Conditions tab and uncheck Wake the computer to run this task.
7. Set a Sleep Timer
Go to Settings > System > Power & battery > Screen, sleep & hibernate timeouts so the PC goes back to sleep after a legitimate wake.
Also see whether your GPU driver is wearing out your SSD, how to fix a Wi-Fi driver blue screen and how to pause Windows 11 26H2. Microsoft’s Windows support site has more power troubleshooting.
That’s all for now. Please do share your views and feedback in the comment box below.
FAQs
Why does my PC wake up from sleep by itself?
Usually a mouse, network adapter, wake timer or scheduled maintenance. Run powercfg -lastwake to see which.
How do I stop my mouse from waking my PC?
In Device Manager, open the mouse’s Power Management tab and uncheck Allow this device to wake the computer.
Should I disable wake timers?
Choose Important Wake Timers Only first. Disabling them also stops update restarts.
Why does my PC wake up right after I put it to sleep?
Often a sensitive mouse or a network adapter. Check powercfg -devicequery wake_armed.
Featured image: Windows 11 logo, Wikimedia Commons (public domain).
Disclosure: TheTechHacker has no paid relationship with Microsoft.
More in How-to

How To Charge Your Phone In Sleep Mode With The Laptop Lid Closed
Powering the devices is always a difficult task, thus we fitting power sockets over and over in all of our rooms. The smartphones are the largest drinkers of the power. The modern day devices even can’t hold their battery for one day and it makes a situation of charging the device every day and we must…

How to Fix an External Hard Drive or SSD Not Showing Up on Windows 11 or Mac
External drive not detected on Windows 11 or your Mac? Here’s how I work through it, from cables and Disk Management to Disk Utility First Aid, and when to stop and call a data recovery service.

How To Charge Your Smartphone While Your Computer is in Sleep Mode
It is a myth that the computer totally sleeps after closing the laptop lid. But technically when the laptop lid is closed the USB ports go into sleep mode. But with a simple tweak you can disable the sleep mode of the USB ports while the computer in sleeping mode. Sounds interesting? Yes, this simple…
The week in tech, minus the noise.
New reviews, fixes and the stories that matter — once a week, straight to your inbox.
We only use your email to send the newsletter. Unsubscribe any time. See our privacy policy.

Comments