Many users have reported a weird issue that their computer automatically wakes up from sleep for no reason. This not only leads to more battery consumption but makes your computer accessible to others if it was unlocked or didn’t have a password.
Computer automatically waking up from Sleep in Windows 11/10
This problem is usually caused by third-party software products. Additionally, system settings, wake-up LANs, networking devices, and wake times can trigger the computer to wake up from sleep automatically.
- Disable wake timers
- Check up if any scheduled tasks are waking your PC
- Prevent devices from waking up your system
- Disable Wake on Magic Packet for Network Adapters
- Registry level fix
- Run the Power troubleshooter
- Uninstall third-party programs which trigger the system to wake up automatically
- Re-install Spotify.
If your computer automatically wakes up from Sleep in Windows 10, try the following solutions sequentially to resolve the problem:
1] Check up if any scheduled tasks are waking your PC
To find out which program last woke your computer, you may open CMD, type powercfg /lastwake and hit Enter. It will show you what last woke your computer.
Next, you will have to open Task Scheduler. To do so, type Task Scheduler in start search and hit Enter. Expand Task Scheduler Library.
Check here to see if any programs are scheduled to perform the task which requires your PC to be woken.
For instance, the Windows Media Center automatic update function (in earlier Windows versions) could be the culprit.
To check this, expand Microsoft > Windows > select Media Center > mcupdate_scheduled
Double click mcupdate_scheduled to open its Properties box.
Edit the trigger and from the drop-down menu, select when you want to Begin the task.
You may select it to check only at Windows startup.
2] Disable wake timers
Wake timers are in-built tools in your system which are used by Windows updates and the system’s automatic maintenance tools to wake up a sleeping system for updating Windows or performing the desired tasks.
By default, the timers are set to wake the system and perform the tasks at odd hours like 2 am since that is when most systems are idle. Usually, that’s the time when most people put their systems to sleep. To disable wake timers on your system, use the following procedure:
Search for Control Panel in the Windows search bar and click-open the option.
Select Power Options.
Click on Change plan settings next to the power plan you are using.
On the Plan settings window, select Change advanced power settings.
On the Advanced settings menu, expand Sleep (by clicking on the + symbol next to it) and then expand Allow wake timers.
Select Disabled for both On battery and Plugged in modes.
Click on Apply and then on OK to save the settings.
3] Prevent devices from waking up your system
Some devices can wake up your system. You can check which all devices are allowed to wake your system from sleep automatically through Command Prompt as follows:
Press Win+R to open the Run window and type the command cmd. Hit Enter to open the Command Prompt window.
Now type the following in the Command Prompt window and hit Enter:
powercfg -devicequery wake_armed
This command will populate the list of devices that are allowed to wake your computer from sleep.
You can prevent these devices from waking your computer automatically as follows:
Press Win+R to open the Run window and type the command devmgmt.msc. Hit Enter to open the Device Manager window.
Right-click on the first device you wish to prevent from waking up your computer.
In the Power Management tab, uncheck the box corresponding to Allow this device to wake the computer.
Click on OK to save the settings.
4] Disable Wake on Magic Packet for Network Adapters
Even though your computer might be at sleep, it would probably still be connected to the internet. If anyone pings your system, it can wake up from sleep. To change this case, you can disable Wake on Magic Packet for Network Adapters in the Device Manager. The procedure to do so is as follows:
Press Win+R to open the Run windows and type the command devmgmt.msc. Hit Enter to open the Device Manager.
Scroll down to Network Adapters and expand the list of network adapters.
Now, right-click on the Broadcom Network Adapter and select Properties.
Go to the Advanced tab and scroll to Wake on Magic Packet on the Property list.
In the Value list, select Disabled.
Hit OK to save the settings.
If Network Adapters are one of the devices which can wake your computer from sleep, remember to disable them as explained in Solution 2.
5] Registry level fix
A setting in computers disallows the systems from completely going into sleep mode if its value in the Registry Editor is set as zero. We can change it as follows:
Press Win+R to open the Run window and type the command regedit. Hit Enter to open the Registry Editor window.
In the Registry Editor window, navigate to the path:
On the right pane, locate the entry PowerdownAfterShutdown and double-click on it to open its properties.
In case you don’t find the entry PowerdownAfterShutdown, right-click anywhere on the free space in the right-pane and create a new DWORD(32-bit) entry with the same name.
Change the value of the Value Data to 1 and click on OK to save the settings.
Restart the system.
6] Run the Power Troubleshooter
The Power troubleshooter checks for problems with the power settings of the system and resolves them if possible. The procedure to run the Power Troubleshooter is as follows:
- Open Windows 11 Settings > System > Troubleshoot. Select the Power Troubleshooter and run it.
- Open Windows 10 Settings > Updates & Security > Troubleshoot. Select the Power Troubleshooter and run it.
Restart the system once the troubleshooter has done its job.
7] Uninstall third-party programs which trigger the system to wake up automatically
Many third-party programs, especially those which schedule tasks can wake up the system from sleep. You need to identify such programs in Clean Boot State and uninstall them from the Programs and Features menu.
To open the Programs and Features menu, press Win+R to open the Run window, type appwiz.cpl, and hit Enter.
8] Re-install Spotify
One of Spotify’s versions had a bug which woke up systems from sleep automatically. This has been rectified by the company. It is advisable to re-install the Spotify application rather than merely updating it.
Uninstall the Spotify application from the Programs and Features menu as explained in Solution 6 and then re-install it from Spotify’s official website.
If you have noticed any other reason or solution for the issue in the discussion other than the ones mentioned in this post, please let us know in the comments.
This post shows additional ways on how to Prevent the computer from waking up from Sleep.