ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows 10 goes to sleep outside listed sleep times

    IT Discussion
    dashrender windows 10 power management sleep
    10
    54
    6.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      manxam @Dashrender
      last edited by

      @Dashrender : I literally JUST went through this with a client. All GPO's configured to monitor sleep & lock after 15 minutes which, after a fresh reboot, was stable.
      Once the monitor went to sleep and was wakened, the systems would go to full sleep every 2 minutes.
      I had to apply the same registry "hack" via GPO.

      This was extremely annoying to the staff and made us look pretty incompetent as the control panel, powercfg.exe, etc all showed that the settings were being applied properly.

      Ugh..

      DashrenderD 2 Replies Last reply Reply Quote 1
      • DashrenderD
        Dashrender @manxam
        last edited by

        @manxam said in Windows 10 goes to sleep outside listed sleep times:

        @Dashrender : I literally JUST went through this with a client. All GPO's configured to monitor sleep & lock after 15 minutes which, after a fresh reboot, was stable.
        Once the monitor went to sleep and was wakened, the systems would go to full sleep every 2 minutes.
        I had to apply the same registry "hack" via GPO.

        This was extremely annoying to the staff and made us look pretty incompetent as the control panel, powercfg.exe, etc all showed that the settings were being applied properly.

        Ugh..

        Yeah the hidden setting is just dumb!!

        1 Reply Last reply Reply Quote 1
        • DashrenderD
          Dashrender @manxam
          last edited by

          @manxam said in Windows 10 goes to sleep outside listed sleep times:

          @Dashrender : I literally JUST went through this with a client. All GPO's configured to monitor sleep & lock after 15 minutes which, after a fresh reboot, was stable.
          Once the monitor went to sleep and was wakened, the systems would go to full sleep every 2 minutes.
          I had to apply the same registry "hack" via GPO.

          This was extremely annoying to the staff and made us look pretty incompetent as the control panel, powercfg.exe, etc all showed that the settings were being applied properly.

          Ugh..

          Hey
          @manxam enabling this via GPO only makes the setting visible. Did your users then have to manually set it?

          I'm trying to find a way to set the actual setting to a value using GPO - did you find one?

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender
            last edited by Dashrender

            I think I've figured it out.

            The dwords need to be replaced with the hex value you want for the auto sleep after wakeup with no user interaction to kick in.
            The value set in my example is 120 seconds (the default). You should make your values higher than your normal sleep timeout. Example, if sleep is set after 15 mins, you should use dword:00000384

            The three different sections are for

             [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0]
             "Attributes"=dword:00000002
            
            [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e]
            "AcSettingIndex"=dword:00000078
            "DcSettingIndex"=dword:00000078
            
            [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c]
            "AcSettingIndex"=dword:00000078
            "DcSettingIndex"=dword:00000078
            
            [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\a1841308-3541-4fab-bc81-f71556f20b4a]
            "AcSettingIndex"=dword:00000078
            "DcSettingIndex"=dword:00000078
            
            
            WrCombsW 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              Sigh - these registry settings don't fix the issue.

              And I'm starting to get more users complaining about this issue.

              So far I only seem to be able to fix it manually via the GUI.

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by Dashrender

                I figure I owe an update here.

                These reg entries are in hex... 00000078 = 120 (seconds) in decimal. i.e. 2 mins.. sigh I completely over looked this. No wonder the times weren't changing.

                1 Reply Last reply Reply Quote 1
                • WrCombsW
                  WrCombs @Dashrender
                  last edited by

                  @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                  I think I've figured it out.

                  The dwords need to be replaced with the hex value you want for the auto sleep after wakeup with no user interaction to kick in.
                  The value set in my example is 120 seconds (the default). You should make your values higher than your normal sleep timeout. Example, if sleep is set after 15 mins, you should use dword:00000384

                  The three different sections are for

                   [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0]
                   "Attributes"=dword:00000002
                  
                  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e]
                  "AcSettingIndex"=dword:00000078
                  "DcSettingIndex"=dword:00000078
                  
                  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c]
                  "AcSettingIndex"=dword:00000078
                  "DcSettingIndex"=dword:00000078
                  
                  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues\a1841308-3541-4fab-bc81-f71556f20b4a]
                  "AcSettingIndex"=dword:00000078
                  "DcSettingIndex"=dword:00000078
                  
                  

                  So would the answer be 0 if you never want the device to Sleep?

                  1 Reply Last reply Reply Quote 0
                  • kamidonK
                    kamidon
                    last edited by kamidon

                    I had this issue with my HP Omen, but it went away after going back to Windows from Fedora...when I failed miserably to play games on Linux....lol

                    My workaround was just to turn sleep mode off. I just did this via the GUI in settings.

                    DashrenderD 1 Reply Last reply Reply Quote -1
                    • DashrenderD
                      Dashrender @kamidon
                      last edited by

                      @kamidon said in Windows 10 goes to sleep outside listed sleep times:

                      My workaround was just to turn sleep mode off. I just did this via the GUI in settings.

                      Yeah disabling sleep mode would solve the issue.

                      @WrCombs said in Windows 10 goes to sleep outside listed sleep times:

                      So would the answer be 0 if you never want the device to Sleep?

                      That's a good question - nothing I ran into showed that as an option. Everything pointed to just making it longer.

                      But this is a non issue if you disable Sleep mode completely.

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender
                        last edited by

                        Small update - something else to consider changing - disable Fast Boot.

                        Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @Dashrender
                          last edited by

                          @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                          Small update - something else to consider changing - disable Fast Boot.

                          Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                          Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                          wrx7mW 1 Reply Last reply Reply Quote 3
                          • wrx7mW
                            wrx7m @JaredBusch
                            last edited by

                            @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                            @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                            Small update - something else to consider changing - disable Fast Boot.

                            Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                            Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                            Interesting. But, they also still have hibernation.

                            RojoLocoR 1 Reply Last reply Reply Quote 1
                            • RojoLocoR
                              RojoLoco @wrx7m
                              last edited by

                              @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                              @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                              @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                              Small update - something else to consider changing - disable Fast Boot.

                              Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                              Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                              Interesting. But, they also still have hibernation.

                              Easy to fix that - admin CMD window -> powercfg -hibernate off

                              WrCombsW wrx7mW 2 Replies Last reply Reply Quote 0
                              • WrCombsW
                                WrCombs @RojoLoco
                                last edited by

                                @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                Small update - something else to consider changing - disable Fast Boot.

                                Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                Interesting. But, they also still have hibernation.

                                Easy to fix that - admin CMD window -> powercfg -hibernate off

                                powercfg-hibernate off
                                

                                is what you're thinking ?

                                1 Reply Last reply Reply Quote 0
                                • wrx7mW
                                  wrx7m @RojoLoco
                                  last edited by wrx7m

                                  @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                  @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                  @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                  @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                  Small update - something else to consider changing - disable Fast Boot.

                                  Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                  Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                  Interesting. But, they also still have hibernation.

                                  Easy to fix that - admin CMD window -> powercfg -hibernate off

                                  I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @wrx7m
                                    last edited by

                                    @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                    @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                    @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                    @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                    @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                    Small update - something else to consider changing - disable Fast Boot.

                                    Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                    Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                    Interesting. But, they also still have hibernation.

                                    Easy to fix that - admin CMD window -> powercfg -hibernate off

                                    I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                    You don't understand fast boot is hibernation. it is 100% the same thing. Just automatic.

                                    wrx7mW DashrenderD 2 Replies Last reply Reply Quote 1
                                    • wrx7mW
                                      wrx7m @JaredBusch
                                      last edited by

                                      @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                      @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                      @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                      @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                      @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                      @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                      Small update - something else to consider changing - disable Fast Boot.

                                      Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                      Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                      Interesting. But, they also still have hibernation.

                                      Easy to fix that - admin CMD window -> powercfg -hibernate off

                                      I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                      You don't understand fast boot is hibernation. it is 100% the same thing. Just automatic.

                                      Ahhh. I see.

                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @JaredBusch
                                        last edited by

                                        @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                        @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                        @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                        @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                        @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                        @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                        Small update - something else to consider changing - disable Fast Boot.

                                        Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                        Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                        Interesting. But, they also still have hibernation.

                                        Easy to fix that - admin CMD window -> powercfg -hibernate off

                                        I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                        You don't understand fast boot is hibernation. it is 100% the same thing. Just automatic.

                                        Nope - not according to MS
                                        https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation

                                        JaredBuschJ J 2 Replies Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @Dashrender
                                          last edited by

                                          @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                          @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                          @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                          @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                          @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                          @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                          @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                          Small update - something else to consider changing - disable Fast Boot.

                                          Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                          Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                          Interesting. But, they also still have hibernation.

                                          Easy to fix that - admin CMD window -> powercfg -hibernate off

                                          I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                          You don't understand fast boot is hibernation. it is 100% the same thing. Just automatic.

                                          Nope - not according to MS
                                          https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation

                                          You read that wrong. it is 100% hibernation. The only thing that article states is that unlike user requested hibernation, it closes all applications first.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • J
                                            JasGot @Dashrender
                                            last edited by

                                            @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                            @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                            @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                            @RojoLoco said in Windows 10 goes to sleep outside listed sleep times:

                                            @wrx7m said in Windows 10 goes to sleep outside listed sleep times:

                                            @JaredBusch said in Windows 10 goes to sleep outside listed sleep times:

                                            @Dashrender said in Windows 10 goes to sleep outside listed sleep times:

                                            Small update - something else to consider changing - disable Fast Boot.

                                            Fast Boot means when you restart the computer, it doesn't do a full shutdown. It's likely that counters that are often reset upon a full reboot, aren't reset on a Fast Boot.

                                            Fast boot used to be called hibernation. It is a fucking stupid nasty feature

                                            Interesting. But, they also still have hibernation.

                                            Easy to fix that - admin CMD window -> powercfg -hibernate off

                                            I meant, they still have a separate function for hibernate. Why would they offer both, if they are the same thing?

                                            You don't understand fast boot is hibernation. it is 100% the same thing. Just automatic.

                                            Nope - not according to MS
                                            https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation

                                            "... a fast startup simply loads the hibernation file (Hiberfil.sys) into memory to restore the previously saved image of the Windows kernel and loaded drivers."

                                            This is a hibernation explanation is its simplest form.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post