Windows 8 and 8.1 Forums


Windows 8.1 refuses to sleep

  1. #811


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by kenJ View Post
    Applied that update a couple weeks ago. It helps but the pc still won't sleep after nightly maintenance.
    Did you try running powercfg -requests to see if anything is preventing sleep?
    Is it possible that, after nightly maintenance, it is doing a long virus scan?
    Was it sleeping immediately before the nightly maintenance started?
    Anything in event log that points to an error when maintenance ran?
    Its not running a long scan.

    Powercfg hasn't been helpful so far.

    logs dont even show maintenance startup but you can see it in history under scheduled tasks.

      My System SpecsSystem Spec

  2. #812


    Posts : 12
    8.1 x32


    Hi all,

    I have also been experiencing sleep issues (for a month or so at least). Similar to NCguy, it seems to be occurring after nightly maintenance.

    Almost every morning I will discover my computer is running (monitor off, but computer not in sleep mode as it should be). It goes to sleep fine, it just wakes up at some point at night and does not go back to sleep (as it used to). During the day it will sleep just fine. To try to figure out what was waking it, I went to cmd prompt and used the command "powercfg -waketimers":


    C:\WINDOWS\system32>powercfg -waketimers
    Timer set by [SERVICE] \Device\HarddiskVolume1\Windows\System32\svchost.exe (SystemEventsBroker) expires at 4:01:43 AM on 2/23/2014.
    Reason: Windows will execute 'NT TASK\Microsoft\Windows\TaskScheduler\Regular
    Maintenance' scheduled task that requested waking the computer.
    I also tried "powercfg -lastwake":


    C:\WINDOWS\system32>powercfg -lastwake
    Wake History Count - 1
    Wake History [0]
    Wake Source Count - 1
    Wake Source [0]
    Type: Wake Timer
    Owner: [SERVICE] \Device\HarddiskVolume1\Windows\System32\svchost.exe (SystemEventsBroker)
    Owner Supplied Reason: Windows will execute 'NT TASK\Microsoft\Windows\TaskScheduler\Regular Maintenance' scheduled task that requested waking the computer.
    So it appears that "Regular Maintenance" is waking my computer. But why isn't it returning to sleep? It used to.

    I then went to Power Options > Edit Plan Settings. These settings are still correct (Put the computer to sleep: 30 minutes).

    Next I checked the Task Scheduler. Under "Active Tasks" I found "Regular Maintenance".

    Next run time: 3:53 AM tomorrow. That very closely matches the 4:01 AM listed in "powercfg -waketimers", but I find it odd that it is after the scheduled time.
    Triggers: At 3:00 AM every day

    Doubling clicking on Regular Maintenance provides more detail.

    Last Run Time: 5:46 AM
    Last Run Result: operation completed successfully

    However, another item in here is "Idle Maintenance".

    Triggers: when computer is idle
    Last Run Time: 5:46 AM
    Last Run Result: The process terminated unexpectedly. (0x8007042B)

    All of my drive partitions are scheduled to optimize weekly rather than daily. My computer is waking up daily.

    Last night I turned all scheduled optimization off. This morning my computer was again woken from sleep.

    The cmd prompt gives me the same reason for the wake (Regular Maintenance).

    Task Scheduler shows Regular Maintenance as:
    Last Run Time: This morning at 4:36 AM
    Last Run Result: The last run of the task was terminated by the user. (0x41306)

    Under Idle Maintenance it shows nothing for this morning.

    What does this mean? Optimization ran despite me turning it off?

    HippsieGypsie has also been assisting me and directed me to this thread as well as the update you all have been referring to (
    KB2919394). I went into my update history, but couldn't find anything like that, so I tried Windows Download Center. I searched for it there and found it. One link was for Windows Server RT (not me), another was for x64 (also not me as I have x32), a third was generic Windows 8.1. However, after downloading that, Windows told me that update did not apply to my system.

    A couple notes though:
    a) I am not on a wireless home network and

    b) My computer does successfully go to sleep. It also successfully stays asleep during the day. It just wakes itself up in the middle of every night (presumably to run maintenance), and does not go back to sleep.

    I also checked my network adapters and some were indeed hidden (although none were ghosted). But I have no idea what they mean or if I should disable any of them. They are:

    Microsoft ISATAP Adapter
    Microsoft Kernel Debug Network Adapater
    NVIDIA nForce Networking Controller
    NVIDIA nForce Networking Controller #2
    Teredo Tunneling Pseudo-Interface

    Maybe this doesn't even matter because it's a home computer not on a server nor wireless.

    I also just tried "powercfg -requests" and got this result:

    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.


    C:\WINDOWS\system32>powercfg -requests
    DISPLAY:
    None.


    SYSTEM:
    [DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&DEV_0885&SUBSYS_10ECE601&REV_1001\4&1ff4ec3b&0&0001)
    An audio stream is currently in use.
    [PROCESS] \Device\HarddiskVolume1\Program Files\Windows Media Player\wmpnetwk.exe
    Media Sharing has been enabled through Windows Media Player.


    AWAYMODE:
    None.


    EXECUTION:
    [SERVICE] \Device\HarddiskVolume1\Windows\System32\SearchIndexer.exe (WSearch)
    Windows Search is indexing


    PERFBOOST:
    None.
    Not sure if that helps at all. Maybe I need to run that command first thing in the morning?




    Any help is greatly appreciated.
      My System SpecsSystem Spec

  3. #813


    Houston
    Posts : 18
    Win 8.1 Pro x64 w Media Center


    Your computer won't sleep until all the "powercfg -requests" are NONE.

    EXECUTION:
    [SERVICE] \Device\HarddiskVolume1\Windows\System32\SearchIndexer.exe (WSearch)
    Windows Search is indexing
    1. I suspect you might have a defective file. Refer to: CHKDSK - Check a Drive for Errors in Windows 8. I had the search index hang up on me a while back when I had a bad file.
    2. It might be that your system is indexing the entire computer rather than the usual user files. Please make sure you don't have any defective files first and then manually run the index search during the daytime when you can watch it. This link addresses the subject from Windows 7 perspective Fine tune the Windows 7 Search Index for better performance - TechRepublic but I'm sure you can find a Windows 8 equivalent.


    An audio stream is currently in use.
    [PROCESS] \Device\HarddiskVolume1\Program Files\Windows Media Player\wmpnetwk.exe
    Media Sharing has been enabled through Windows Media Player.

    1. Likely cause is that you don't have the "allow the computer to sleep" option enabled in the Multimedia settings for the power options, advanced settings. There are discussions in this thread about this issue.
    2. NCGuy, Jan 5 posting Windows 8.1 refuses to sleep, reported that an audio driver update fixed his problem.
    Last edited by kenJ; 28 Feb 2014 at 14:42.
      My System SpecsSystem Spec

  4. #814


    Posts : 1
    Windows 8.1 64-bit

    Hibernation and sleep problems after upgrading to Win 8.1


    I experience exactly the same problem described in this thread. My Samsung Ativ Pro PC (64-bit) regularly fails to hibernate and sometimes even sleep after upgrading to Win 8.1. I sometimes can't even get it to sleep or hibernate manually. I have tried all suggestions in earlier posts that seemed relevant, but to no avail (disabling 'Wake on ...' settings in the network adapter properties, deleting my hibernation file and regenerating it, searching for software wake-up calls and checking in Device Manager that none of the drivers was 'allowed to wake this device'). Nothing works consistently sofar. I don't have a Homegroup, so that can't be the problem and I also have the same problems when travelling with my laptop using it standalone on a wifi network (off and on). Last night my battery drained completely, because the laptop must have woken itself after I thought I had put it to sleep (failing to get it to hibernate in the first place). Switching to a local account instead of Microsoft with Skydrive isn't an option for me, since I sync all my documents with Skydrive.

    Why doesn't Microsoft fix this?? Any other suggestions would be welcome! Thanks in advance, Wim
    Last edited by wvbrakel14; 01 Mar 2014 at 12:14.
      My System SpecsSystem Spec

  5. #815


    Posts : 12
    8.1 x32


    Quote Originally Posted by kenJ View Post
    Your computer won't sleep until all the "powercfg -requests" are NONE.

    EXECUTION:
    [SERVICE] \Device\HarddiskVolume1\Windows\System32\SearchIndexer.exe (WSearch)
    Windows Search is indexing
    1. I suspect you might have a defective file. Refer to: CHKDSK - Check a Drive for Errors in Windows 8. I had the search index hang up on me a while back when I had a bad file.
    2. It might be that your system is indexing the entire computer rather than the usual user files. Please make sure you don't have any defective files first and then manually run the index search during the daytime when you can watch it. This link addresses the subject from Windows 7 perspective Fine tune the Windows 7 Search Index for better performance - TechRepublic but I'm sure you can find a Windows 8 equivalent.
    Thanks for the ideas.

    1. I ran Check Disk and Windows found no errors.
    2. I could look into this potential indexing issue, however I suspect it is not the problem (for reasons below).

    Quote Originally Posted by kenJ View Post
    An audio stream is currently in use.
    [PROCESS] \Device\HarddiskVolume1\Program Files\Windows Media Player\wmpnetwk.exe
    Media Sharing has been enabled through Windows Media Player.

    1. Likely cause is that you don't have the "allow the computer to sleep" option enabled in the Multimedia settings for the power options, advanced settings. There are discussions in this thread about this issue.
    2. NCGuy, Jan 5 posting Windows 8.1 refuses to sleep, reported that an audio driver update fixed his problem.
    This was a promising line, although in the end it seems it wasn't the problem.

    1. I found the "allow the computer to sleep" option in Multimedia settings and enabled it.
    2. This info led me to explore further. I ran "powercfg -energy" which is a more helpful report. One of the first things it listed was my "High Definition Audio Device". It clearly stated that this issue was preventing the computer from returning to sleep. Hooray, an actual reason. It seemed rather generic, but I believe I eventually found an updated driver and installed that. I also found other users elsewhere who had this problem. They used "powercfg -requestsoverride" to tell the computer to ignore the audio device issue. I did that as well. I thought this sounded great, so I restarted last night and told it to sleep as usual. But this morning it had once again woken up and not returned to sleep....

    Running "powercfg -requests" now shows "none" under all categories, so I'm at a bit of a loss. This is why I assume indexing is no longer an issue (it used to list it here, now it doesn't). Maybe it only shows up sometimes? "powercfg -energy" no longer lists the audio device at all. It does show other errors and warnings, but none are listed as preventing the computer from sleeping.

    I don't know what else to try. I never found out if there is an alternative to update KB2919394 for my machine, but I'm not sure how to find out.



    UPDATE: I found another tip elsewhere that said the issue won't show up under "requests" until a video or something is run. So I started a video in YouTube, paused it, then ran "powercfg -requests" again. Now the High Definition Audio Device is listed there again. This must be the problem. But apparently my "requestsoverride" is not fixing it. Hmm....
      My System SpecsSystem Spec

  6. #816


    Houston
    Posts : 18
    Win 8.1 Pro x64 w Media Center


    Running "powercfg -requests" now shows "none" under all categories, so I'm at a bit of a loss.
    When you find it not sleeping, please run the powercfg -requests. If it shows "none" for all items, please unplug your Ethernet cable and see if it sleeps. If removing the cable causes it to sleep, please re-install the cable and stop the following service "Networking Location Awareness" and then see if it then sleeps.

    Rather than waiting till nighttime, you might play around with the clock during the daytime; setting it back or ahead 12 hours. That way, you can watch it during the daytime when you are awake.

    So I started a video in YouTube, paused it, then ran "powercfg -requests" again. Now the High Definition Audio Device is listed there again.
    I have High Definition Audio as well. When I run a Youtube, powercfg reports audio stream is in use; same as you. After the YouTube video finishes playing, the computer sleeps. After waking, powercfg reports 'None'. Obviously, since no video is playing.
    Last edited by kenJ; 01 Mar 2014 at 16:04.
      My System SpecsSystem Spec

  7. #817


    Posts : 12
    8.1 x32


    Interesting results to report:

    I did as you said - the computer was awake this morning, so I unplugged the Ethernet cable. It fell asleep in a minute or so. I re-installed it and went into Services to stop Network Location Awareness. I then went into power settings and changed my sleep time from 30 minutes to 1 minute (this apparently also automatically sets the monitor's sleep time to 1)

    After waiting a minute, the monitor fell asleep. After waiting another minute, the computer still hadn't fallen asleep. This is the state I find the computer in every morning.

    powercfg -requests currently lists none under all categories.
    Last edited by cplindem; 02 Mar 2014 at 13:46.
      My System SpecsSystem Spec

  8. #818


    Houston
    Posts : 18
    Win 8.1 Pro x64 w Media Center


    so I unplugged the Ethernet cable. It fell asleep in a minute or so
    That is what many other people reported. It has something to do with the network. For me, it was ghosted network adapters. Removing them made my system work.

    I believe you posted you have the following network adapters below. Next time it doesn't sleep, please disable all of them, one at a time, leaving NVIDIA nForce Networking Controller the last one to disable. Make sure you include hidden adapters. See if anyone of them, when disabled, permits sleeping. Try that and see what happens.

    Microsoft ISATAP Adapter (disable 3rd)
    Microsoft Kernel Debug Network Adapater (disable 2nd)
    NVIDIA nForce Networking Controller (disable last)
    NVIDIA nForce Networking Controller #2 (disable 4th)
    Teredo Tunneling Pseudo-Interface (disable 1st)

    If disabling works, re-enable the adapters and then run a command prompt "ipconfig /all". Take a look at what it says for the adapters. Pay attention to any duplicate ip addresses or anything out of the ordinary.
      My System SpecsSystem Spec

  9. #819


    Posts : 12
    8.1 x32


    Disabling did not allow the computer to sleep.

    I disabled them one at a time (leaving the previous adapters disabled as I went along), then testing. When I disabled the last one, the Teredo and the ISATAP became ghosted. Not sure if that means anything though. So at this point my internet was entirely disabled, yet the computer still would not fall asleep. Odd that it doesn't, when simply unplugging the Ethernet cable works...

    For reference, "powercfg -requests" still lists "none." I did not try "ipconfig /all" since it didn't seem to work.
      My System SpecsSystem Spec

  10. #820


    Houston
    Posts : 18
    Win 8.1 Pro x64 w Media Center


    Seems that disabling all the network adapters would be the same as unplugging the cable. I am out of ideas for now. Maybe someone else can come up with something to try.

    You did check to make sure you had no pending Windows updates?
      My System SpecsSystem Spec

Windows 8.1 refuses to sleep
Related Threads
For some reason, Windows refuses to let any program (utorrent, iexplore, firefox...) connect to animetorrents.me (reporting that it cannot locate the server in Firefox and telling the me machine actively refused the connection in uTorrent) I can access the site through a proxy (eg: by going to...
When trying to boot Windows 8, it gets stuck at a black screen. I tried automatic repair and refreshing my pc. I need a dvd to refresh my pc which I don't have. I tried bcdboot but apparently the problem is not with the boot process. It seems that the only option left is to reinstall Windows 8...
I don't know if this is a software problem or not, so forgive me if this is the wrong forum to post it on. My Asus Q301LA refuses to wake from sleep mode if the charger is plugged in and the battery is fully charged. To elaborate, all that happens is the light on the power button comes on, but my...
After much trouble getting Windows Media Player to "see" several music files, I finally was able to burn a CD for use on a common stereo player. All tracks are short because they are simply sound effects for use on stage. I create a burn list of 1Music, 2Music, etc., through 25Music. I end up...
It will sleep when told, as far as I can tell... and it will hibernate if I manually right click and tell it too, So I've enabled hibernate, went into advanced setting under sleep to tell the computer when to hibernate. I set it to what ever time. It refuses to hibernate at the allotted time...
Amazing... I searched for "sleep" here and found the "Windows 8.1 refuses to sleep" thread, which is still going strong after almost 800 posts, talking about the exact opposite problem to the one I'm having! (Now, needless to say, I haven't read the entirety of that thread - yet; could someone...
I bought a new Dell 5 weeks ago (my old one of 9 years died) sadly it came with Wiin 8 installed? I wish I hadn't? The accounts and Passwords are atrocious. I have been locked out Twice using the same password I have used for 5 years and had used the night before and then had to wait a week for a...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook