Policy
Require a password when a computer wakes (plugged in)
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting specifies whether or not the user is prompted for a password when the system resumes from sleep. If you enable or do not configure this policy setting, the user is prompted for a password when the system resumes from sleep. If you disable this policy setting, the user is not prompted for a password when the system resumes from sleep.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51\ACSettingIndex | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow applications to prevent automatic sleep (on battery)At least Windows Server 2008 R2 or Windows 7
- ComputerAllow applications to prevent automatic sleep (plugged in)At least Windows Server 2008 R2 or Windows 7
- ComputerAllow automatic sleep with Open Network Files (on battery)At least Windows Server 2008 R2 or Windows 7
- ComputerAllow automatic sleep with Open Network Files (plugged in)At least Windows Server 2008 R2 or Windows 7
- ComputerAllow network connectivity during connected-standby (on battery)At least Windows 10
- ComputerAllow network connectivity during connected-standby (plugged in)At least Windows 10
- ComputerAllow standby states (S1-S3) when sleeping (on battery)At least Windows Vista
- ComputerAllow standby states (S1-S3) when sleeping (plugged in)At least Windows Vista
- ComputerRequire a password when a computer wakes (on battery)At least Windows Vista
- ComputerSpecify the system hibernate timeout (on battery)At least Windows Vista
- ComputerSpecify the system hibernate timeout (plugged in)At least Windows Vista
- ComputerSpecify the system sleep timeout (on battery)At least Windows Vista