Windows 10 Won’t Stay Asleep: Let’s Find Out Why!

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’tWindows 10 won't stay asleep 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!Windows 10 won't stay 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 Windows 10 won't stay asleepComand 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:

Windows 10 won't stay asleep

 

  • Wake History Count – [value]
  • Wake History [value]
  • Wake Source Count – [value]
  • Wake Source [0]
  • 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.

Windows 10 won't stay 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”.

Windows won't stay asleep

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.

Windows won't stay asleep

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.

Windows won't stay asleep

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.

Windows won't stay asleep

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.

Windows won't stay asleep

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.

 

Final Thoughts:

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.

Good luck!

JOIN OUR NEWSLETTER
I agree to have my personal information transfered to MailChimp ( more information )
Join others others who are recieving there weekly newsletter with the latest Tips & Solutions to EveryDay Home Computing
We hate spam. Your email address will not be sold or shared with anyone else.
Please follow and like us:
0

About Author

Kim
Hello, my name is Kim and I am the owner of this site. I have been working with computers since they first became available to the public.I have built several computers over the years and enjoy helping others with their everyday computing. Should you have any questions about using your computer, or any other device, please leave me a note below in the comment section and I will be more than happy to help you out. Come back often for more tips and solutions to your every day computing.

8 Comments

  1. Christina

    Hi Kim,
    This was a very helpful article. It really helped resolve my issue. My mouse was causing the issue. I am not sure it is just too sensitive with a fan running in the room or perhaps it may be time for a new one. I followed your steps to prevent that from waking the pc. When I get a new mouse I will reactivate it and see if it stops causing the waking issue.
    I know years ago I heard it was better to just shut your pc down rather than let it go to sleep. I always just prefer sleep mode. What do you think is best, power down or sleep?
    Thanks,
    Christina

    Reply
    1. Kim (Post author)

      Hey there Christina, I’m happy that you found out your problem with your mouse if it is fairly old one it could be an outdated device driver or one that Windows 10 isn’t supporting. Either case there’s no reason that you can’t just leave it deactivated. You always have your keyboard to wake your PC. But if you’re like me I’m always looking for reasons to buy something new. LOL
      Your right years ago it was better to shut down PC’s but not anymore, they are built now to run 24/7. I myself also prefer to use the sleep mode but once a week I will power down my PC and reboot, this way it clears out all the cobwebs that develope over time that make your system run a little erratic. So my answer is Sleep!
      I appreciate you stopping by, and don’t hesitate to leave me any question you might have with your PC, anytime!
      Kim

      Reply
  2. Annie Collyer

    Hi Kim,
    As a babyboomer mature woman, I do not get a lot of this technical stuff…your post helI appreps me to understand, diagnose and remedy the problem! I appreciate the step by step breakdown! How overwhelming without this. Thank you.
    Annie

    Reply
    1. Kim (Post author)

      Hi Annie, yes being a baby boomer myself has helped me in my desire to be more proficient with computers and I love helping others with theirs. So glad you found this to be helpful and that it all made sense and easier to follow. If you find yourself in need of anything else with Windows 10, don’t hesitate to ask.
      Thanks for stopping by,
      Kim

      Reply
  3. Chris Towers

    Thank you Thank you.

    I have always used Windows 7, but recently my old computer failed me and I had to buy a new one, of course it came with Windows 10.

    I had this exact problem, among others, and came routing for information to fix this issue.

    I would never have dreamed of having to go into the Command Prompt.

    This really helped me.

    Thanks again.

    Chris

    Reply
    1. Kim (Post author)

      Hi Chris, I’m happy to hear this has helped you solve your problem. There is so much that can be done to fix issues within any Operating System by using the command prompt that I have been thinking about doing a series of article on the subject.
      Should you have any other issues with Windows 10 please let me know. Windows 10 has so much more to offer than it’s previous versions that it can be a little overwhelming.
      Kim

      Reply
  4. Tanya

    Hi Kim,

    I have not had this problem yet, but it is nice to know there are so many ways to stop it. I look forward to reading your articles because it seems I am always researching answers for my computer.

    Tanya

    Reply
    1. Kim (Post author)

      Hi Tanya, I’m super glad you enjoyed this article and found it to be useful! Don’t hesitate to ask me about any concerns or question you have related to your PC, I’m here to help!
      Kim

      Reply

Leave a Comment

Your email address will not be published. Required fields are marked *