Ouvrir dans l'explorateur

Masquer la barre de commandes

Hide the Command bar

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Barres d’outils Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Barres d’outils EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › ToolbarsEN : User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Toolbars
Pris en charge sur
Au moins Internet Explorer 8.0 EN : At least Internet Explorer 8.0
Fichier ADMX
inetres.admx
Nom interne
inetres/HideCommandBar

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie vous permet d’afficher ou de masquer la barre de commandes.

Si vous activez ce paramètre de stratégie, la barre de commandes est masquée et l’utilisateur ne peut pas choisir de l’afficher.

Si vous désactivez ce paramètre de stratégie, la barre de commandes est affichée et l’utilisateur ne peut pas choisir de la masquer.

Si vous ne configurez pas ce paramètre de stratégie, la barre de commandes est affichée par défaut et l’utilisateur peut choisir de la masquer.

This policy setting allows you to show or hide the Command bar.

If you enable this policy setting, the Command bar is hidden and the user cannot choose to show it.

If you disable this policy setting, the Command bar is shown and the user cannot choose to hide it.

If you do not configure this policy setting, the Command bar is shown by default, and the user can choose to hide it.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\CommandBar
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\CommandBar
Nom de la valeur
CommandBarEnabled
ÉtatValeur écrite
ActivéREG_DWORD = 0
DésactivéREG_DWORD = 1

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : inetres/HideCommandBar
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CommandBarEnabled' -Value 0 -Type DWord

Désactiver

# Désactiver : inetres/HideCommandBar
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CommandBarEnabled' -Value 1 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : inetres/HideCommandBar
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
Remove-ItemProperty -Path $k -Name 'CommandBarEnabled' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Disponibilité