Configurer la détection pour les applications potentiellement indésirables : valeur de Registre PUAProtectionOrdinateurHKLM\Software\Policies\Microsoft\Windows Defender
- ID de stratégie
- Root_PUAProtection
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Windows Server 2016, Windows 10 version 1607 ou versions supérieures
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › Antivirus Microsoft Defender
Registre
PUAProtection
-OrdinateurHKLM\Software\Policies\Microsoft\Windows Defender Clé actuelle
PUAProtection
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows Defender Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- -
| Entrée | Valeur stockée |
|---|---|
| Désactiver (par défaut) | 0 |
| Refuser | 1 |
| Mode audit | 2 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender] ; Options (en utiliser une seule) ; Désactiver (par défaut) "PUAProtection"=dword:00000000 ; Refuser "PUAProtection"=dword:00000001 ; Mode audit "PUAProtection"=dword:00000002
CMD
:: Options (en utiliser une seule) :: Désactiver (par défaut) reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 0 /f :: Refuser reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 1 /f :: Mode audit reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null # Options (en utiliser une seule) # Désactiver (par défaut) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 0 -Force | Out-Null # Refuser New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 1 -Force | Out-Null # Mode audit New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 2 -Force | Out-Null