Afficher l'icône de la cloche de notification
Show notification bell icon
Explication
Ce paramètre de stratégie vous permet d’afficher l’icône de cloche de notification dans la barre d’état système.
Si vous activez ce paramètre de stratégie, l’icône de notification s’affiche toujours. Sinon, l’icône de notification s’affiche uniquement lorsqu’une status spéciale est activée (par exemple, Ne pas déranger).
Un redémarrage est nécessaire pour que ce paramètre de stratégie prenne effet.
This policy setting allows you to show the notification bell icon in the system tray.
If you enable this policy setting, the notification icon will always be shown. Otherwise, the notification icon will only be shown when there's a special status (for example, Do Not Disturb is turned on).
A reboot is required for this policy setting to take effect.
Registre
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Nom de la valeur
AlwaysShowNotificationIcon
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : Taskbar/AlwaysShowNotificationIcon
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AlwaysShowNotificationIcon' -Value 1 -Type DWordDésactiver
# Désactiver : Taskbar/AlwaysShowNotificationIcon
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AlwaysShowNotificationIcon' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Taskbar/AlwaysShowNotificationIcon
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'AlwaysShowNotificationIcon' -ErrorAction SilentlyContinue