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.
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
| État | Valeur é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 DWordDé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 DWordRevenir à « 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 SilentlyContinueApplication
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.