Windows 10 goes to sleep outside listed sleep times
-
Troubleshooting a similar issue affecting Dell Precision 5400 and Latitude 7400. In Googling one of those registry strings, I ended up at the following page.
https://docs.microsoft.com/en-us/windows/win32/power/power-policy-settingsI wonder if this is why I only saw the balanced plan available in the power settings.
-
After modifying the registry settings, I still have the same issue. I can accelerate the issue if I set the system to turn the screen off after 1 minute, the system will sleep immediately after the screen turns off.
-
@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:
@scottalanmiller said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
For the record, at home, I use the actual hibernation on 3 desktops ALL THE TIME. I never actually use shutdown. I can wake them up using my phone from anywhere. When I am done, I hibernate. That isn't to say that I don't reboot them from time to time.
While I generally hate it, I can make somewhat obvious cases for why actual hibernate would exist. I don't want it in any business because Windows seems unstable with it. It creates all kinds of support issues. But there is a reason for it to exist. But this weird half assed hibernation where the apps are shut down? That's useless.
Exactly. I disable hibernation at work. Sleep also creates all sorts of issues that a reboot will fix. All desktops have any type of sleep/hibernate disabled because there is no need and it potentially introduces all sorts of issues.
So you're a totally anti-green type guy.. no desire to save any electrical power
I am for efficiency. If sleep didn't cause problems and wake over wlan worked, I would do that.
Sleep definitely used to cause me all kinds of problems, though it seems to be working (in general) much better than it used it.
WOL - when it works is wonderful! I use it frequently from ConnectWise - we have a single machine on the network never sleep, and that machine wakes anyone I need - normally at least.
-
@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:
@scottalanmiller said in Windows 10 goes to sleep outside listed sleep times:
@wrx7m said in Windows 10 goes to sleep outside listed sleep times:
For the record, at home, I use the actual hibernation on 3 desktops ALL THE TIME. I never actually use shutdown. I can wake them up using my phone from anywhere. When I am done, I hibernate. That isn't to say that I don't reboot them from time to time.
While I generally hate it, I can make somewhat obvious cases for why actual hibernate would exist. I don't want it in any business because Windows seems unstable with it. It creates all kinds of support issues. But there is a reason for it to exist. But this weird half assed hibernation where the apps are shut down? That's useless.
Exactly. I disable hibernation at work. Sleep also creates all sorts of issues that a reboot will fix. All desktops have any type of sleep/hibernate disabled because there is no need and it potentially introduces all sorts of issues.
So you're a totally anti-green type guy.. no desire to save any electrical power
I am for efficiency. If sleep didn't cause problems and wake over wlan worked, I would do that.
Sleep definitely used to cause me all kinds of problems, though it seems to be working (in general) much better than it used it.
WOL - when it works is wonderful! I use it frequently from ConnectWise - we have a single machine on the network never sleep, and that machine wakes anyone I need - normally at least.
I have a lot more laptops on wifi only these days. I would love to get WOWL setup.
-
@Dashrender said in Windows 10 goes to sleep outside listed sleep times:
WOL - when it works is wonderful! I use it frequently from ConnectWise - we have a single machine on the network never sleep, and that machine wakes anyone I need - normally at least.
yeah, if everything honours that, it's a great feature.
-
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
-