詳細な分析が必要な場合はファイルのサンプルを送信する のレジストリ値 SubmitSamplesConsentコンピューターHKLM\Software\Policies\Microsoft\Windows Defender\Spynet

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

レジストリ

SubmitSamplesConsent

-コンピューター

SubmitSamplesConsent

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
詳細な分析が必要な場合はファイルのサンプルを送信する
オプション
項目保存される値
常に確認する0
安全なサンプルを送信する1
送信しない2
すべてのサンプルを送信する3
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 常に確認する
"SubmitSamplesConsent"=dword:00000000
; 安全なサンプルを送信する
"SubmitSamplesConsent"=dword:00000001
; 送信しない
"SubmitSamplesConsent"=dword:00000002
; すべてのサンプルを送信する
"SubmitSamplesConsent"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: 常に確認する
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 0 /f
:: 安全なサンプルを送信する
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 1 /f
:: 送信しない
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 2 /f
:: すべてのサンプルを送信する
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 常に確認する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 0 -Force | Out-Null
# 安全なサンプルを送信する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 1 -Force | Out-Null
# 送信しない
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 2 -Force | Out-Null
# すべてのサンプルを送信する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 3 -Force | Out-Null