Display additional text to clients when they need to perform an action
Afficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une action
Explanation
This policy setting allows you to configure whether or not to display additional text to clients when they need to perform an action. The text displayed is a custom administrator-defined string. For example, the phone number to call the company help desk. The client interface will only display a maximum of 1024 characters. Longer strings will be truncated before display.
If you enable this setting, the additional text specified will be displayed.
If you disable or do not configure this setting, there will be no additional text displayed.
Ce paramètre de stratégie vous permet de configurer s’il convient ou non d’afficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une action. Le texte affiché est une chaîne définie par l’administrateur personnalisée. Il peut s’agir, par exemple, du numéro de téléphone pour appeler l’assistance de la société. L’interface client affiche uniquement un maximum de 1 024 caractères. Les chaînes plus longues sont tronquées avant d’être affichées.
Si vous activez ce paramètre, le texte supplémentaire spécifié est affiché.
Si vous désactivez ou ne configurez pas ce paramètre, aucun texte supplémentaire n’est affiché.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\UX Configuration- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: WindowsDefender/UX_Configuration_CustomDefaultActionToastString
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Display additional text to clients when they need to perform an action
Set-ItemProperty -Path $k -Name 'CustomDefaultActionToastString' -Value '<value>' -Type StringDisable
# Disable: WindowsDefender/UX_Configuration_CustomDefaultActionToastString
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsDefender/UX_Configuration_CustomDefaultActionToastString
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
Remove-ItemProperty -Path $k -Name 'CustomDefaultActionToastString' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Display additional text to clients when they need to perform an actionAfficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une actionUX_Configuration_CustomDefaultActionToastString | Text boxtext | CustomDefaultActionToastString | REG_SZ | Required |