Ouvrir dans l'explorateur

Afficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une action

Display additional text to clients when they need to perform an action

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender › Interface client EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Client Interface
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
WindowsDefender.admx
Nom interne
WindowsDefender/UX_Configuration_CustomDefaultActionToastString

Explication

Texte français issu de Windows 11 23H2

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é.

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.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\UX Configuration
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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 : 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 }
# Afficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une action
Set-ItemProperty -Path $k -Name 'CustomDefaultActionToastString' -Value '<valeur>' -Type String

Désactiver

# Désactiver : WindowsDefender/UX_Configuration_CustomDefaultActionToastString
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsDefender/UX_Configuration_CustomDefaultActionToastString
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
Remove-ItemProperty -Path $k -Name 'CustomDefaultActionToastString' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Afficher du texte supplémentaire pour les clients lorsqu’ils doivent effectuer une actionDisplay additional text to clients when they need to perform an actionUX_Configuration_CustomDefaultActionToastStringZone de textetextCustomDefaultActionToastStringREG_SZ
Obligatoire

Disponibilité

Windows 11

— 26H2— 25H2— 24H2✓ 23H2✓ 22H2✓ 21H2

Windows Server