Select the Start menu Power button action (on battery): registry value DCSettingIndexComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5
- Policy ID
- DCStartMenuButtonAction_2
- Scope
- Computer Configuration
- Supported on
- Windows Vista only
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Power Management › Button Settings
Registry
DCSettingIndex
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5 Current key
- Enabled value
- Depends on the option value
- Element
- User Interface Sleep Button Action
| Item | Stored value |
|---|---|
| Sleep | 0 |
| Hibernate | 1 |
| Shut down | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5] ; Options (use only one) ; Sleep "DCSettingIndex"=dword:00000000 ; Hibernate "DCSettingIndex"=dword:00000001 ; Shut down "DCSettingIndex"=dword:00000002
CMD
:: Options (use only one) :: Sleep reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 0 /f :: Hibernate reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 1 /f :: Shut down reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Force | Out-Null # Options (use only one) # Sleep New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null # Hibernate New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null # Shut down New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null