Windows 8 and 8.1 Forums


Windows 8.1 refuses to sleep

  1. #961


    The Deep South
    Posts : 463
    Windows 10 Pro 64-bit


    Hey, we're getting close to 1,000 posts on this thread!

      My System SpecsSystem Spec

  2. #962


    St. Augustine
    Posts : 388
    windows 8.1 64, LT -Windows 10 Home 64


    Quote Originally Posted by NCguy View Post

    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.
    You can also see the Last Run of Idle Maintenance/Scheduled Maintenance in the Action Center.

    Click image for larger version

    I have been looking at this as well. It appears that Idle Maintenance and Regular Maintenance perform similar actions and whether the latest run is triggered by the Idle Routine or the Regular Maintenance Routine the last run time is listed in the Action Center as well as the Task Scheduler. The Actions for both are simply listed as Custom Handler in the Task Actions.

    My system exhibits some of the same sleep quirks that others have described but not identical. I generally shut down at night so the late night maintenance is of no consequence and I usually trigger it manually at some point during the day before I walk away for a bit. It usually takes about 15 minutes to complete and I can always tell from my Norton Performance graph if Idle Maintenance was run.

    When I start my PC in the morning it will sleep perfectly according to my set Power Plan but by late in the day or early evening the PC will not go to sleep on it's own and sleep must be manually triggered to sleep, however, if I shutdown or Restart the PC will once again Sleep on it's own.

    Personally, at least for my PC, I think the problem is some quirks with the way the Task Scheduler interacts with some of the scheduled tasks and the automatic maintenance is probably part of it. I am on a Desktop so preserving a battery is not an issue and while a bit annoying the inconsistent Sleep process is not something I will lose any sleep over. but if this was a Laptop I would be a bit more concerned. The only thing I can find that you can effectively change is the Scheduled Time for the Automatic Maintenance and that time can be changed in the Action Center and well as the Task Scheduler.
      My System SpecsSystem Spec

  3. #963


    Posts : 102
    Windows 8.1 Pro x64


    John, I stumbled upon the exactly same thread myself and disabled fast start up as advised. So far, the issue has not reoccurred, but it's not clear to me if I should leave it off and live with slower bootup or if I am to switch it back on.

    The whole issue must be related to a recent driver update as it is entirely new. I always install newest drivers suggested through Intel's Driver Auto Update website or from my Mobo manufacturer's homepage.

    I will probably also switch from MS to local account as you did as there does not seem to be much value in having Windows linked to the MS account anyway.
      My System SpecsSystem Spec

  4. #964


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by gator2013 View Post


    The only thing I can find that you can effectively change is the Scheduled Time for the Automatic Maintenance and that time can be changed in the Action Center and well as the Task Scheduler.
    Thanks for that info. How does changing the start time help? It seems to run at random times regardless and if you set it during your work hours wont it just cause insomnia from that point on?
      My System SpecsSystem Spec

  5. #965


    St. Augustine
    Posts : 388
    windows 8.1 64, LT -Windows 10 Home 64


    Quote Originally Posted by NCguy View Post
    Thanks for that info. How does changing the start time help? It seems to run at random times regardless and if you set it during your work hours wont it just cause insomnia from that point on?
    I don't know if it will help in any given situation but if you change the Regular Maintenance schedule to run during daytime hours you won't have to deal with that task running at night and waking your computer and if the task starts during the day when you are using the PC the task will only start when system is idle and the task will cease when not idle. I think a bare minimum of these tasks are in the registry and cannot be easily changed and some bare minimum of the task is going to run at some periodic interval no matter what you do which is why I manually trigger the Regular Maintenance Task so at the very least I am fulfilling some minimum requirement.

    I have not yet tried all the different combinations to see what will stick and what won't because some of the changes I have tried to make are reversed after a Shutdown or Restart. I don't think there is much you can do to alter the Idle Maintenance Routine because the Trigger is set to run at PC idle and cease when not idle.
      My System SpecsSystem Spec

  6. #966


    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

    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!
    That procedure addresses idle maintenance. I'm assuming that you could change regular maintenance to an unsatisfied condition the same way? Anyway its interesting. It does say in the article though that "disabling" regular maintenance also solves the problem. Actually when I tried that windows reset regular maintenance from disabled to ready on me the same way that the article says that it resets idle maintenance.
      My System SpecsSystem Spec

  7. #967


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by johnpombrio View Post
    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.

    Issue Solved (for now)
    Onedrive is actually one of the things I like about W8.1. You can't use it at all on a local account can you?
      My System SpecsSystem Spec

  8. #968


    Posts : 286
    W8.1 Pro 64


    Quote Originally Posted by gator2013 View Post
    Quote Originally Posted by NCguy View Post

    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.
    You can also see the Last Run of Idle Maintenance/Scheduled Maintenance in the Action Center.

    Click image for larger version

    I have been looking at this as well. It appears that Idle Maintenance and Regular Maintenance perform similar actions and whether the latest run is triggered by the Idle Routine or the Regular Maintenance Routine the last run time is listed in the Action Center as well as the Task Scheduler. The Actions for both are simply listed as Custom Handler in the Task Actions.

    My system exhibits some of the same sleep quirks that others have described but not identical. I generally shut down at night so the late night maintenance is of no consequence and I usually trigger it manually at some point during the day before I walk away for a bit. It usually takes about 15 minutes to complete and I can always tell from my Norton Performance graph if Idle Maintenance was run.

    When I start my PC in the morning it will sleep perfectly according to my set Power Plan but by late in the day or early evening the PC will not go to sleep on it's own and sleep must be manually triggered to sleep, however, if I shutdown or Restart the PC will once again Sleep on it's own.

    Personally, at least for my PC, I think the problem is some quirks with the way the Task Scheduler interacts with some of the scheduled tasks and the automatic maintenance is probably part of it. I am on a Desktop so preserving a battery is not an issue and while a bit annoying the inconsistent Sleep process is not something I will lose any sleep over. but if this was a Laptop I would be a bit more concerned. The only thing I can find that you can effectively change is the Scheduled Time for the Automatic Maintenance and that time can be changed in the Action Center and well as the Task Scheduler.
    This article shows the individual scheduled tasks that are launched by regular maintenance and where they are located. I believe they can be individually disabled but it may not stick. The calls for these are probably in the task handler you referenced.

    Why You Shouldn?t Disable The Task Scheduler Service in Windows 7 and Windows 8 - Ask Premier Field Engineering (PFE) Platforms - Site Home - TechNet Blogs
      My System SpecsSystem Spec

  9. #969


    Manchester CT
    Posts : 693
    Windows 8.1 Pro 64 bit GA


    Quote Originally Posted by Steve06 View Post
    John, I stumbled upon the exactly same thread myself and disabled fast start up as advised. So far, the issue has not reoccurred, but it's not clear to me if I should leave it off and live with slower bootup or if I am to switch it back on.

    The whole issue must be related to a recent driver update as it is entirely new. I always install newest drivers suggested through Intel's Driver Auto Update website or from my Mobo manufacturer's homepage.

    I will probably also switch from MS to local account as you did as there does not seem to be much value in having Windows linked to the MS account anyway.
    Steve, If you have a boot SSD, then no worries about disabling fast startup. If you have a hard drive, simply try booting it a few times with fast startup disabled/enabled to see the difference. It probably will not be much.

    The nice thing about disabling Fast startup is that it disables hibernate. If you have an SSD, you can then delete the hibfil.sys file that takes up precious room on the drive.
      My System SpecsSystem Spec

  10. #970


    Quote Originally Posted by johnpombrio View Post
    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.

    Issue Solved (for now)
    I'm in the same boat. I have to use a local login to get back to reasonably reliable sleep performance. It is a network thing as unplugging the network cable has the same effect (improve sleep) when in network login mode.
      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