Configurar detecção para aplicativos potencialmente indesejados: valor do Registro PUAProtectionComputadorHKLM\Software\Policies\Microsoft\Windows Defender

ID da política
Root_PUAProtection
Escopo
Configuração do Computador
Compatível com
No mínimo Windows Server 2016, Windows 10 Versão 1607
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Microsoft Defender Antivírus

Registro

PUAProtection

-Computador

PUAProtection

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
-
Opções
ItemValor armazenado
Desabilitar (Padrão)0
Bloquear1
Modo de Auditoria2
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Desabilitar (Padrão)
"PUAProtection"=dword:00000000
; Bloquear
"PUAProtection"=dword:00000001
; Modo de Auditoria
"PUAProtection"=dword:00000002
CMD
:: Opções (use apenas uma)

:: Desabilitar (Padrão)
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 0 /f
:: Bloquear
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 1 /f
:: Modo de Auditoria
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null

# Opções (use apenas uma)
# Desabilitar (Padrão)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 0 -Force | Out-Null
# Bloquear
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 1 -Force | Out-Null
# Modo de Auditoria
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 2 -Force | Out-Null