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

    Windows 10 goes to sleep outside listed sleep times

    IT Discussion
    dashrender windows 10 power management sleep
    10
    52
    1994
    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.
    • Dashrender
      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
      
      
      WrCombs 1 Reply Last reply Reply Quote 0
      • Dashrender
        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
        • Dashrender
          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
          • WrCombs
            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
            • kamidon
              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.

              Dashrender 1 Reply Last reply Reply Quote -1
              • Dashrender
                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
                • Dashrender
                  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.

                  JaredBusch 1 Reply Last reply Reply Quote 0
                  • JaredBusch
                    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

                    wrx7m 1 Reply Last reply Reply Quote 3
                    • wrx7m
                      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.

                      RojoLoco 1 Reply Last reply Reply Quote 1
                      • RojoLoco
                        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

                        WrCombs wrx7m 2 Replies Last reply Reply Quote 0
                        • WrCombs
                          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
                          • wrx7m
                            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?

                            JaredBusch 1 Reply Last reply Reply Quote 0
                            • JaredBusch
                              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.

                              wrx7m Dashrender 2 Replies Last reply Reply Quote 1
                              • wrx7m
                                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
                                • Dashrender
                                  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

                                  JaredBusch J 2 Replies Last reply Reply Quote 0
                                  • JaredBusch
                                    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.

                                    scottalanmiller 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
                                      • scottalanmiller
                                        scottalanmiller @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:

                                        @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.

                                        Well that seems right on the verge of pointless. The OS itself doesn't take long to come up, and if my state is all lost, I've gone through 95% of the effort of powering down with only 10% of the benefit.

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

                                          @scottalanmiller 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:

                                          @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.

                                          Well that seems right on the verge of pointless. The OS itself doesn't take long to come up, and if my state is all lost, I've gone through 95% of the effort of powering down with only 10% of the benefit.

                                          Exactly - and as such is why it's not hibernation.

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

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

                                            @scottalanmiller 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:

                                            @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.

                                            Well that seems right on the verge of pointless. The OS itself doesn't take long to come up, and if my state is all lost, I've gone through 95% of the effort of powering down with only 10% of the benefit.

                                            Exactly - and as such is why it's not hibernation.

                                            Seriously - who needs this? I surely don't. If I'm rebooting - it's because I need a kernel restart/reload, not as a way to kill all my applications - a logoff/logon does that.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post