Display additional text to clients when they need to perform an action
View on the Group Policy page ›
- Policy ID
- UX_Configuration_CustomDefaultActionToastString
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2012, Windows 8 or Windows RT
- Source
- Administrative Templates (.admx) for Windows 11 2023 Update (23H2) (version 1.0)
- Category
- Windows Components › Microsoft Defender Antivirus › Client Interface
Description
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.
Registry
CustomDefaultActionToastString
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Display additional text to clients when they need to perform an action
- Value type
- REG_SZ
- Required
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\UX Configuration] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "CustomDefaultActionToastString"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\Windows Defender\UX Configuration" /v "CustomDefaultActionToastString" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Name 'CustomDefaultActionToastString' -PropertyType String -Value '<enter value>' -Force | Out-Null