Ocultar a barra de Comandos: valor do Registro CommandBarEnabledComputadorHKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar

ID da política
HideCommandBar
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Internet Explorer 8.0 ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Internet Explorer › Barras de Ferramentas

Registro

CommandBarEnabled

REG_DWORDComputadorUsuário
Valor habilitado
0
Valor desabilitado
1
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\CommandBar]

; Opções (use apenas uma)
; Habilitada
"CommandBarEnabled"=dword:00000000
; Desabilitada
"CommandBarEnabled"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "CommandBarEnabled" /t REG_DWORD /d 0 /f
:: Desabilitada
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "CommandBarEnabled" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'CommandBarEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'CommandBarEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\CommandBar]

; Opções (use apenas uma)
; Habilitada
"CommandBarEnabled"=dword:00000000
; Desabilitada
"CommandBarEnabled"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "CommandBarEnabled" /t REG_DWORD /d 0 /f
:: Desabilitada
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "CommandBarEnabled" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'CommandBarEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'CommandBarEnabled' -PropertyType DWord -Value 1 -Force | Out-Null