Ouvrir dans l'explorateur

Turn on Windows Defender protection against Potentially Unwanted Applications (DEPRECATED)

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › MS Security Guide EN : Computer Configuration › Policies › Administrative Templates › MS Security Guide
Pris en charge sur
At least Windows Server 2016, Windows 10
Fichier ADMX
SecGuide.admx
Nom interne
SecGuide/Pol_SecGuide_0101_WDPUA

Explication

Beginning with Windows 10 v1809 and Windows Server v1809, this functionality should instead be configured through the following Group Policy setting:
Computer Configuration\Administrative Templates\Windows Components\Windows Defender Antivirus\Configure detection for potentially unwanted applications.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\MpEngine
Nom de la valeur
MpEnablePus
É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 : SecGuide/Pol_SecGuide_0101_WDPUA
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MpEnablePus' -Value 1 -Type DWord

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : SecGuide/Pol_SecGuide_0101_WDPUA
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine'
Remove-ItemProperty -Path $k -Name 'MpEnablePus' -ErrorAction SilentlyContinue

Application

Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.