How to Stop Windows 11 From Waking Up by Itself

Tutorial graphic of a laptop with a command prompt and a power settings window, with four steps for finding and stopping wake-ups

If Windows 11 wakes up by itself, the cause is usually a keyboard, a mouse, a network adapter, a scheduled task or a wake timer. The first goal is to find the wake source. Do not disable every device at once. You may lose a useful way to wake the PC, and you will not learn what caused the problem. Each step says what you should see.

This guide is for a PC that wakes when you did not ask it to. If the PC will not wake at all, read PC won't wake from sleep instead. If the PC will not go to sleep at all, read Windows 11 PC won't go to sleep instead. If the picture stays black after waking, see Windows 11 black screen after sleep. If the PC turns itself on after you chose Shut down, see Windows 11 restarts instead of shutting down.

Step-by-step: when Windows 11 wakes up by itself

Step 1: Check what woke the PC last

Open Terminal (Admin) (right-click Start and choose it) and run:

powercfg /lastwake

The result may name a device or a wake source. If it does not show a clear answer, run:

powercfg /devicequery wake_armed

This lists the devices that are allowed to wake the PC. You can also run powercfg /a to see which sleep states your PC supports.

You should see: a line such as "Wake History Count - 1" and a wake source type, for example a device name or a timer. If the answer is empty, the wake may come from a source the command cannot name. Use Step 4 and the Event Viewer check below. Microsoft documents these switches in its powercfg command-line options page.

Check the log too: press Windows + R, type eventvwr and open Windows Logs > System. Look for a Power-Troubleshooter event (ID 1) with the text "The system has resumed from sleep". It shows the time and a Wake Source line.

Step 2: Stop an unnecessary mouse or keyboard wake-up

Open Device Manager and expand Mice and other pointing devices or Keyboards. Open the device's Properties and look for a Power Management tab. If it is there, clear Allow this device to wake the computer for a device that does not need it. Keep at least one wake method, such as the keyboard, so you can wake the PC yourself.

You can also turn off wake for one device from the command line. Use the exact device name from the wake_armed list:

powercfg /devicedisablewake "Name of the device"

To undo it, run powercfg /deviceenablewake "Name of the device".

You should see: the device no longer listed when you run powercfg /devicequery wake_armed again. A mouse that is knocked, or a desk that vibrates, can sometimes cause a PC to wake at odd times.

Step 3: Check the network adapter

Network activity can wake some PCs. In Device Manager, open the network adapter's Properties. Look under Power Management or Advanced for wake-on-LAN settings, such as Wake on Magic Packet and Wake on pattern match. Disable the wake options you do not use, then test sleep again. Keep a note of what you changed. Do not change network settings on a work PC that your employer manages. If you need this PC to stay reachable for remote access, see Windows 11 Remote Desktop not working before you turn wake options off.

Step 4: Check wake timers

In Terminal (Admin), run:

powercfg /waketimers

If a timer is listed, note the program or service. Then open Control Panel > Power Options > Change plan settings > Change advanced power settings > Sleep > Allow wake timers. Set the option to Disable for the power mode that applies. You can also choose Important Wake Timers Only to keep the important ones. Click OK and test again.

You should see: "There are no active wake timers" the next time you run the command, or the same timer no longer waking the PC. With "Important Wake Timers Only", Windows may still wake the PC for important maintenance.

Step 5: Review scheduled tasks only when a timer points there

Open Task Scheduler and inspect the named task's Conditions tab for "Wake the computer to run this task." Do not disable Windows maintenance tasks at random. First confirm that the same task appears in the wake-timer result. If the task belongs to a program you installed, check that program's own settings first, such as an update or backup schedule.

Step 6: Check updates and drivers

An old driver can send false wake signals. Install any newer, stable driver from the PC maker (see how to update drivers in Windows 11 safely). Also install Windows updates (see fix Windows Update stuck or failing). If USB devices stop working after the PC wakes, see Windows 11 USB ports stop working after sleep.

Step 7: Check for overnight battery loss

An unexpected wake-up can drain a laptop battery while it is in a bag or on a desk. A laptop that wakes in a bag can also get hot. Use Shut down instead of Sleep until you find the cause. Then follow the overnight battery-drain guide.

If the problem began after an update or driver change

Install any newer, stable driver from the PC maker first. If the issue persists and you know when it started, back up your files (see how to back up your Windows PC). Then consider System Restore or removing the update. This is safer than changing many unrelated settings.

More help

For more fixes, browse the PC Repair Atlas homepage.

FAQ

Can Windows Update wake my PC? A wake timer or maintenance task can wake a PC in some setups. The command powercfg /waketimers is the quickest way to check for an active timer.

Why does my laptop wake inside a bag? A device, a timer or a network setting may be waking it. Use Shut down instead of Sleep until you find the cause, especially if heat builds up.

Is Hibernate better than Sleep? Hibernate uses less battery. It saves the session to storage and powers down more fully, but it takes longer to resume.