Turn off notification area cleanup
Désactiver le nettoyage de la zone de notification
Explanation
This setting affects the notification area, also called the "system tray."
The notification area is located in the task bar, generally at the bottom of the screen, and it includes the clock and current notifications. This setting determines whether the items are always expanded or always collapsed. By default, notifications are collapsed. The notification cleanup << icon can be referred to as the "notification chevron."
If you enable this setting, the system notification area expands to show all of the notifications that use this area.
If you disable this setting, the system notification area will always collapse notifications.
If you do not configure it, the user can choose if they want notifications collapsed.
Ce paramètre affecte la zone de notification, également appelée « barre d’état système ».
La zone de notification est située dans la barre des tâches, généralement au bas de l’écran, et elle comprend l’horloge ainsi que les notifications actuelles. Ce paramètre détermine si les éléments sont toujours étendus ou toujours réduits. Par défaut, les notifications sont réduites. L’icône << de nettoyage des notifications peut être appelée « chevron de notification ».
Si vous activez ce paramètre, la zone de notification système est étendue pour afficher toutes les notifications qui utilisent cette zone.
Si vous désactivez ce paramètre, la zone de notification système réduit toujours les notifications.
Si vous ne le configurez pas, l’utilisateur peut choisir s’il veut que les notifications soient réduites.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoAutoTrayNotify
| 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/NoAutoTrayNotify
$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 'NoAutoTrayNotify' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: StartMenu/NoAutoTrayNotify
$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 'NoAutoTrayNotify' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": StartMenu/NoAutoTrayNotify
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoAutoTrayNotify' -ErrorAction SilentlyContinue