Do you find it frustrating when your Windows computer goes to sleep and locks itself when you leave it unattended?
Fortunately, thereâs a way to stop Windows from sleeping by changing your system settings.
In this article, you will learn
Table of Contents
Why Windows Sleeps When Locked
Windows goes to sleep when locked due to the system setting defined by Microsoft Windows.
These are set to save the power and life of the machine.
But sleeping stops processing happening in the background which users donât want always.
How to Stop Windows From Sleeping When Locked
In order to stop Windows from going to sleep we need to change the system settings that are in REGIT.
1. Open the RUN BOX
You need to open Run Box which will help you open Regit. You can open it by pressing Ctrl + R. Or typing in a search.
2. Open REGIT
To open Registry Editor you need to type âregeditâ in the Run dialog box or âregedit.exeâ and hit enter. This will open the Registry Editor.
3. Open Location
Navigate to the following location. copy it and paste it.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
4. Change Attribute
You need to Change the Attribute Value In the Registry Editor.
Here, youâll see a list of attributes. Find the attribute named âAttributesâ and double-click on it.
In the window that opens, change the value to 2 and click OK. This will open up the advanced settings.
5. Go to Sleep Setting
In order to go to sleep setting you need to open the control panel.
You can do this by searching âControl Panelâ in the Start menu.
You need to change the view in the control menu to the large icon.
This will make it easier to find the next setting we need to change.
Now open Power Options Next, double-click on the Power Options icon.
Now change click on the âChange when the computer sleepsâ link on the left side of the screen.
Now click on the âChange advanced power settingsâ link.
Scroll down to find the âSleepâ setting, and expand it.
Find the âSystem unattended sleep timeoutâ setting and click on it to expand it.
Change the time value to the desired amount of time that you want your computer to stay awake when itâs locked.
Conclusion
Following these simple steps, you can prevent your Windows computer from sleeping when itâs locked.
This can be helpful if you need to leave your computer unattended for a short period of time and donât want to have to log back in when you return.
We hope you found this article helpful. If you have any questions or comments, please feel free to leave them below. Thanks for reading!