Sleep button action

Specifies the action to take when the sleep power button is pressed.

Aliases and setting visibility

  • Windows Provisioning: Common\Power\Policy\Settings\Button\SleepButtonAction

  • PowerCfg: SleepButtonAction

  • GUID: 96996bc0-ad50-47ec-923b-6f41874dd9eb

  • Hidden setting: Yes

Values

Index Name Description

0

Do Nothing

No action is taken when the sleep button is pressed.

1

Sleep

The system enters sleep when the sleep button is pressed.

2

Hibernate

The system enters hibernate when the sleep button is pressed.

3

Shut Down

The system shuts down when the sleep button is pressed.

Applies to

Available in Windows Vista and later versions of Windows.