Select the Sleep button action (on battery)
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Power Management > Button Settings
Supported on
At least Windows Vista

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista

This policy setting specifies the action that Windows takes when a user presses the sleep button. Possible actions include: -Take no action -Sleep -Hibernate -Shut down If you enable this policy setting, you must select the desired action. If you disable this policy setting or do not configure it, users can see and change this setting.

Internal name
DCSleepButtonAction_2
Policy ID
9d5e7f6b64d2
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
Sleep Button Action
ID SelectDCSleepButtonAction
enum
Path
Software\Policies\Microsoft\Power\PowerSettings\96996BC0-AD50-47EC-923B-6F41874DD9EB
Value name
DCSettingIndex
Type
REG_DWORD
Options: Take no action (0), Sleep (1), Hibernate (2), Shut down (3)
Sleep Button Action
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Power\PowerSettings\96996BC0-AD50-47EC-923B-6F41874DD9EB
Value name
DCSettingIndex
Type
REG_DWORD
Details
Options: Take no action (0), Sleep (1), Hibernate (2), Shut down (3)