It is a frustrating problem if your PC happens to wake from hibernation. Not only does this waste electricity, it can also wake you up when you sleep near your computer.
If you're having trouble keeping your Windows 10 system in sleep mode, we'll be happy to help. Let's look at why your computer turns on by itself and how you can prevent your computer from waking up without your intervention.
In the command prompt, look for wake devices
To find out why your computer turns on accidentally, you can first use some prompt commands to get an idea of what's going on.
To open a command prompt, right-click the Start button (or press Win + X.) to open the main user menu. Choose there command prompt (or Windows PowerShell;; both will work). Enter the following command:
This shows you the last device that woke your PC from sleep. if you see something like that Wake History Count – 0 As in the screenshot below, Windows doesn't show what it was. This can happen if you have just restarted your PC.
Next, you should try the following command:
powercfg –devicequery wake_armed
This shows all devices that may wake your PC from sleep. It is common for the mouse and keyboard to be listed here.
If you don't want a device to have permission to wake up your PC, use the following command to disable it and replace the text in brackets with the name of the device. Below is a more user-friendly way to do this.
powercfg -devicedisablewake (DEVICE NAME)
Check more sleep information in the event viewer
For more information on the latest sleep event, you can open the Event Viewer in Windows. Search for it in the Start menu for easy access. Once it's open, choose Windows Logs> System in the left sidebar. Click there Filter current log in the right sidebar.
Click in the filter window Event sources Field and choose Power troubleshooter. You can use the … Logged Drop down above to set a time frame if you want and then press OK.
It then displays a list of events that appear when Windows wakes up from hibernation. Select one for more information, including the exact time. Check the Wake source in the box to see what caused it. That can mean Unknown, which obviously doesn't help much. However, if there is a specific reason here, you know what to look for in the future.
Use Device Manager to disable alarms
Hopefully, using the information you got from Command Prompt and Event Viewer, you can now prevent your computer from going into sleep mode from Device Manager. Right-click the Start button to open (or press Win + X.) and choose Device manager from the list.
This utility shows all devices connected to your PC, but not all can activate your computer. You want to check those indicated by the commands above. Devices under Keyboards, Mice and other pointing devices, and Human user interfaces are the most common culprits.
Expand these lists and double-click an entry to open it properties Window. If there is more than one entry, you may need to review each one individually. Unfortunately, devices don't always include their model name, and you'll likely see multiple devices if you've connected multiple in the past.
By doing properties A window should appear for your device Energy management Tab above. Select this option and disable the option Let this device wake up the computer Box and hit OK. This prevents your mouse, keyboard, or other device from waking Windows from sleep.
Repeat this process for all devices that you also want to deactivate. While you most likely won't accidentally bump your keyboard (unless your pet activates it), the mouse is a far more common problem. A particularly sensitive mouse can wake up your computer by gently shaking your desk or the floor. Therefore, it is a good idea to prevent your mouse from waking up the PC.
Even if you disable any device's ability to wake your computer from sleep, you can still turn it on using the power button. It is up to you whether you want to activate another device for this purpose. For troubleshooting, it's best to disable everything to get started.
Stop the network wake-up calls
While browsing Device Manager, you should be aware of another common culprit: your computer may wake up from its network connection.
Most modern systems have a feature called Wake-On-LAN. This way you can turn on your computer from anywhere in the world. Which with wake-on-LAN
How to set up Wake-On-LAN on Windows 10
This can be beneficial, it can also cause it to malfunction and cause your computer to wake up accidentally.
If you are not interested in this feature, turn it off to see if your sleep problem is resolved. In Device Manager, expand the option Network adapter Section and look for your connection adapter. This function is almost always used for cable connections. So look for an entry with Ethernet connection or similar
In his properties Window, switch to Energy management Tab again. Depending on your adapter, you may have an easy one Let this device wake up the computer box– Check it if so. However, other network adapters have a list of options. In the following example, clear each of the check boxes below Wake on LAN deactivates the function.
Disable scheduled task wake timers
With the Windows Task Scheduler you can specify that routines are automatically executed on your system. While this is convenient, some tasks are set up to activate the computer so that it can run. Even if you never set up a task manually, there is a possibility that an app will activate Windows so that it can check for updates or the like.
You can search the Task Scheduler manually, but this is not necessary. If you toggle a simple option in your power plan instead, Windows will not wake you up with tasks. To access it, go to Settings> System> Power & Sleep. Click on the right side Additional energy settings to open the Control Panel for page Energy options.
Click there Change plan settings Link next to your current energy plan. Select on the resulting page Change the advanced power settings to open a new window. Finally, expand the sleep Article followed by Allow wake timer. Change this to Deactivate and hit OK. Now Windows is no longer activated for scheduled events.
For best results, you should repeat this for every energy plan. This way, there are no more problems when you switch plans.
Disable the Scheduled Maintenance feature
Windows 10 has moved so many settings into the Settings window that you probably haven't visited the Control Panel often. As it turns out, Windows 10 has a lesser known feature of Windows 8 called "Automatic Maintenance". This can activate your PC yourself. You should therefore disable it if your problem has not been resolved.
To check this, type Switchboard to the start menu to search for it and open it. If you see category Click on it in the top right and switch to Small icons.
From there, choose Security and maintenance. Extend the maintenance Section and find Automatic maintenance, then click Change the maintenance settings underneath. Make sure, that Let scheduled maintenance activate my computer at the scheduled time Box is deactivated.
Search for malware
At this point, it's worth doing an anti-malware scan to make sure your system isn't woken up by something malicious. Although all malware behaves differently, there is a possibility that your system may be activated to make phone calls home or take other measures.
You can scan using the built-in Windows Defender. For a second opinion, download the free version of Malwarebytes and run a scan with it. Hopefully you haven't hidden anything on your system, but it's worth checking to see if you still can't explain the wakeup behavior.
Prevent your computer from turning on itself
Hopefully one of these tips helped you solve the problem of your PC turning on accidentally. There are many causes for this problem, so it is often difficult to troubleshoot. If the problem persists after the above changes, you may need to go through the first steps again to diagnose which device is still waking your PC.
For more help, see Fix other issues in Windows 10 sleep mode
How to fix Windows 10 sleep mode issues