Invia campioni di file se sono necessarie ulteriori analisi: valore del Registro di sistema SubmitSamplesConsentComputerHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
- ID criterio
- SubmitSamplesConsent
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Vista
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Microsoft Defender Antivirus › MAPS
Registro
SubmitSamplesConsent
-ComputerHKLM\Software\Policies\Microsoft\Windows Defender\Spynet Chiave corrente
SubmitSamplesConsent
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows Defender\Spynet Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Invia campioni di file se sono necessarie ulteriori analisi
| Voce | Valore memorizzato |
|---|---|
| Richiedi sempre conferma | 0 |
| Invia campioni sicuri | 1 |
| Non inviare mai | 2 |
| Invia tutti i campioni | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Spynet] ; Opzioni (usarne solo una) ; Richiedi sempre conferma "SubmitSamplesConsent"=dword:00000000 ; Invia campioni sicuri "SubmitSamplesConsent"=dword:00000001 ; Non inviare mai "SubmitSamplesConsent"=dword:00000002 ; Invia tutti i campioni "SubmitSamplesConsent"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Richiedi sempre conferma reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 0 /f :: Invia campioni sicuri reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 1 /f :: Non inviare mai reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 2 /f :: Invia tutti i campioni reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Force | Out-Null # Opzioni (usarne solo una) # Richiedi sempre conferma New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 0 -Force | Out-Null # Invia campioni sicuri New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 1 -Force | Out-Null # Non inviare mai New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 2 -Force | Out-Null # Invia tutti i campioni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -PropertyType DWord -Value 3 -Force | Out-Null