Configura il rilevamento di applicazioni potenzialmente indesiderate: valore del Registro di sistema PUAProtectionComputerHKLM\Software\Policies\Microsoft\Windows Defender

ID criterio
Root_PUAProtection
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2016 o Windows 10 versione 1607
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Microsoft Defender Antivirus

Registro

PUAProtection

-Computer

PUAProtection

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
-
Opzioni
VoceValore memorizzato
Disabilita (valore predefinito)0
Blocca1
Modalità Controllo2
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender]

; Opzioni (usarne solo una)
; Disabilita (valore predefinito)
"PUAProtection"=dword:00000000
; Blocca
"PUAProtection"=dword:00000001
; Modalità Controllo
"PUAProtection"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: Disabilita (valore predefinito)
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 0 /f
:: Blocca
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 1 /f
:: Modalità Controllo
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null

# Opzioni (usarne solo una)
# Disabilita (valore predefinito)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 0 -Force | Out-Null
# Blocca
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 1 -Force | Out-Null
# Modalità Controllo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 2 -Force | Out-Null