Windows 10 randomly goes blank and lock screen displays on wakeup

So this is a strange one.  You set all the power settings correctly and yet every now and again the system goes into suspend mode.  This can be terribly annoying because you have to put in your credentials to unlock the screen after coming out of suspend.  And worse yet, this can happen in as short of a time as two minutes!  Yes, 2 minutes.

Turns out the standard time out when a computer is left unattended with no user logged in is two minutes.  But, here’s the rub, you can’t change that by default!  Now you may ask why in the world would that setting even come in to play if the user is still logged in?  That’s a good question and likely a bug (or feature if you are a Softy).  In any case one fix for this annoying situation is to uncover the unattended timeout setting via a registry setting change.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Double click on Attributes
Enter number 2.

Now go back to advanced power settings in the power control panel/power plan.  You should see the “system unattended sleep timeout” setting which will be set to 2.  change it to something longer or zero which will disable unattended sleep.

This bug/feature is present in windows 10 up through 1803 at least.

More on this.  Why does this appear to be random?  Well, it’s not really random.  There is another hidden setting that has an affect on this.  Its called “Allow sleep with remote opens”  and by default it is set to On under battery power and OFF when under AC power.  So what is a remote open?  Terminal emulation?  Nope.   Outlook Email?  Nope.  Web browsing?  Nope.  A document that is saved on a server?  YES.   So the user may not realize what they have open when the mysterious sleepy time hits.  And good luck in getting an accurate answer when you ask them about what they do or don’t have open.

  1. No comments yet.
(will not be published)
Subscribe to comments feed
  1. No trackbacks yet.

SetPageWidth