Windows 10 goes to sleep outside listed sleep times
-
My problem seems to occur when the screen sleeps. So, if someone locks their system, the screen times out, then the system sleeps. The only thing that seems to work, is to disable the screen sleep, even when locked.
I found a similar registry entry (hat tip: https://www.onmsft.com/how-to/adjust-windows-10-lock-screen-timeout)
HKEYLOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7 Change Attributes to 2
After that, you should be able to see the "Console lock display off timeout" option in the Power Options>Advanced Settings>Display. Set it to 0 minutes.
-
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
My problem seems to occur when the screen sleeps. So, if someone locks their system, the screen times out, then the system sleeps. The only thing that seems to work, is to disable the screen sleep, even when locked.
I found a similar registry entry (hat tip: https://www.onmsft.com/how-to/adjust-windows-10-lock-screen-timeout)
HKEYLOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7 Change Attributes to 2
After that, you should be able to see the "Console lock display off timeout" option in the Power Options>Advanced Settings>Display. Set it to 0 minutes.
yeah, just like my timeout issue - you have to change a reg key to get visual access to change it in the GUI.
-
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
My problem seems to occur when the screen sleeps. So, if someone locks their system, the screen times out, then the system sleeps. The only thing that seems to work, is to disable the screen sleep, even when locked.
I found a similar registry entry (hat tip: https://www.onmsft.com/how-to/adjust-windows-10-lock-screen-timeout)
HKEYLOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7 Change Attributes to 2
After that, you should be able to see the "Console lock display off timeout" option in the Power Options>Advanced Settings>Display. Set it to 0 minutes.
yeah, just like my timeout issue - you have to change a reg key to get visual access to change it in the GUI.
yeah. Why did they do this? It is so stupid. Now, with the modern power "feature", you don't even get more than the balanced profile and they take away almost all the useful customization options.
-
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
-
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
console lock display timeout
Found this command to run after you modify the reg key to enable the setting-
powercfg.exe /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 0
That will set the "Console lock display off timeout" option to 0 (never).
-
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
I had to make reg changes via GPO for mine.. it was pretty easy.
-
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
I had to make reg changes via GPO for mine.. it was pretty easy.
Now, if I could figure out which registry setting is to set the "Console lock display off timeout" option to 0, I could just do a single step using a reg GPO.
-
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
I had to make reg changes via GPO for mine.. it was pretty easy.
Now, if I could figure out which registry setting is to set the "Console lock display off timeout" option to 0, I could just do a single step using a reg GPO.
You could also do a logon script that runs the powercfg line
-
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
I had to make reg changes via GPO for mine.. it was pretty easy.
Now, if I could figure out which registry setting is to set the "Console lock display off timeout" option to 0, I could just do a single step using a reg GPO.
You could also do a logon script that runs the powercfg line
I think I am just going to use PDQ Deploy for the powercfg command and set the command to run during the initial deployment phase. It should only need to be run once.
-
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
Trying to find the console lock display timeout settings for the GPO. Doesn't exist as far as I can tell. I guess I will just have to modify the reg and manually make the change.
I had to make reg changes via GPO for mine.. it was pretty easy.
Now, if I could figure out which registry setting is to set the "Console lock display off timeout" option to 0, I could just do a single step using a reg GPO.
You could also do a logon script that runs the powercfg line
I think I am just going to use PDQ Deploy for the powercfg command and set the command to run during the initial deployment phase. It should only need to be run once.
I'd be worried that future major updates (the twice yearly thing) might reset it... so finding a way to keep it (stateful) would be good.
-
Necro-post
found the issue for this problem.
There is a registry setting that puts the computer back to sleep if not used after woken from sleep after a VERY short amount of time.
i.e. the computer is sleeping - the mouse is bumped - wakes - but is otherwise not used - this timer goes back to sleep fast.
The problem is sometimes a computer gets stuck with this time and keeps it active even if the computer is used.Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
REG_DWORD Attributes 2
This will disable this feature.
-
@Dashrender nice
-