Livello di protezione posta indesiderata: valore del Registro di sistema junkmailprotectionUtenteHKCU\software\policies\microsoft\office\16.0\outlook\options\mail

ID criterio
L_JunkEmailprotectionlevel
Ambito
Configurazione utente
Supportato in
Almeno Windows Server 2008 R2 o Windows 7
Origine
Microsoft 365 Apps / Office Administrative Templates (versione 5568.1000)
Categoria
Microsoft Outlook 2016 › Opzioni di Outlook › Preferenze › Posta indesiderata

Registro

junkmailprotection

REG_DWORDUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Selezionare il livello:
Opzioni
VoceValore memorizzato
Senza protezione4294967295
Basso (predefinito)6
Elevato3
Solo elenchi attendibili2147483648
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail]

; Opzioni (usarne solo una)
; Senza protezione
"junkmailprotection"=dword:ffffffff
; Basso (predefinito)
"junkmailprotection"=dword:00000006
; Elevato
"junkmailprotection"=dword:00000003
; Solo elenchi attendibili
"junkmailprotection"=dword:80000000
CMD
:: Opzioni (usarne solo una)

:: Senza protezione
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 4294967295 /f
:: Basso (predefinito)
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 6 /f
:: Elevato
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 3 /f
:: Solo elenchi attendibili
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 2147483648 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null

# Opzioni (usarne solo una)
# Senza protezione
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 4294967295 -Force | Out-Null
# Basso (predefinito)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 6 -Force | Out-Null
# Elevato
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 3 -Force | Out-Null
# Solo elenchi attendibili
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 2147483648 -Force | Out-Null