Policy

Select the Sleep button action (on battery)

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.

Policy
PackMicrosoft Windows
CategorySystem / Power Management / Button Settings
Policy ID9d5e7f6b64d2
Internal nameDCSleepButtonAction_2

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Power\PowerSettings\96996BC0-AD50-47EC-923B-6F41874DD9EB\DCSettingIndex

Policy notes

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.

Related policies