Do not display any custom toolbars in the taskbar
Ne pas afficher de barres d’outils personnalisées dans la Barre des tâches
Explanation
This setting affects the taskbar.
The taskbar includes the Start button, buttons for currently running tasks, custom toolbars, the notification area, and the system clock. Toolbars include Quick Launch, Address, Links, Desktop, and other custom toolbars created by the user or by an application.
If this setting is enabled, the taskbar does not display any custom toolbars, and the user cannot add any custom toolbars to the taskbar. Moreover, the "Toolbars" menu command and submenu are removed from the context menu. The taskbar displays only the Start button, taskbar buttons, the notification area, and the system clock.
If this setting is disabled or is not configured, the taskbar displays all toolbars. Users can add or remove custom toolbars, and the "Toolbars" command appears in the context menu.
Ce paramètre affecte la barre des tâches.
La barre des tâches inclut le bouton Démarrer, les boutons des tâches en cours d’exécution, les barres d’outils personnalisées, la zone de notification et l’horloge système. Les barres d’outils incluent les éléments Lancement rapide, Adresses, Liens, Bureau et les autres barres d’outils personnalisées créées par l’utilisateur ou par une application.
Si ce paramètre est activé, la barre des tâches n’affiche aucune barre d’outils personnalisée ; en outre, l’utilisateur ne peut pas ajouter de barre d’outils personnalisée à la barre des tâches. De plus, la commande de menu et le sous-menu « Barres d’outils » sont supprimés du menu contextuel. La barre des tâches n’affiche que le bouton Démarrer, les boutons de barre des tâches, la zone de notification et l’horloge système.
Si ce paramètre est désactivé ou s’il n’est pas configuré, la barre des tâches affiche toutes les barres d’outils. Les utilisateurs peuvent ajouter ou supprimer des barres d’outils personnalisées, et la commande « Barres d’outils » apparaît dans le menu contextuel.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoToolbarsOnTaskbar
| 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: StartMenu/NoToolbarsOnTaskbar
$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 'NoToolbarsOnTaskbar' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: StartMenu/NoToolbarsOnTaskbar
$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 'NoToolbarsOnTaskbar' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": StartMenu/NoToolbarsOnTaskbar
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoToolbarsOnTaskbar' -ErrorAction SilentlyContinue