Windows 8 and 8.1 Forums


Windows 8.1 refuses to sleep

  1. #951


    Texas
    Posts : 1,022
    Windows 8.1


    Quote Originally Posted by Wynona View Post

    I think the OP is long gone. There are enough folks here who have the problem to keep this thread alive, though, so thanks. Appreciate the thought.
    Quote Originally Posted by Chuck38 View Post
    Well, it might help someone.
    Oops, that's what I meant! Every drip, drab or dollop if information on this issue has the possibility of helping someone.

    I was on my tablet and was trying to use the minimum of stylus strokes.

    BTW, I have changed my lappy power options to "do nothing" so I can close the lid while I do a short chore. If I want to leave it for an extended period, I have the Power Button set to shut down.

      My System SpecsSystem Spec

  2. #952


    Quote Originally Posted by NCguy View Post
    I'm not sure how many others are in the same boat but I just ran a test and I'm pretty convinced now that the only thing preventing my pc from consistent sleep is the daily scheduled W8 system task called "regular maintenance" which is in the following folder:

    task scheduler local/ task scheduler library/ Event viewer tasks / Microsoft / Windows / taskscheduler

    I went ahead and temporarily disabled that task and as expected the PC now continues to sleep like a baby. While the task is scheduled for 2am by default, for all kinds of unexplainable (to me) reasons it usually doesn't wake the pc and run at the scheduled 2am time but instead at some number of hours after 2am. After it does run my PC won't automatically sleep again until rebooted. Because the task runs at erratic times, this will make the pc seem like the insomnia itself is random since it will only start after regular maintenance actually runs.

    After a bit of research it seems that this "regular maintenance" task does some important stuff including:

    1. It optimizes the start menu
    2. File History is task scheduler based.
    3. Bluetooth device cleanup (when you unpair a device)
    4. Cleaning up Application Temporary Files
    5. making sure the file system is healthy
    6. Run RAID sets on your machine
    7. Windows Updates


    I'm not a WIndows 8 internals expert but it looks to me like these are all separate tasks that are launched daily from the master task called regular maintenance. It would be nice to know which subtask(s) is the culprit and its possible that it could be one like the RIAD task that isn't even needed on most pc's. If that were the case then it would probably be easy to disable it. Anyhow, if anyone is interested in digging deeper I'll work with you but this would be a bit for me personally to tackle on my own. That said, I may try if I have time.

    I guess a good start would be to know who else is having the
    insomnia after regular maintenance runs. You can tell when it runs by going into the task scheduler and then navigating to the path that I listed above. At the top it shows you "Last Time Run". I've found this is the only place to see it reliably because, at least for me, it isn't posted to the system log.

    Messing with that is not easy, since there is another task, "maintenance configurator" who will undo all the changes you've made in the maintenance. To have real control over it, you need to grant yourself permission over it... Anyway, again, you need to sacrifice something. I like automatic maintenance. lol
      My System SpecsSystem Spec

  3. #953


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by orbitalfenestra View Post
    Messing with that is not easy, since there is another task, "maintenance configurator" who will undo all the changes you've made in the maintenance. To have real control over it, you need to grant yourself permission over it... Anyway, again, you need to sacrifice something. I like automatic maintenance. lol
    I like the concept also. But it's possible that just one of the subtasks is causing this and it may be one that's not needed for your configuration. I mentioned the RAID task but it's also possible that it's something like file history which I don't personally use. I also don't use bluetooth or the modern apps start menu. So if these could be temporarily disabled one at a time it might at least solve the riddle for many.
      My System SpecsSystem Spec

  4. #954


    Quote Originally Posted by NCguy View Post
    Quote Originally Posted by orbitalfenestra View Post
    Messing with that is not easy, since there is another task, "maintenance configurator" who will undo all the changes you've made in the maintenance. To have real control over it, you need to grant yourself permission over it... Anyway, again, you need to sacrifice something. I like automatic maintenance. lol
    I like the concept also. But it's possible that just one of the subtasks is causing this and it may be one that's not needed for your configuration. I mentioned the RAID task but it's also possible that it's something like file history which I don't personally use. I also don't use bluetooth or the modern apps start menu. So if these could be temporarily disabled one at a time it might at least solve the riddle for many.
    The only thing file history is good for, is to make ghost image. That great feature of Win 7 is hidden there. If you find something please let me know!
      My System SpecsSystem Spec

  5. #955


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by orbitalfenestra View Post
    Quote Originally Posted by NCguy View Post
    Quote Originally Posted by orbitalfenestra View Post
    Messing with that is not easy, since there is another task, "maintenance configurator" who will undo all the changes you've made in the maintenance. To have real control over it, you need to grant yourself permission over it... Anyway, again, you need to sacrifice something. I like automatic maintenance. lol
    I like the concept also. But it's possible that just one of the subtasks is causing this and it may be one that's not needed for your configuration. I mentioned the RAID task but it's also possible that it's something like file history which I don't personally use. I also don't use bluetooth or the modern apps start menu. So if these could be temporarily disabled one at a time it might at least solve the riddle for many.
    The only thing file history is good for, is to make ghost image. That great feature of Win 7 is hidden there. If you find something please let me know!
    You sound knowledgeable with the security issues related to disabling the subtasks. Are you saying that if I disable the subtask that windows will come behind me later and re-enable it? On the surface disabling the subtasks looks pretty straightforward.
      My System SpecsSystem Spec

  6. #956


    Posts : 102
    Windows 8.1 Pro x64


    Guys, I need help.

    In addition to the insomnia problems, my PC has recently begun to freeze and issue a "dpc watchdog violation" blue screen of death (BSOD) when I wake up the computer from sleep or hibernation. It has happened 3 or 4 times over the last 2 days now. I read on the net it could be the SSD but I ran a check as well as a firmware update on my two Intel SSDs and they are fine. Chkdsk does not report any problem either.

    I assume I'm the first in this thread to run into this problem in connection with our sleep issues, so perhaps it is unrelated but perhaps it is not, I don't know. Anyway, can somebody suggest a route to track down the cause please?

    Thanks
    Steve
      My System SpecsSystem Spec

  7. #957


    Quote Originally Posted by NCguy View Post
    Quote Originally Posted by orbitalfenestra View Post
    Quote Originally Posted by NCguy View Post

    I like the concept also. But it's possible that just one of the subtasks is causing this and it may be one that's not needed for your configuration. I mentioned the RAID task but it's also possible that it's something like file history which I don't personally use. I also don't use bluetooth or the modern apps start menu. So if these could be temporarily disabled one at a time it might at least solve the riddle for many.
    The only thing file history is good for, is to make ghost image. That great feature of Win 7 is hidden there. If you find something please let me know!
    You sound knowledgeable with the security issues related to disabling the subtasks. Are you saying that if I disable the subtask that windows will come behind me later and re-enable it? On the surface disabling the subtasks looks pretty straightforward.
    Yeah, I succeed once by playing with privileges and group policy, but I DON'T RECOMMEND IT. There is no easy way to disable maintenance for real, the maintenance configurator task will re-enable the maintenance no matter how many times you disable it.

    "In the idle maintenance properties, you can intelligently change the conditions in such a way that it is never satisfied. Windows requires either one of the conditions to be enabled. In my case I have set it to be enabled only when the PC is connected with a non-existent Wifi connection."

    Here:

    [How To] Completely Disable Idle Maintenance in Windows 8.1

    Tell me if it solves your sleep issue after that!
      My System SpecsSystem Spec

  8. #958


    Quote Originally Posted by Steve06 View Post
    Guys, I need help.

    In addition to the insomnia problems, my PC has recently begun to freeze and issue a "dpc watchdog violation" blue screen of death (BSOD) when I wake up the computer from sleep or hibernation. It has happened 3 or 4 times over the last 2 days now. I read on the net it could be the SSD but I ran a check as well as a firmware update on my two Intel SSDs and they are fine. Chkdsk does not report any problem either.

    I assume I'm the first in this thread to run into this problem in connection with our sleep issues, so perhaps it is unrelated but perhaps it is not, I don't know. Anyway, can somebody suggest a route to track down the cause please?

    Thanks
    Steve
    I suggest you open a new thread for that!

    Regards
      My System SpecsSystem Spec

  9. #959


    Manchester CT
    Posts : 693
    Windows 8.1 Pro 64 bit GA


    OK, my PC is back asleep. Solution for me is to not log onto MS account/Onedrive on bootup. Instead, I am back on local account. I forgot that I logged in for some reason or another and didn't bother to see if that was the cause of my sleep issue.

    EDIT 3-22-14: Not a permanent solution. I found the machine awake a couple of times yesterday.
    Last edited by johnpombrio; 22 Mar 2014 at 13:30.
      My System SpecsSystem Spec

  10. #960


    Manchester CT
    Posts : 693
    Windows 8.1 Pro 64 bit GA


    Quote Originally Posted by Steve06 View Post
    Guys, I need help.

    In addition to the insomnia problems, my PC has recently begun to freeze and issue a "dpc watchdog violation" blue screen of death (BSOD) when I wake up the computer from sleep or hibernation. It has happened 3 or 4 times over the last 2 days now. I read on the net it could be the SSD but I ran a check as well as a firmware update on my two Intel SSDs and they are fine. Chkdsk does not report any problem either.

    I assume I'm the first in this thread to run into this problem in connection with our sleep issues, so perhaps it is unrelated but perhaps it is not, I don't know. Anyway, can somebody suggest a route to track down the cause please?

    Thanks
    Steve
    Google search on that came up with this (due to fast startup):
    5 Simple Steps to End Windows 8 DPC WATCHDOG VIOLATION Crashes | Notes Along the Path
      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