Policy
Allow applications to prevent automatic sleep (on battery)
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
This policy setting allows applications and services to prevent automatic sleep. If you enable this policy setting, any application, service, or device driver prevents Windows from automatically transitioning to sleep after a period of user inactivity. If you disable or do not configure this policy setting, applications, services, or drivers do not prevent Windows from automatically transitioning to sleep. Only user input is used to determine if Windows should automatically sleep.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Power\PowerSettings\A4B195F5-8225-47D8-8012-9D41369786E2\DCSettingIndex | 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 (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
- ComputerRequire a password when a computer wakes (plugged in)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