Solved - fix Windows sleep mode problem
The fix on this page applies to Windows vista, 7, or 8 when upgrading to Windows 10 or maybe later versions.
Since my desktop Windows was upgraded, it started to experience Sleep problem all over again - as soon as the computer sleeps just once, it automatically puts itself back to Sleep mode in two minutes when idle. I tried changing sleep settings and power plans, standby, sleep, hibernate, etc. settings on Never, or Always On in Control Panel->Hardware and Sound->Power Options but to no avail. The only fix is restarting the computer, the problem is gone after that.
It's quite annoying as I need enter my username and password again each time after the computer wakes up. This problem happened a few years ago after upgrading to Windows 8 but I could only remember the fix had something to do with tweaking registry settings. A quick search and found the registry solution again. So I decided to note it down this time just in case I might need it in the future.
If you have the same problem on your PC or laptop, try these fixes.
Fix #1. Wake up by power button
To wake up the computer from sleep, try use the power button on the computer rather than the external keyboard or mouse. This works on my PC, but if I wake it up by pressing a key or moving the mouse, it still goes to sleep in a minute or so of inactivity, so it's not a perfect solution. Also some people may not find it practical to press the button, especially on laptops.
Fix #2. Fix registry (Note you must restart after changing these registry values)
This fix involves manual changes of registry settings for power plans. Before you do, make sure you back up the registry first, you can restore it if anything goes wrong.
These power settings in registry are called "System Unattended Sleep Timeout", and are not available in GUI on Microsoft Windows Vista, 7, 8, 10, or maybe later versions. The only way to change them is by modifying the settings manually.
1) Open Registry Editor
Click the Start button, then click Run, type regedit and press Enter. Alternatively, you can press Win Key + R, it brings up the Run box, then type regedit into it. If you don't see the Start button in your Windows, download and install Classic Shell.
2) In Registry Editor, navigate to the following registry subkey.
Each of the subkeys corresponds to one of the power plans.
3) Change values in the ACSettingIndex and DCSettingIndex.
Click on each subkey, you can see in the right pane of the Registry Editor, each of the subkeys has a ACSettingIndex and DCSettingIndex value entry. The default value is 120 in seconds where computer goes to sleep automatically if unattended. You need to change it to a higher timeout value such as 1800 seconds (which is 30 minutes), or set the value to 0 to turn off the feature completely.
ACSettingIndex is used for when the computer is plugged in AC power. The DCSettingIndex is used for when computer is on battery power.
To change the value, double click ACSettingIndex or DCSettingIndex to bring up the small dialog box, then select Decimal. In the Value data box, enter your desired value, then click OK and Close Registry Editor. Remember to restart your computer to allow the changes taking into effect.
Fix #3. Constantly play a media in the background
If the registry fix above still does not make things better, you can record an audio or video file, then play the file in Repeat mode in your favorite media player. This keeps the computer busy with very little CPU consumption so the Sleep mode never kicks in.
Copyright © 2017 GeeksEngine.com. All Rights Reserved.
This website is hosted by HostGator.
No portion may be reproduced without my written permission. Software and hardware names mentioned on this site are registered trademarks of their respective companies. Should any right be infringed, it is totally unintentional. Drop me an email and I will promptly and gladly rectify it.