How-to

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…

Rahul Vithala · 3 min read
Windows 11 logo

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 -lastwake shows what last woke the PC.
  • powercfg -waketimers shows tasks scheduled to wake it.
  • powercfg -devicequery wake_armed lists every device allowed to wake it.

Microsoft documents these options in its powercfg reference.

Why your PC wakes up from sleep by itself and how to stop it

2. Stop the Mouse From Waking the PC

Gaming mice are sensitive enough that a bump on the desk can wake Windows, Engadget notes.

  1. Press Windows + X and choose Device Manager.
  2. Expand Mice and other pointing devices, right-click your mouse and choose Properties.
  3. 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

  1. In Device Manager, expand Network adapters.
  2. Open your Ethernet or Wi-Fi adapter’s Properties > Power Management.
  3. 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

  1. Search Start for Edit power plan and open it.
  2. Click Change advanced power settings.
  3. Go to Sleep > Allow wake timers.
  4. 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.

Keep reading

More in How-to

View all →
Written byRahul Vithala
Rahul Vithala is the founder and editor-in-chief of TheTechHacker. He left his corporate job to write about technology full time, and today covers laptops, phones, US carrier plans, smart home gear and video editing software. He also edits the guides published on the site.

Comments

Leave a comment

The Thetechhacker letter

The week in tech, minus the noise.

New reviews, fixes and the stories that matter — once a week, straight to your inbox.