Hide the notification area
Masquer le zone de notification
Explanation
This setting affects the notification area (previously called the "system tray") on the taskbar.
Description: The notification area is located at the far right end of the task bar and includes the icons for current notifications and the system clock.
If this setting is enabled, the user’s entire notification area, including the notification icons, is hidden. The taskbar displays only the Start button, taskbar buttons, custom toolbars (if any), and the system clock.
If this setting is disabled or is not configured, the notification area is shown in the user's taskbar.
Note: Enabling this setting overrides the "Turn off notification area cleanup" setting, because if the notification area is hidden, there is no need to clean up the icons.
Ce paramètre affecte la zone de notification (précédemment appelée « barre d’état système ») de la barre des tâches.
Description : la zone de notification est située à l’extrémité droite de la barre des tâches et inclut les icônes des notifications en cours, ainsi que l’horloge système.
Si ce paramètre est activé, toute la zone de notification de l’utilisateur (y compris les icônes de notification) est masquée. La barre des tâches n’affiche que le bouton Démarrer, les boutons de barre des tâches, les barres d’outils personnalisées (le cas échéant) et l’horloge système.
Si ce paramètre est désactivé ou s’il n’est pas configuré, la zone de notification est affichée dans la barre des tâches de l’utilisateur.
Remarque : l’activation de ce paramètre est prioritaire sur le paramètre « Désactiver le nettoyage de la zone de notification », car si la zone de notification est masquée, il n’est pas nécessaire de nettoyer les icônes.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoTrayItemsDisplay
| 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/NoTrayItemsDisplay
$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 'NoTrayItemsDisplay' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: StartMenu/NoTrayItemsDisplay
$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 'NoTrayItemsDisplay' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": StartMenu/NoTrayItemsDisplay
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoTrayItemsDisplay' -ErrorAction SilentlyContinue