Open in the explorer

Configure customized notifications

Configurer des notifications personnalisées

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Security › Enterprise Customization FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Sécurité Windows › Personnalisation de l’entreprise
Supported on
At least Windows Server 2016, Windows 10 Version 1709 FR: Windows Server 2016, Windows 10 version 1709 ou versions supérieures
ADMX file
WindowsDefenderSecurityCenter.admx
Internal name
WindowsDefenderSecurityCenter/EnterpriseCustomization_EnableCustomizedToasts

Explanation

Display specified contact information to local users in Windows Security notifications.

Enabled:
Your company contact information will be displayed in notifications that come from Windows Security.

After setting this to Enabled, you must configure the Specify contact company name GP setting and at least one of the following GP settings:
-Specify contact phone number or Skype ID
-Specify contact email number or email ID
-Specify contact website
Please note that in some cases we will be limiting the contact options that are displayed based on the notification space available.

Disabled:
No contact information will be shown on notifications.

Not configured:
Same as Disabled.

French text from Windows 11 26H2

Afficher les informations de contact spécifiées aux utilisateurs locaux dans les notifications de sécurité Windows.

Autorisé :
Les informations de contact de votre entreprise seront affichées dans les notifications provenant de Sécurité Windows.

Une fois ce paramètre défini comme activé, vous devez configurer le paramètre de stratégie de groupe spécifier le nom d’entreprise du contact et au moins un des paramètres de stratégie de groupe suivants :
-Spécifier le numéro de téléphone du contact ou l’IDENTIFIant Skype
-Spécifiez le numéro de messagerie du contact ou l’ID de courrier
-Spécifier le site Web du contact
Notez que dans certains cas, nous limitons les options de contact qui s’affichent en fonction de l’espace de notification disponible.

Désactivé
Aucune information de contact ne sera affichée sur les notifications.

Non configuré :
Identique à désactivé.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Enterprise Customization
Value name
EnableForToasts
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/EnterpriseCustomization_EnableCustomizedToasts
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Enterprise Customization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableForToasts' -Value 1 -Type DWord

Disable

# Disable: WindowsDefenderSecurityCenter/EnterpriseCustomization_EnableCustomizedToasts
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Enterprise Customization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableForToasts' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsDefenderSecurityCenter/EnterpriseCustomization_EnableCustomizedToasts
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Enterprise Customization'
Remove-ItemProperty -Path $k -Name 'EnableForToasts' -ErrorAction SilentlyContinue

Availability

Windows Server