Disable customizing browser toolbars
Désactiver la personnalisation des barres d’outils du navigateur
Explanation
Prevents users from determining which toolbars are displayed in Microsoft Internet Explorer and File Explorer.
If you enable this policy, the list of toolbars, which users can display by clicking the View menu and then pointing to the Toolbars command, will appear dimmed.
If you disable this policy or do not configure it, users can determine which toolbars are displayed in File Explorer and Internet Explorer.
This policy can be used in coordination with the "Disable customizing browser toolbar buttons" policy, which prevents users from adding or removing toolbars from Internet Explorer.
Empêche les utilisateurs de déterminer quelles barres d’outils sont affichées dans Internet Explorer et l’Explorateur de fichiers.
Si vous activez ce paramètre de stratégie, la liste de barres d’outils, que les utilisateurs peuvent afficher en cliquant sur le menu Afficher et en pointant sur la commande Barres d’outils, est estompée.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent déterminer quelles barres d’outils sont affichées dans l’Explorateur de fichiers et Internet Explorer.
Ce paramètre de stratégie peut être utilisé en coordination avec le paramètre de stratégie « Désactiver la personnalisation des boutons de la barre d’outils du navigateur », qui empêche les utilisateurs d’ajouter ou de supprimer des barres d’outils dans Internet Explorer.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoBandCustomize
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not 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/NoBandCustomize
$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 'NoBandCustomize' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: inetres/NoBandCustomize
$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 'NoBandCustomize' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/NoBandCustomize
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoBandCustomize' -ErrorAction SilentlyContinue