Masquer les notifications non critiques
Hide non-critical notifications
Explication
Affichez uniquement les notifications critiques dans Sécurité Windows.
Si le paramètre de stratégie de groupe Supprimer toutes les notifications a été activé, ce paramètre n'aura pas d'effet.
Activé :
Les utilisateurs locaux verront uniquement les notifications critiques dans Sécurité Windows. Ils ne verront pas d'autres types de notifications, telles que des informations classiques relatives au PC ou de santé.
Désactivé :
Les utilisateurs locaux verront tous les types de notifications dans Sécurité Windows.
Non configuré :
Identique à Désactivé.
Only show critical notifications from Windows Security.
If the Suppress all notifications GP setting has been enabled, this setting will have no effect.
Enabled:
Local users will only see critical notifications from Windows Security. They will not see other types of notifications, such as regular PC or device health information.
Disabled:
Local users will see all types of notifications from Windows Security.
Not configured:
Same as Disabled.
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications- Nom de la valeur
DisableEnhancedNotifications
| É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 : WindowsDefenderSecurityCenter/Notifications_DisableEnhancedNotifications
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableEnhancedNotifications' -Value 1 -Type DWordDésactiver
# Désactiver : WindowsDefenderSecurityCenter/Notifications_DisableEnhancedNotifications
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableEnhancedNotifications' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WindowsDefenderSecurityCenter/Notifications_DisableEnhancedNotifications
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications'
Remove-ItemProperty -Path $k -Name 'DisableEnhancedNotifications' -ErrorAction SilentlyContinue