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.
PackMicrosoft Windows
CategorySystem / Power Management / Button Settings
Policy ID
30f8f76d9d7aInternal name
ACPowerButtonAction_2Registry
Copy registry mappings
HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280\ACSettingIndexPolicy 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
Select the lid switch action (on battery)Select the lid switch action (plugged in)Select the Power button action (on battery)Select the Sleep button action (on battery)Select the Sleep button action (plugged in)Select the Start menu Power button action (on battery)Select the Start menu Power button action (plugged in)