Policy

Select the Power button action (plugged in)

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
PackMicrosoft Windows
CategorySystem / Power Management / Button Settings
Policy ID30f8f76d9d7a
Internal nameACPowerButtonAction_2

Registry

Copy registry mappings

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

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