Ouvrir dans l'explorateur

Activer le mode sans affichage de l'interface utilisateur

Enable headless UI mode

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 Vista EN : At least Windows Vista
Fichier ADMX
WindowsDefender.admx
Nom interne
WindowsDefender/UX_Configuration_UILockdown

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer l'affichage de l'interface utilisateur du logiciel anti-programme malveillant.
Si vous activez ce paramètre, les utilisateurs n'auront pas accès à l'interface utilisateur du logiciel anti-programme malveillant.

This policy setting allows you to configure whether or not to display AM UI to the users.
If you enable this setting AM UI won't be available to users.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\UX Configuration
Nom de la valeur
UILockdown
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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_UILockdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UILockdown' -Value 1 -Type DWord

Désactiver

# Désactiver : WindowsDefender/UX_Configuration_UILockdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UILockdown' -Value 0 -Type DWord

Revenir à « Non configuré »

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

Disponibilité