Hide non-critical notifications
Masquer les notifications non critiques
Explanation
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.
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é.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications- Value name
DisableEnhancedNotifications
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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: 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 DWordDisable
# Disable: 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 DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefenderSecurityCenter/Notifications_DisableEnhancedNotifications
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications'
Remove-ItemProperty -Path $k -Name 'DisableEnhancedNotifications' -ErrorAction SilentlyContinue