How to Prevent Windows From Waking Up From Sleep

Spread the love

Sleep mode on Windows is super practical when you want all your windows and apps open the next time you turn on your system. It’s much faster to wake up from compared to hibernation and saves power at the same time. But what if you put your PC to sleep and return hours later to find it woke up from sleep automatically? This tutorial describes a few reasons your Windows 10/11 PC is waking up from sleep on its own and provides a few fixes.

Content

Experiencing battery drain instead? Try our tips to solve the battery drain issue.

1. Disable Wake Timers

A built-in functionality in Windows, these timers can be set to wake your PC up from sleep so that the system can perform an update or maintenance tasks.

These scheduled tasks are usually performed at odd hours when your system is likely to be idle or in sleep mode. If you suspect wake timers are the reason your PC is randomly waking up from sleep, disable them.

  1. Open Control Panel from the Windows search bar.

  1. Click on “Power Options.” On Windows 11, you’ll have to go to “System and Security -> Power Options.”

  1. Select “Change plan settings” beside your selected power plan under “Preferred plans.”

  1. Click on “Change advanced power settings” on the next screen.

  1. In the dialog box that opens, expand the “Sleep” option by clicking on the “+” symbol next to it.
  2. Expand “Allow wake timers” and select “Disable” to get rid of all wake timers. Click “OK” to save the settings.

Also read: How to Run a Java Program from the Command Prompt

2. Check Peripheral Devices

Peripherals like your keyboard and mouse can also be behind Windows waking up from sleep. This is especially common in the case of wireless mice that can get triggered accidentally with the slightest movement.

Though the functionality to wake up your system with your keyboard and mouse is useful (if you don’t want to keep pressing the power button), it can often cause accidental startups.

The next time your PC wakes up from sleep without your knowledge, you can find out what caused it by using the following procedure:

  1. Type “Command Prompt” in the Windows search bar and click “Run as administrator.”

  1. Type the command powercfg/lastwake and hit Enter.

  1. You will see the device or program that woke up your computer. More often than not, you will see your mouse, keyboard, or network adapter listed in the result.
  2. If you want to disable your mouse and keyboard from waking up your computer from sleep, open File Explorer and go to “This PC.”
  3. Right-click anywhere in the white space and click “Properties.”

  1. Select “Device Manager” on the left. On Windows 11, scroll all the way down to find the option or press Win + X and click on “Device Manager.”

  1. From the list of devices, expand the “Mice and other pointing devices” category or “Human Interface Devices” category, then right-click on your keyboard or mouse (as applicable) and select “Properties.”

  1. In the “Power Management” tab, uncheck “Allow this device to wake the computer.” Click “OK” to save the settings.

Tip: learn how to install unsigned drivers in Windows.

3. Adjust Network Adapters

Your network adapter, if pinged, can wake your computer even if it’s in sleep mode. To stop the device from waking up your system, start by accessing its properties in the Device Manager as shown in the previous section.

  1. Expand “Network Adapters,” right-click the entry with the manufacturer’s name (usually Realtek or Broadcom), and select “Properties.”
  2. Select the “Power Management” tab and uncheck the box for “Allow this device to wake the computer.”
  3. Switch to the Advanced tab and scroll down to “Wake on Magic Packet” in the Property menu.

  1. Select “Disabled” in the Value list on the right. Hit “OK” to save.

4. Tweak the Registry

Sometimes your PC’s registry settings can prevent it from going to sleep completely. To resolve this, access a certain property in the Registry Editor and confirm with its value set as “one.”

  1. Type “Registry Editor” in the Windows search bar and click “Run as administrator.”
  2. Locate the “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon” path.

  1. Double-click on the “PowerdownAfterShutdown” entry on the right to access its Properties.

  1. Change its value to “1” if it’s set to “0.”
  1. If you don’t find any entry named “PowerdownAfterShutdown,” create one by right-clicking anywhere in the white space on the right and selecting “New -> DWORD (32-bit) Value.”
  2. Set its value to “1” via Properties.

Tip: you can clean up your Windows registry using one of these methods.

5. Disable Windows Maintenance Schedule

Windows regularly runs update and maintenance tasks, such as checking whether your system needs defragmentation, looking for disk errors, running diagnostics, or simply installing Windows updates. These tasks can wake up your PC from sleep if the corresponding option is turned on.

If you don’t want Windows running these maintenance tasks automatically (you should still run them yourself now and then), follow the steps below:

  1. Open Control Panel and select “Security and Maintenance.” Windows 11 users should go to “System and Security -> Security and Maintenance.”

  1. Expand “Maintenance” and select “Change maintenance settings.”

  1. On the next screen, uncheck the box next to “Allow scheduled maintenance to wake up my computer at the scheduled time.” You can also choose a more suitable time to run automatic maintenance, such as during the day when you’re using your system.

6. Disable Automatic Restart

Automatic restart reboots your system in case of a system crash or failure. This is not an issue when it happens during regular usage. But in sleep mode, this will reboot your system and wake up your display. To avoid this, disable the option:

  1. Open Control Panel and select “System.”

  1. Click on “Advanced system settings.” On Windows 11, select “System & Security -> System -> Advanced system settings.”

  1. This will open the “System Properties” window. Click on “Settings” under “Startup and Recovery.”

  1. Uncheck the box next to “Automatically restart” and select “OK.”

7. Install Latest Spotify Version

One of the older versions of Spotify used to wake up Windows from sleep automatically. Though it was fixed in later versions, your system could still be running on the faulty version.

It’s advisable to remove the previous version and install the latest one from Spotify’s official website.

Image source:
Unsplash

Trying out these fixes can help you narrow down the reason your PC may be waking up automatically. If your system isn’t booting at all, check out our guide on what to do if Windows fails to start.

Also read: Spotify Web Player Not Working? Here Are the Fixes

Frequently Asked Questions

What is Hybrid Sleep?

Hybrid Sleep is a sleep state that combines “Hibernate” and “Sleep.” Hybrid Sleep saves all your open applications to the disk – like hibernate – but also goes into a low-power state like the sleep state. The option is not available on every PC, but if your Windows 10/11 system supports it, you should be able to find it under “Power options -> Change when the computer sleeps -> Change advanced power settings.”

How often should I shut down my PC?

While putting your PC to sleep is convenient, turning it off once a week is advisable. This returns your processor and RAM to their bootup state and can increase the system’s performance.

Is it safe to turn off automatic Windows updates?

Turning off automatic Windows updates prevents your system from waking up at odd hours. As long as you’re manually downloading and installing the most critical system updates once in a while, turning off automatic updates is perfectly safe.

Image credit: Nakul via Unsplash. All screenshots by Tanveer Singh.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.
By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time. Subscribe


Tanveer Singh

After a 7-year corporate stint, Tanveer found his love for writing and tech too much to resist. An MBA in Marketing and the owner of a PC building business, he writes on PC hardware, technology, video games, and Windows. When not scouring the web for ideas, he can be found building PCs, watching anime, or playing Smash Karts on his RTX 3080 (sigh).

Comments are closed