Open in the explorer

Disable customizing browser toolbar buttons

Désactiver la personnalisation des boutons de la barre d’outils du navigateur

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Toolbars FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Barres d’outils
Supported on
At least Internet Explorer 5.0 FR: Au moins Internet Explorer 5.0
ADMX file
inetres.admx
Internal name
inetres/NoToolbarCustomize

Explanation

Prevents users from determining which buttons appear on the Microsoft Internet Explorer and File Explorer standard toolbars. The buttons appearing on the toolbar can be customized by the "Customize" option. This is present under the Toolbars submenu of the View menu in Internet Explorer 6 and under the Toolbars submenu of the Tools menu in the Command bar in subsequent versions of Internet Explorer.

If you enable this policy, the Customize option will be removed from the menu.

If you disable this policy or do not configure it, users can customize which buttons appear on the Internet Explorer and File Explorer toolbars.

This policy can be used in coordination with the "Disable customizing browser toolbars" policy, which prevents users from determining which toolbars are displayed in Internet Explorer and File Explorer.

French text from Windows 11 26H2

Empêche les utilisateurs de déterminer quels boutons sont affichés dans les barres d’outils standard d’Internet Explorer et de l’Explorateur de fichiers. Les boutons affichés sur la barre d’outils peuvent être personnalisés par l’option « Personnaliser ». Cette option figure dans le sous-menu Barre d’outils du menu Affichage dans Internet Explorer 6 et dans le sous-menu Outils de la barre de commandes dans les versions suivantes d’Internet Explorer.

Si vous activez ce paramètre de stratégie, l’option Personnaliser est supprimée du menu.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent décider quels boutons apparaissent sur les barres d’outils d’Internet Explorer et de l’Explorateur de fichiers.

Ce paramètre de stratégie peut être utilisé en coordination avec le paramètre de stratégie « Désactiver la personnalisation des barres d’outils du navigateur », qui empêche les utilisateurs de choisir quelles barres d’outils sont affichées dans Internet Explorer et l’Explorateur de fichiers.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoToolbarCustomize
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: inetres/NoToolbarCustomize
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoToolbarCustomize' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: inetres/NoToolbarCustomize
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoToolbarCustomize' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": inetres/NoToolbarCustomize
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoToolbarCustomize' -ErrorAction SilentlyContinue

Availability