How to Disable Login after Sleep in Windows 11 or 10?

When you leave your PC unattended for a specific duration, it automatically goes to sleep to preserve the battery life. You will first have to type in your account credentials to enter your PC. Most Windows users are happy with this behavior. However, if you use your personal computer and are the only user of your PC, you might want to turn off this function if you feel there is no need to verify your credentials whenever your PC wakes from sleep.

There are a few ways in Windows 11 and 10 to prevent your computer from asking for the log-in password whenever it wakes up from sleep.

In this gearupwindows article, we will guide you with the methods to disable the login screen after sleep in Windows 11.

How to Disable Login after Sleep in Windows 11 using Settings?

To turn off login after sleep in Windows 11 through Settings, use the following steps:-

Step 1. First, open the Settings app.

To do that, you can use Windows + I hotkey. Alternatively, right-click on the Start button and select Settings in the pop-up menu.

Step 2. Then, select Accounts from the left-hand menu.

Step 3. After that, click the tile on the right-side that says Sign-in options.

Step 4. Now, go to the Additional settings section, click on the drop-down menu next to “If you’ve been away, when should Windows require you to sign in again?” and select Never option.

From now onwards, Windows 11 will no longer ask for your credentials when your PC wakes up from sleep.

How to Turn Off Login after Sleep in Windows 11 or 10 via Local Security Policy?

Using the Local Security Policy, you can configure security-related rules and regulations on your PC. So, here are the steps to configure your Windows 11 machine not to ask for the password once the PC wakes from sleep:-

Step 1. First, bring up the Run dialog box using the Windows + R hotkey.

Step 2. Then, type in the following command and hit the Enter key on the keyboard to open the Local Security Policy:-


Step 3. Next, expand Local Policies on the left side and select Security Options.

Step 4. Now, double click on the Interactive Logon: Machine inactivity limit option present on the right-hand side to open its Properties dialog.

Step 5. Next, type in 0 under the “Machine will be locked after” field.

Step 6. Click Apply.

Step 7. Hit OK.

Step 8. Finally, reboot your computer to apply the changes.

The next time you wake your PC from sleep, it wouldn’t bring up the log-in screen.

How to Disable Login after Sleep in Windows 11 or 10 through Registry Editor?

To disable login after sleep in Windows 11 through Registry Editor, do the following:-

Step 1. Very first, open the Registry Editor.

Step 2. When Registry Editor opens, copy-paste the following in the address bar to go to the Desktop key:-

HKEY_CURRENT_USER\Control Panel\Desktop

Step 3. Next, right-click on the Desktop folder and select New > DWORD (32-bit Value).

Step 4. After that, name the newly created REG_DWORD as DelayLockInterval.

Step 5. Next, double-click on the DelayLockInterval and set its Value data to 0.

Good luck.

Previous articleHow to Bypass “This PC Can’t Run Windows 11” Error during Windows 11 Setup?
Next articleHow to Fix “Show accent color on Start and taskbar” Grayed Out on Windows 11?


  1. “If you’ve been away, when should Windows require you to sign in again?” is not appearing in Advanced options where you said above that it would.
    I am on latest updated w11-64bit.
    What did I do wrong?

Leave a reply

Please enter your comment!
Please enter your name here