Selecionar a ação do botão Desligar o computador do menu Iniciar (bateria): valor do Registro DCSettingIndexComputadorHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5

ID da política
DCStartMenuButtonAction_2
Escopo
Configuração do Computador
Compatível com
Windows Vista somente
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Gerenciamento de energia › Configurações de botão

Registro

DCSettingIndex

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Ação do Botão de Interface do Usuário Dormir
Opções
ItemValor armazenado
Dormir0
Hibernar1
Desligar2
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5]

; Opções (use apenas uma)
; Dormir
"DCSettingIndex"=dword:00000000
; Hibernar
"DCSettingIndex"=dword:00000001
; Desligar
"DCSettingIndex"=dword:00000002
CMD
:: Opções (use apenas uma)

:: Dormir
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 0 /f
:: Hibernar
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 1 /f
:: Desligar
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Force | Out-Null

# Opções (use apenas uma)
# Dormir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null
# Hibernar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null
# Desligar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null