Windows 8 and 8.1 Forums


Windows 8.1 refuses to sleep

  1. #2031


    Posts : 6
    Windows 8.1


    Quote Originally Posted by EnricoS View Post
    Quote Originally Posted by ACraigL View Post
    Quote Originally Posted by EnricoS View Post
    In a nutshell, all you have to do to try this solution is to swap the W8.1 "srv.sys" file located in "C:\Windows\System32\drivers" directory with the W10 TP one.
    I just wanted to take a minute to thank you for this. My situation was actually a bit unique, as compared to what I had read elsewhere. My computer had absolutely no issues sleeping, but because it had been operating for well over a year, I began to see some performance issues. It's at this point I usually reinstall the OS. I was "smart enough" to have created a clean-install image so I could do this rapidly. Oddly, sleep was an issue from the get-go once the image was up and running.

    srvnet was an issue, but the powercfg override was not working (I recall that fixed it in the past). Disabling IPv6 got me half-way there, as it would sleep, but only the first time. After a wakeup, it would not go back to sleep again. I happened upon this post and tried the netstop/start on the service. Shocker! It fell back to sleep on its own. I figured that was enough to try your replacement driver.

    I did so, tested, and everything continued to work as expected. I then began adding items back into the mix (keyboard, mouse, background apps, foreground apps) one at a time and each time, sleep continued.

    What I don't understand is why, with the same code base/install, this became a problem now, when it was not before, particularly when using the same configuration, software and hardware. I'm not sure I'll ever know, but very happy that this is finally working the way it should. Thanks again for the information and the replacement driver.
    Hi,
    I'm happy that my solution helped you too (so far)!

    Although it is very strange that the srvnet issue started only after you reinstalled the OS, it is more or less what happened to me; everything was working fine for about a year since W8.1 installation, then srvnet suddenly started to prevent the auto sleep, and that without any HW or SW changes. I think this is going to remain a mystery.
    Grrr. Spoke too soon. I got a day out of it,, but it is not sleeping again. No idea why. I'm sure a reboot would help, but this getting SO irritating.

      My System SpecsSystem Spec

  2. #2032


    Posts : 9
    Windows 8.1 x64


    Hi AcraigL,

    when it doesn't suspend automatically, you could try to detach the LAN cable and then wait for the auto-sleep timeout; if it now sleeps, then something is really being shared.
    Before replacing the driver, my system wouldn't sleep even with no LAN cable connected, so it's worth a try.
      My System SpecsSystem Spec

  3. #2033


    Posts : 6
    Windows 8.1


    Quote Originally Posted by EnricoS View Post
    Hi AcraigL,

    when it doesn't suspend automatically, you could try to detach the LAN cable and then wait for the auto-sleep timeout; if it now sleeps, then something is really being shared.
    Before replacing the driver, my system wouldn't sleep even with no LAN cable connected, so it's worth a try.

    Disconnecting the LAN cable definitely allowed to sleep. After some poking around I noticed that the network and sharing settings was set to control access via a homegroup, even though I never joined one. I set that to username/password, but also altogether disabled file and printer sharing from all profiles.

    Still never slept.

    Then I had an epiphany. I have a media center HTPC and I recalled that I had some media libraries to share my PC. I removed those from the HTPC, and sure enough the computer is sleeping properly again. The easiest things are so often overlooked. Thanks for pointing me in the direction that solved my issue!
      My System SpecsSystem Spec

  4. #2034


    Posts : 51
    Windows 8.1.1 PRO 64bit


    Oh dear, I thought I would never have to come back to this thread.

    For 11 months, almost to the day since I last did a full re-install of Windows 8.1.1 (6th June 2014), my PC has been sleeping just fine.

    Over that time in terms of hardware, networked devices, etc. nothing has changed. I can almost say the same for software installed on all the PC's in the house. On the 3rd of May I installed a bunch of Windoz updates, all of 'em, "optional". Since then bl##dy SRVNET has reared it's ugly head again. Not to mention several hard system failures which occur shortly after the PC has gone to sleep:

    The computer has rebooted from a bugcheck.
    The bugcheck was: 0x0000009f (0x0000000000000003, 0xffffe0015fbec060, 0xffffd00143fe9960, 0xffffe00165b608f0).

    I really thought all this was behind me.
      My System SpecsSystem Spec

  5. #2035


    Posts : 6
    Windows 8.1


    Quote Originally Posted by BazzaG View Post
    Oh dear, I thought I would never have to come back to this thread.

    For 11 months, almost to the day since I last did a full re-install of Windows 8.1.1 (6th June 2014), my PC has been sleeping just fine.

    Over that time in terms of hardware, networked devices, etc. nothing has changed. I can almost say the same for software installed on all the PC's in the house. On the 3rd of May I installed a bunch of Windoz updates, all of 'em, "optional". Since then bl##dy SRVNET has reared it's ugly head again. Not to mention several hard system failures which occur shortly after the PC has gone to sleep:

    The computer has rebooted from a bugcheck.
    The bugcheck was: 0x0000009f (0x0000000000000003, 0xffffe0015fbec060, 0xffffd00143fe9960, 0xffffe00165b608f0).

    I really thought all this was behind me.
    Could you just do a system restore to that date and see if it returns to normal behavior?
      My System SpecsSystem Spec

  6. #2036


    Posts : 6
    Windows 8.1


    Quote Originally Posted by ACraigL View Post
    Quote Originally Posted by EnricoS View Post
    Hi AcraigL,

    when it doesn't suspend automatically, you could try to detach the LAN cable and then wait for the auto-sleep timeout; if it now sleeps, then something is really being shared.
    Before replacing the driver, my system wouldn't sleep even with no LAN cable connected, so it's worth a try.

    Disconnecting the LAN cable definitely allowed to sleep. After some poking around I noticed that the network and sharing settings was set to control access via a homegroup, even though I never joined one. I set that to username/password, but also altogether disabled file and printer sharing from all profiles.

    Still never slept.

    Then I had an epiphany. I have a media center HTPC and I recalled that I had some media libraries to share my PC. I removed those from the HTPC, and sure enough the computer is sleeping properly again. The easiest things are so often overlooked. Thanks for pointing me in the direction that solved my issue!

    I thought I was out of this, but it's still not sleeping on a daily basis. If I reboot, it seems fine, but at some point during the night, it refuses to sleep. I found a suspect entry in the event viewer:

    Process C:\Windows\System32\svchost.exe (process ID:3272) reset policy scheme from {381b4222-f694-41f0-9685-ff5bb260df2e} to {381b4222-f694-41f0-9685-ff5bb260df2e}

    Event ID: 12
    Source: UserModePowerService

    Once this occurred, no sleep after that. Unfortunately, since this is a generic process, I'm kind of stuck on where to go from here.
      My System SpecsSystem Spec

  7. #2037


    Posts : 51
    Windows 8.1.1 PRO 64bit


    Quote Originally Posted by ACraigL View Post
    Could you just do a system restore to that date and see if it returns to normal behavior?
    Not unless Windows did a "system" backup itself & from my experience it causes too many other problems, given that a "system" backup is not really a proper backup. Personally I would only do a system restore in an emergency.

    However, I did a full system backup using Macrium Reflect before hand installing the updates. If things get really bad, I will consider going back after I've copied various stuff that I've created since then.

    I did log the changes made to my PC by the updates and SRVNET wasn't changed.

    The NET start & stop cmds in EnricoS post work a treat.
      My System SpecsSystem Spec

  8. #2038


    Posts : 9
    Windows 8.1 x64


    Quote Originally Posted by ACraigL View Post

    I thought I was out of this, but it's still not sleeping on a daily basis. If I reboot, it seems fine, but at some point during the night, it refuses to sleep. I found a suspect entry in the event viewer:

    Process C:\Windows\System32\svchost.exe (process ID:3272) reset policy scheme from {381b4222-f694-41f0-9685-ff5bb260df2e} to {381b4222-f694-41f0-9685-ff5bb260df2e}

    Event ID: 12
    Source: UserModePowerService

    Once this occurred, no sleep after that. Unfortunately, since this is a generic process, I'm kind of stuck on where to go from here.
    Hi ACraigL,

    since, as you sad, disconnecting the LAN cable allows it to sleep, when the system is not sleeping automatically you could try these commands in the CMD (Administrator): "openfiles" and "net session"; they will show all the active sharings.

    Hi BazzaG,

    Quote Originally Posted by BazzaG View Post

    The NET start & stop cmds in EnricoS post work a treat.
    since these commands are working for you, you could try to replace the srv.sys driver that i posted here,
    if you haven't already.

    Bye!
      My System SpecsSystem Spec

  9. #2039


    Posts : 6
    Windows 8.1


    Quote Originally Posted by EnricoS View Post

    Hi ACraigL,

    since, as you sad, disconnecting the LAN cable allows it to sleep, when the system is not sleeping automatically you could try these commands in the CMD (Administrator): "openfiles" and "net session"; they will show all the active sharings.
    Thanks. Those commands revealed nothing useful (or at all, frankly). The good news is that my PC is sleeping once again. I changed 2 more things -- or maybe it just got tired of me messing with everything and finally nodded off -- and it's been working for a few days now.


    1. (likely the solution) I changed my login from an online to a local account. It was historically a local account. I think some app suckered me into changing it and I forgot about it.
    2. (maybe?) I installed the Logitech SetPoint software for my wireless keyboard/mouse. This was the same hardware I had prior to windows reinstall, but I never bothered to put this on and was on previously. Perhaps it handles power events better than the windows drivers for this product?


    Thanks for all the tips. Crazy it was this challenging.
    Last edited by ACraigL; 13 May 2015 at 08:39.
      My System SpecsSystem Spec

  10. #2040


    Posts : 9
    Windows 8.1 x64


    Quote Originally Posted by ACraigL View Post
    Quote Originally Posted by EnricoS View Post

    Hi ACraigL,

    since, as you sad, disconnecting the LAN cable allows it to sleep, when the system is not sleeping automatically you could try these commands in the CMD (Administrator): "openfiles" and "net session"; they will show all the active sharings.
    Thanks. Those commands revealed nothing useful (or at all, frankly). The good news is that my PC is sleeping once again. I changed 2 more things -- or maybe it just got tired of me messing with everything and finally nodded off -- and it's been working for a few days now.


    1. (likely the solution) I changed my login from an online to a local account. It was historically a local account. I think some app suckered me into changing it and I forgot about it.
    2. (maybe?) I installed the Logitech SetPoint software for my wireless keyboard/mouse. This was the same hardware I had prior to windows reinstall, but I never bothered to put this on and was on previously. Perhaps it handles power events better than the windows drivers for this product?


    Thanks for all the tips. Crazy it was this challenging.
    Hi,


    I'm quite sure that your problem is no more related to sharing and srvnet etc; maybe changing to a local account solved your problem because the system isn't performing synchronization tasks anymore.
    In fact many synchronization and planned maintenance tasks prevent the system to sleep automatically, even without "power requests"; also, I think, these task are usually performed when the system is idling, just when we want to make it sleep.
    Logitech driver/software will help for sure but I think that the auto-sleep works well with Windows bundled drivers. Good luck!!
      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