Home > Windows

How to Disable Login after Sleep in Windows 11 [5 Methods]

In this guide, we will show you various methods to disable the login screen after your Windows 11 PC wakes up from sleep. Once you leave your PC unattended for a certain duration, it will automatically go to sleep. This is done to preserve the battery life and understandably, not many users have any issue with that. However, once you try to interact with your PC again, you will first have to type in your account credentials.

If this is your personal computer or you are the sole one using this PC, then this might be a cumbersome task in verifying your credibility every time when you wake your PC from sleep. So could we do something to prevent this behavior of the OS, apart from simply disabling the Sleep Mode (which will end up doing more harm than good)?

Well, turns out there are a few nifty ways of preventing the computer from asking for the log-in password every time when it wakes up from sleep. And in this guide, we will help you with just that. So without further ado, let’s get started with the methods to disable the login screen after sleep in Windows 11.

How to Disable Login after Sleep in Windows 11

How to Disable Login after Sleep in Windows 11

There exist four different approaches to carry out the said task, and we have listed all of them below. Go through each of them and then carry out the one that is in sync with your requirement.

Method 1: Via Settings Menu

While this is a pretty straightforward method, but not all PC supports it. To verify whether it is supported on  your system or not, launch the CMD window as an admin and execute the below command:

powercfg -a

How to Disable Login after Sleep in Windows 11

If the result is along the lines of Standby (S0 Low Power Idle) Network Connected or Standby (S0 Low Power Idle) Network Disconnected, then you could proceed ahead with this method. However, if the output comes out as Standby (S0 Low Power Idle)- “The system firmware does not support this standby state.” then this method might not work on your PC and you should move over to Method 2.

  1. Use the Windows+I shortcut keys to open the Settings menu.
  2. Then select Accounts from the left-hand menu and go to Sign-in options.
    How to Disable Login after Sleep in Windows 11
  3. 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.

From now on, Windows will no longer ask for your credentials when you wake it up from sleep. And with this, we round off the first method to disable the login screen after sleep in Windows 11. Let’s check out the other four.

Method 2: Via CMD Window

In this method, you just have to execute a couple of commands in the Command Prompt and your task stands complete. The first command will disable the login screen when your laptop is running on battery whereas the second command will do so when your laptop is charging. For best results, you should execute both these commands.  Here’s how:

  1. To begin with, head over to the Start Menu, search CMD, and launch Command Prompt as an administrator.
  2. Then type in the below command to disable the login screen when the PC is on battery
    powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0

    How to Disable Login after Sleep in Windows 11

  3. Now execute the below command to disable the login screen when the laptop is charging
    powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0

    How to Disable Login after Sleep in Windows 11

That’s it. This is how you could disable the login screen after sleep in Windows 11 using the Command Prompt. Let’s now make you aware of the other three methods to carry out this task.

Method 3: Via Local Security Policy

The Local Security Policy is responsible for handling all the security-related rules and regulations that are implemented on your PC. So as of now, we will be instructing it not to ask for the password once the PC wakes from sleep. Here’s how:

  1. Bring up the Run dialog box via Windows+R shortcut keys.
  2. Then type in the below command and hit Enter to open the Local Security Policy.
    secpol.msc

    How to Disable Login after Sleep in Windows 11

  3. Now expand Local Policies from the left menu bar and select “Security Options”.
  4. Next up, double click on the “Interactive Logon: Machine inactivity limit” option present on the right-hand side.
    How to Disable Login after Sleep in Windows 11
  5. Finally, type in 0 under the “Machine will be locked after” field and hit Apply > OK.
    How to Disable Login after Sleep in Windows 11

So from now on, while the PC would still go to sleep, it wouldn’t bring the log-in screen. And with this, we complete the third method to disable the login screen after sleep in Windows 11. Let’s now check out the other two method.

Method 4: Via Registry Editor

In this method, we will be creating a new DWord File titled DelayLockInterval and assign the False i.e. 0 value (something similar to what we did in Method 3). In other words, we will be disabling the sign-in behavior of Windows as soon as it wakes from sleep.

  1. So use Windows+R shortcut keys to open the Run dialog box.
  2. Then type in the below command and hit Enter. It shall open the Registry Editor.
    regedit

    open registry editor in windows 11

  3. After that, copy-paste the below location in the address bar:
    HKEY_CURRENT_USER\Control Panel\Desktop
  4. Now right-click on the Desktop folder and select New > Dword (32-bit Value).
    How to Disable Login after Sleep in Windows 11
  5. Give it the name DelayLockInterval and hit OK to save it.
  6. Now just open this file once and make sure that it gets assigned the 0 value under the Value Data field.
    How to Disable Login after Sleep in Windows 11
  7. That’s it. Thse were the steps to disable the login screen after sleep in Windows 11 using Registry Editor. Let’s now make you aware of the fifth and final method.

Method 5: Using Group Policy Editor

By default, the Group Policy Editor is only available in the Pro and Enterprise editions of Windows. However, using a nifty workaround, you could easily enable it on the Home Edition as well. So refer to our guide on How to Enable Group Policy Editor in Windows 11 Home. Once done, you may then proceed with the below steps:

  1. To begin with, use the Windows+R shortcut keys to open the Run dialog box
  2. Then type in the below command and hit Enter to open the Group Policy Editor
    gpedit.msc

    How to Enable Group Policy Editor in Windows 11 Home

  3. Now head over to the following location from the left-hand side menu bar:
    Local Computer Policy > Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings
  4. Once you reach Sleep Settings, double click on “Require a password when a computer wakes (Plugged in)” from the right-hand side.
    How to Disable Login after Sleep in Windows 11
  5. Then select Disabled from the menu that appears and hit Apply > OK.
    How to Disable Login after Sleep in Windows 11
  6. Now again go to the Sleep Settings, and this time, double click on “Require a password when a computer wakes (On battery)”.
    How to Disable Login after Sleep in Windows 11
  7. As before, select Disabled from the menu that appears and hit Apply > OK. That’s it.
    How to Disable Login after Sleep in Windows 11

So with this, we round off the guide on how you could disable the login screen after sleep in Windows 11. Do keep in mind that you should only disable this sign-in screen after sleep if you are the only one using this PC. If this is a shared setup, then don’t implement these steps as it could prove to be a privacy scare. On that note, we round off this guide. All your queries are welcomed in the comments section below.


Share:
  • A. Vogel

    Well, I tried every method here (except #1 because apparently my brand new motherboard doesn’t support that) and no luck. It kept showing the lock screen after sleeping. Turns out I had to restart Windows to get it to take effect. And to think this used to be a simple check box in the control panel…