Skip to content

How to Stop Windows From Sleeping When Locked

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 change your system settings so that your computer stays awake even when it’s locked. In this article, we’ll walk you through the steps to stop Windows from sleeping when locked.

Step 1 – Open Run The first step is to open the Run dialog box. You can do this by clicking on the Start menu and typing in “run” or by pressing the Control and R keys together.

Step 2 – Open Registry Editor In the Run dialog box, type in “regedit” or “regedit.exe” and hit enter. This will open the Registry Editor.

Step 3 – Copy Code from Description In the video description or in the article’s description, you will find a code or text that you need to copy. This code will be used in the next step.

Step 4 – Change Attribute Value In the Registry Editor, navigate to the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0.

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.

Step 5 – Open Control Panel Now, open the Control Panel. You can do this by searching for it in the Start menu.

Step 6 – Change View In the Control Panel, change the view to large icons. This will make it easier to find the next setting we need to change.

Step 7 – Open Power Options Next, double-click on the Power Options icon.

Step 8 – Change Computer Sleep Settings Click on the “Change when the computer sleeps” link on the left side of the screen.

Step 9 – Change Advanced Settings In the next screen, click on the “Change advanced power settings” link.

Step 10 – Open Sleep Settings In the Power Options dialog box, scroll down to find the “Sleep” setting and expand it.

Step 11 – Open System Unattended Sleep Timeout Find the “System unattended sleep timeout” setting and click on it to expand it.

Step 12 – Change Time Finally, change the time value to the desired amount of time that you want your computer to stay awake when it’s locked.

Conclusion By 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!