Help My Windows Won’t Stay Asleep:
Let face it.
I don’t know about you but I find it most annoying when my PC won’t stay asleep and even with Windows 10 it still can have a problems staying asleep. Urgg!
Users have been troubled by PC sleep problems for the past few decades, and we are left wondering why my Windows 10 won’t stay Asleep.
You would think that by now when you have AI’s, VR’s, and other advancements in computer technology that such problems would be a thing of the past but no!
Considering the automatic updates that hardware and software makers avail to their users worldwide, Windows 10 users are still frustrated by their PCs.
The problem presents itself when we have set your PCs to sleep after a set amount of time (like 30 minutes to hours). This has been done by right-clicking on the Windows icon (known as the start menu which I will be using in the steps below) in the lower left corner of your screen. On the pop-up select “power options” and then set your “Screen and Sleep” times.
Now at the set time period, the computer shuts down, your monitor goes to sleep and the fan has stopped running. Were good to go right? Nope, minutes or hours later something has triggered the PC to awaken, again Urgg! And as a result, the fan starts whining, your monitor comes alive and wakes you up just when you had finally fallen asleep!
Now you’re up and putting your PC to sleep manually by “right-clicking” on the windows icon and selecting “Shutdown or Sign out >Sleep”.
After several attempts at doing this, you most likely end up shutting the da.. thing down which of course is not what you want to do. Now your left with having to go through the time of booting it up the next day instead of a simple wake up.
I went through this time and time again and finally decided enough was enough and started researching the problem. I finally now have a PC that goes to sleep and stays asleep,
So Today, I want to share with you a look at why Windows 10 won’t stay asleep and the various steps and solutions one can take to ensure the problem is resolved.
What Can Wake Windows 10 PCs?
According to the experts I rely on, what keeps your computer awake may be related to the following.
- Hardware – culprits include Network adapter, USB device or another device that is outdated.
- Scheduled task or service – culprit maybe a scheduled update for example driver or Windows update.
- An accidental swipe of the keyboard or mouse (cat’s love to play with your mouse and keyboard ?)
How To Locate What Keeps Your PC From Staying Asleep:
To determine the main problem that is plaguing your computer, we are going to start by setting your PC to stay awake for the next several hours by (“right -clicking start icon>power options>Never”). I do this so I don’t have to be around when the computer wakes again because if it’s set to sleep it could wake and go back to sleep again before I’m aware of it waking. When your done finding and repairing your PC or Laptop remember to go back and change the Sleep time setting.
You don’t need to this, I just hate sitting around waiting for something, so if your device wakes in a short time frame, don’t bother with this.
Once you are aware of it waking we can get down to finding the problem. The first thing we are going to do is open up the Comand Prompt (CMD) which is now called the “PowerShell” by right-clicking “start>Windows PowerShell (Admin)” You will want to make sure you select the “Admin” or you won’t get permission to this.
You will then be presented with a screen featuring the “DOS interface”. For those who are not familiar with the DOS interface, this is where you can enter DOS commands to the computer. The command prompt window will have a Blue background while the text will be in white.
How to determine what is waking up your PC or Laptop:
We will be Using the Administrator Command Prompt which is now the PowerShell Admin due to the latest update of Windows10 to do our research in finding the cause of your PC or Laptop waking up when it is not supposed to.
To open up the Command Prompt right-click on the Windows 10 Start Button (located in the lower-left corner of your screen) on the next pop-up window select “PowerShell Admin” This will now open the Command Prompt Screen which will have a blue background with white lettering.
This is where you will enter the Command lines at the right after the Command Prompt “C:\WINDOWS\system32>”. Remember we will be using this in all of the steps below. So if your ready let’s get started!
Option One: Powercfg -lastwake:
This is where you will find what was the last thing that woke your PC. Start by entering the command “powercfg -lastwake” after the command prompt. Notice there is a space following powercfg this must be there in all of the steps to work. If not you will get a message stating “ is not recognized as the name of a CMD function”.
Once you have entered the command line you will see something like this:
- Wake History Count – [value]
- Wake History [value]
- Wake Source Count – [value]
- Wake Source 
- Type: Device
- Instance Path: [path]
- Friendly Name: [specific device name] We are interested in this line.
- Description: [specific device description]
- Manufacturer: [specific device manufacturer]
The most common problem I have encountered when doing this is under the “Friendly Name” where it will refer to a Network adapter called “Realtek PCIe GBE Family Controller”. This is what has been waking my computer and others in my family that I have fixed. To fix this is really simple.
You want to open up “Device Manager” by right-click “Start>Device Manager” click the carrot (>) next to “Network adapters” Highlight “Realtek PCIe GBE Family Controller” by right-clicking on it, Select “properties”>”Power Management” and then uncheck “Allow this device to wake the computer” and your all done. My PC’s now stayed asleep.
Now because all PC’s won’t act the same and yours will most likely come up with a different reason but the step to fix the issue will be the same as I did above.
So when you are in the Device Manager screen look for the specific device name that showed up in your Friendly Name and if your not sure what the term is, highlight it and Google it this will help in identifying the term.
Now if this has not fixed your problem move on to the next step, hopefully, we are going to find the problem one way or another, so don’t get discouraged. ?
Option Two: Event View:
Here we are going to open up their Event Viewer where we can see the history of what put your PC, Laptop to sleep and what woke it up. It will be a long list but we can narrow it down enough to get an idea of whats going on. To get started we want to open up the Viewer by clicking Start button and typing in “Event Viewer”.
You will now be presented with the Event Viewer screen where on the left-hand pane you want to “double-click” “Windows Log”>right-click on ”System”>”Filter current log”>”Event sources:”>scoll down to “Power-Troubleshooter” and check the box>click ok.
You will now have a screen showing several events of when your PC went to sleep and woke, you can scroll through the list and see the dates and time of when your PC went to sleep and woke. Now by clicking on the event, it will show you what the cause was. Here is a list of possibilities,
- Power Button: Indicates the power button was used
- Device-HID Compliant Keyboard or Mouse: Indicates your Keyboard or Mouse.
- Network Adaptor: Indicates that your PC is configured so that any incoming network activity will wake it. This is where I found my problem with the Realtek PCIe GBE Family Controller that was waking my PC.
- Timer: Indicates that a scheduled task woke your PC.
- Wake Source, Unknown: This is a little bit cryptic here.
As you can see you get a lot of information here to act on, and most of it can be fixed by going into your “Device Manager” and unchecking the box that allows the device to wake your PC as I described earlier. You will notice here that what woke my PC was the USB 3.0 eXtensible Host Controller which is related to my “keyboard & mouse” and that is exctulay what I used to wake my PC just as planned. 🙂
To further our research and verify what devices are set to wake your PC we will take a look at the next Option.
Option Three: Powercfg -devicequery wake_armed:
In running this one we can view which devices can wake your computer like your keyboard, mouse, game device, or other attached devices. We can then go in and stop them from waking your PC.
So first thing is to enter “powercfg -devicequery” (don’t forget the space”) after the command prompt, you will then see a list of all your devices that have the ability to wake your PC. From here we will open your “Device Manager” by right-clicking the start button > “Device Manager”>”Device”. So as an example we will “double-click” Keyboards>right-click “HID Keyboard Device>”Power Management”> uncheck“Allow this device to wake the computer”.
Now if you do this to your only keyboard you will not be able to use it to wake your PC, but you could still use the mouse. If you’re wondering why someone would want to disable the keyboard, well it’s because of Cats, for some reason they seem to like these. ?
Another thing like a scheduled task could be waking your PC, something like your Antivirus software might be scheduled to perform at a specific time, like in the middle of the night. And any number of other software you have installed could be scheduled to do the same thing, so to find out we will perfume the next step of finding the waketimers.
Option Four: Powercfg -waketimers:
Once again open up your Command Prompt as stated above and after the prompt type in “powercfg -waketimers”. You will now see a list of any timers that are set to wake your PC if it’s empty like mine you can move on to Option five.
If you have something here we will want to open the Task Scheduler by typing “task scheduler” in the start box. From here find the task that is waking your PC and click on it, then in the “Conditions tab” locate and uncheck the box that related to “Wake the computer to run this task”. The task will still be placed to run but only when your PC is awake.
Now if none of the above steps has solved your problem of your insomnia PC let’s take a look at the final option where we are going to get a very large report of your PC power configuration and hopefully find the culprit.
Option Five: Powercfg -energy:
Once again open up your PowerShell Admin and at the command prompt type in “powercfg -energy”>”Enter Key”. This is going to run in the background for about one minute, once done you will get a report of the number of errors, warnings, and informational with a link to the report. What you want to do is highlight the “C:\WINDOWS\system32\energy-report.html” right-click to copy and then past it into your start box.
You will now see a link to click on that will open the file in your Browser. Now that you have the report in front of you on the first list that is highlighted in pink will be all of the errors. You will notice that it will show the reason for a device that caused the problem.
From here you can go to your “Device manager” like we did above. Find the device and right-click>”properties”>”uninstall device”. Now you will need to restart your PC and windows is going to load its own driver for that device which should take of the problem.
Hopefully, you found your answer out of the five options above, Usually, using the first option where you find out what last woke your PC or Laptop will fix your problem, and if not you have four other options that should give you the answers to your PC’s insomnia. Remember, if your hardware is the problem, search for the current driver from the manufacturer’s website.
If none is available, follow the tips above to uninstall the driver and let Windows load it’s own version upon reboot. Also if you change the amount of time your PC stays awake before sleep, go back and reset it to your desired time. Not all PC’s or Laptops will perform the same as what has worked for me but.
I’m confident that you will be able to find and fix your PC insomnia using any of the above options, but if you are still having problems Please let me know in the comment section below and I will do what I can to help!
Do You Have Any Questions or Comments About Why Your Windows 10 Device Won’t Stay Asleep?
I really enjoy hearing from my readers and helping them out with any problems they may have, so if you have any questions or other things that have worked for you please leave them in the comment section below.