Select the Power 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 power 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
DCPowerButtonAction_2
Policy ID
2e4cf752ce6c
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
Power Button Action
ID SelectDCPowerButtonAction
enum
Path
Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280
Value name
DCSettingIndex
Type
REG_DWORD
Options: Take no action (0), Sleep (1), Hibernate (2), Shut down (3)
Power Button Action
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280
Value name
DCSettingIndex
Type
REG_DWORD
Details
Options: Take no action (0), Sleep (1), Hibernate (2), Shut down (3)