Configura Windows Defender SmartScreen: valore del Registro di sistema EnableSmartScreen e altri 1 (ShellConfigureSmartScreen)ComputerHKLM\Software\Policies\Microsoft\Windows\System

ID criterio
ShellConfigureSmartScreen
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2012, Windows 8 o Windows RT
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Windows Defender SmartScreen › Esplora risorse

Registro

EnableSmartScreen

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilitato
"EnableSmartScreen"=dword:00000001
; Disabilitato
"EnableSmartScreen"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 0 -Force | Out-Null

ShellSmartScreenLevel

REG_SZComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Seleziona una delle impostazioni seguenti:
Opzioni
VoceValore memorizzato
Avvisa e impedisci bypassBlock
AvvisaWarn
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Avvisa e impedisci bypass
"ShellSmartScreenLevel"="Block"
; Avvisa
"ShellSmartScreenLevel"="Warn"
CMD
:: Opzioni (usarne solo una)

:: Avvisa e impedisci bypass
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Block" /f
:: Avvisa
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Warn" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Opzioni (usarne solo una)
# Avvisa e impedisci bypass
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Block' -Force | Out-Null
# Avvisa
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Warn' -Force | Out-Null