Specify the unattended sleep timeout (plugged in)
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Power Management > Sleep Settings
Supported on
At least Windows Server 2008 R2 or Windows 7

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.

Internal name
UnattendedSleepTimeOutAC
Policy ID
677701fd3c4a
Elements
1

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.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Unattended Sleep Timeout (seconds):
ID EnterUnattendedSleepTimeOut
decimal
Path
Software\Policies\Microsoft\Power\PowerSettings\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Value name
ACSettingIndex
Type
REG_DWORD
Range: ? to 4294967295
Unattended Sleep Timeout (seconds):
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Power\PowerSettings\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Value name
ACSettingIndex
Type
REG_DWORD
Details
Range: ? to 4294967295