Policy

Select the Power button action (on battery)

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.

Policy
Pack Microsoft Windows
Category System / Power Management / Button Settings
Policy ID 2e4cf752ce6c
Internal name DCPowerButtonAction_2

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280\DCSettingIndex

Policy notes

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.

Related policies