望ましくない可能性のあるアプリケーションの検出を構成する のレジストリ値 PUAProtectionコンピューターHKLM\Software\Policies\Microsoft\Windows Defender

ポリシー ID
Root_PUAProtection
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2016、Windows 10 バージョン 1607 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Microsoft Defender ウイルス対策

レジストリ

PUAProtection

-コンピューター

PUAProtection

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
無効 (既定)0
ブロック1
監査モード2
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 無効 (既定)
"PUAProtection"=dword:00000000
; ブロック
"PUAProtection"=dword:00000001
; 監査モード
"PUAProtection"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: 無効 (既定)
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 0 /f
:: ブロック
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 1 /f
:: 監査モード
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "PUAProtection" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 無効 (既定)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 0 -Force | Out-Null
# ブロック
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 1 -Force | Out-Null
# 監査モード
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -PropertyType DWord -Value 2 -Force | Out-Null