Policy
Specify the unattended sleep timeout (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 you to specify the period of inactivity before Windows transitions to sleep automatically when a user is not present at the computer. If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows automatically transitions to sleep when left unattended. If you specify 0 seconds, Windows does not automatically transition to sleep. If you disable or do not configure this policy setting, users control this setting. If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occuring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Unattended Sleep Timeout (seconds): ID EnterUnattendedSleepTimeOut | decimal | HKLM\Software\Policies\Microsoft\Power\PowerSettings\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DCSettingIndex Type REG_DWORD | Range: ? to 4294967295 |
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
- 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