How to Enable or Disable Password After Sleep in Windows 11

You can use either the Windows Terminal to adjust these settings

by Henderson Jayden Harper
Henderson Jayden Harper
Henderson Jayden Harper
Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Users can disable or enable passwords after sleep on Windows 11.
  • You can change the wake-up behavior of your system via the Command Prompt and Elevated Windows Terminal.
  • You can enable or disable passwords when your PC wakes from sleep through Settings.
windows 11 password after sleep

XINSTALL BY CLICKING THE DOWNLOAD FILE
Fix Windows 11 OS errors with Restoro PC Repair Tool:This software repairs common computer errors by replacing the problematic system files with the initial working versions. It also keeps you away from critical file loss, hardware failure, and repairs damages made by malware and viruses. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows 11 issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Sign-in on wake means the system requires you to sign in with your login password when it wakes from sleep mode. Hence, we’ll take you through how to enable or disable Windows 11 passwords after sleep.

Can you change the sleep settings on Windows 11?

Sleep mode in Windows PC is a power-saving state that stops all actions and program activities on the computer. It allows the system to save power by moving any running services and open applications to the system memory (RAM).

However, Windows users can change their PC’s sleep settings to suit their preferences. Settings include how long you want the system to wait before going to sleep when you’re not using it and what shortcuts to put your device to sleep.

How do I enable or disable passwords after sleep in Windows 11?

1. Via Settings on Windows 11

  1. Press Windows + I to open the Windows Settings app.
  2. Click on Accounts from the left pane and select Sign-in Options from the right-hand side of the screen.
  3. Click the drop-down button for If you’ve been away, when should Windows require you to sign in again? option and select Never.
  4. Apply the changes and put the new settings to the test by putting your system on Sleep mode.

The above steps show how to disable or enable passwords after sleep on Windows 11 without tweaking any advanced directory. Read what to do if the Settings app won’t launch on Windows 11.

2. Via Windows Terminal on Windows 11

  1. Press Windows + R key to open the Run dialog box, type wt in the text bar, and then press Ctrl + Shift + Enter to open an elevated Windows Terminal.
  2. Click Yes when prompted by the User Account Control (UAC) permission prompt
  3. To enable the password whenever your system wakes from sleep, copy and paste the following commands and press Enter:
    1. On Battery: powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 1
    2. Plugged in: powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 1
  4. To disable the password whenever your system wakes from sleep:
    1. On Battery: powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
    2. Plugged in: powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
  5. Close the Elevated Windows Terminal and put your system in sleep mode to check if the command is effective.

Running those commands in the Windows Terminal will either disable or enable the password after sleep on Windows 11. Check what to do if Windows 11 monitor won’t go to sleep.

3. Use the Command Prompt on Windows 11

  1. Press Windows + R key to open the Run dialog box, type cmd, then press Enter to open the Command Prompt.
  2. Type the following into the Command Prompt depending on what you want to do, and press Enter:
    1. Disable password when you wake your system sleep on battery: powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0 
    2. Disable password when you wake your system sleep when the system is chargingpowercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
    3. Enable password when you wake your system sleep on battery: powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 1
    4. Enable password when you wake your system sleep when the system is chargingpowercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 1
  3. Close the Command Prompt and restart your PC.

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

Check how to personalize Command Prompt in Windows 11.

4. Via Registry Editor on Windows 11

  1. Press Windows + R key to open the Run dialog box, type regedit, then press Ctrl + Shift + Enter to open the Elevated Registry Editor.
  2. Navigate to the following location: HKEY_CURRENT_USER\Control Panel\Desktop
  3. Right-click on the Desktop registry key and choose New from the drop-down, then Dword (32-bit Value) from the new menu that appears.
  4. On the right pane, type DelayLockInterval as the name of the new DWORD value.
  5. Double-click on the newly created DWORD value DelayLockInterval and set the Value data to 0.
  6. Close the Elevated Registry Editor, then restart your PC to allow the changes to take effect.

Tweaking the Registry Editor will change the wake preference of the system.

Also, you can read through our article about Windows PC waking from sleep by itself for steps to fix it.

Further, our readers can check the steps to fix a computer going to sleep too quickly on Windows 11. Likewise, you can read our article about how to find the Sleep Button on a Windows PC.

In conclusion, you should be able to edit the Windows 11 password after sleep settings with the steps above. If you have further questions or suggestions, kindly drop them beow.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: