Select the Power button action (plugged in)
Supported on: At least Windows Vista
Registry
HKLM
Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280 Options
ACSettingIndex enum - Take no action
->
0 - Sleep
->
1 - Hibernate
->
2 - Shut down
->
3
Description
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.