Supprimer les notifications et le centre de maintenance
Remove Notifications and Action Center
Explication
Ce paramètre de stratégie supprime le centre de notifications et les notifications de la zone de notification dans la barre des tâches.
La zone de notification est située à l'extrême droite de la barre des tâches et inclut les icônes des notifications en cours et l'horloge système.
Si ce paramètre est activé, le centre de notifications et les notifications ne s'affichent pas dans la zone de notification. L'utilisateur sera en mesure de lire les notifications lorsqu'elles apparaîtront, mais pas celles qu'il aura manquées.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les notifications et Sécurité et maintenance s'afficheront dans la barre des tâches.
Un redémarrage est nécessaire pour que ce paramètre de stratégie prenne effet.
This policy setting removes Notifications and Action Center from the notification area on the taskbar.
The notification area is located at the far right end of the taskbar and includes icons for current notifications and the system clock.
If this setting is enabled, Notifications and Action Center is not displayed in the notification area. The user will be able to read notifications when they appear, but they won’t be able to review any notifications they miss.
If you disable or do not configure this policy setting, Notification and Security and Maintenance will be displayed on the taskbar.
A reboot is required for this policy setting to take effect.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\ExplorerHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Nom de la valeur
DisableNotificationCenter
| É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.
Ordinateur (HKLM)
Activer
# Activer : Taskbar/DisableNotificationCenter
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableNotificationCenter' -Value 1 -Type DWordDésactiver
# Désactiver : Taskbar/DisableNotificationCenter
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableNotificationCenter' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Taskbar/DisableNotificationCenter
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableNotificationCenter' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »