Windows

5 Reliable Ways to Stop a Windows PC from Randomly Waking Up from Sleep

Learn how to fix a Windows PC that wakes itself from sleep by checking wake timers, device settings, power options, scheduled tasks, and BIOS/UEFI settings.

Kevin Martin
Kevin Martin
Tech Contributor  •  Sep 21, 2026  •  5 min read

If your Windows PC keeps waking up from sleep by itself, the cause is usually a power setting, a device with wake permission, or a scheduled task. The good news is that this problem is often fixable without replacing hardware.

The steps below move from the most likely and easiest checks to the more advanced ones, so you can narrow down what is waking the computer and stop it from happening again.

5 Reliable Ways to Stop a Windows PC from Randomly Waking Up from Sleep

1. Find Out What Woke the PC

Before changing settings, it helps to identify the source of the wake event. Windows can often tell you whether the PC was woken by a mouse, keyboard, network adapter, or a timer.

  1. Open Start, type Command Prompt, and run it as administrator.
  2. Type powercfg /lastwake and press Enter.
  3. Look at the result to see the most recent wake source.
  4. If needed, type powercfg /waketimers and press Enter to check for scheduled wake timers.
Why It Matters If you know what is waking the system, you can fix the exact cause instead of disabling unrelated settings.
Note Sometimes Windows reports a device only broadly, such as a USB input device or network adapter, which is still enough to guide your next step.

2. Stop Devices from Waking the Computer

A mouse bump, keyboard input, touchpad movement, or network activity can wake a PC if the device is allowed to do so.

  1. Open Device Manager.
  2. Expand Keyboards, Mice and other pointing devices, and Network adapters.
  3. Right-click a device that may be causing the wake and choose Properties.
  4. Open the Power Management tab.
  5. Uncheck Allow this device to wake the computer.
  6. Repeat for other likely devices if necessary.
Key Fact Network adapters can wake a PC for features like Wake-on-LAN, which is useful in some setups but often unnecessary on a home desktop or laptop.
Quick Tip If you use a wireless mouse or keyboard, test the system with those devices unplugged or powered off to see whether the random wake-ups stop.

3. Turn Off Wake Timers

Wake timers let Windows and some apps wake the PC for updates, maintenance, or scheduled jobs. If a timer is misconfigured, it can wake the machine when you do not want it to.

  1. Open Control Panel and go to Power Options.
  2. Next to your active power plan, click Change plan settings.
  3. Select Change advanced power settings.
  4. Expand Sleep, then expand Allow wake timers.
  5. Set both On battery and Plugged in to Disable, if available.
  6. Click Apply, then OK.
Warning Disabling wake timers can prevent some scheduled maintenance tasks from waking the PC automatically, so re-enable them later if you rely on that behavior.
Best For Users who see wake events caused by timers, update tasks, or maintenance rather than by a specific keyboard, mouse, or network device.

4. Check Scheduled Tasks and Automatic Maintenance

Some scheduled tasks are allowed to wake the PC, especially update-related tasks, backup software, and maintenance jobs. This is common if the computer wakes at about the same time every day.

  1. Open Task Scheduler.
  2. Browse to tasks related to update tools, backup software, or vendor utilities.
  3. Open a task’s Properties and check the Conditions tab.
  4. Look for the option to wake the computer to run this task.
  5. Clear that option if the task does not need to wake the PC.

You should also review Windows maintenance settings, especially if the wake-up happens overnight.

  1. Open Control Panel and search for Security and Maintenance.
  2. Expand Maintenance.
  3. Check the automatic maintenance settings.
  4. If needed, change the maintenance time so it does not interrupt sleep.
Note Third-party antivirus, backup, RGB control, and hardware utility software can also schedule wake events, so check any apps installed by your PC manufacturer.

5. Review BIOS/UEFI and Advanced Power Settings

If Windows settings do not solve the problem, the wake source may be in BIOS/UEFI or in an advanced power feature such as Wake on LAN, USB wake, or PCIe wake support.

  1. Enter your BIOS/UEFI setup during startup.
  2. Look for power-related settings such as Wake on LAN, USB wake support, RTC alarm, or power-on by keyboard/mouse.
  3. Disable any setting you do not need.
  4. Save changes and test sleep again.

You can also check advanced Windows sleep options in Power Options, especially if your system uses hybrid sleep, modern standby, or vendor-specific power profiles.

Warning Be careful when changing BIOS/UEFI settings. If you are unsure what a feature does, change one setting at a time so you can reverse it if needed.

How to Narrow Down the Cause Quickly

Why It Matters Random wake-ups are often a clue, not a mystery. The timing and trigger pattern usually point to whether you need to adjust device settings, scheduling, or firmware options.

When to Suspect Hardware or a Deeper Problem

If you have already disabled wake timers, blocked wake-capable devices, and checked scheduled tasks, the issue may be related to firmware, a dock, a USB hub, or a peripheral sending unwanted signals. In some cases, a buggy driver can also keep waking the PC.

Note A device driver update can help, but it is usually better to identify the specific device first rather than updating everything at random.

What Fix Should You Try First?

Start with powercfg /lastwake and powercfg /waketimers, because those commands can tell you whether the wake event came from a device or a timer. From there, disable wake permission on the likely device, then move on to wake timers and scheduled tasks if needed. If the problem still continues, check BIOS/UEFI power settings and external hardware.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows