Forza i controlli Microsoft Defender SmartScreen per i download da origini attendibili: valore del Registro di sistema SmartScreenForTrustedDownloadsEnabled (Edge)ComputerHKLM\Software\Policies\Microsoft\Edge

ID criterio
SmartScreenForTrustedDownloadsEnabled
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Edge versione 78, Windows 7 o versione successiva
Origine
Microsoft Edge Policy Templates (versione 155.0.4283.45)
Categoria
Microsoft Edge › Impostazioni SmartScreen

Registro

SmartScreenForTrustedDownloadsEnabled

REG_DWORDComputerUtente
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Chiave corrente
HKCU\Software\Policies\Microsoft\Edge
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

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

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

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'SmartScreenForTrustedDownloadsEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'SmartScreenForTrustedDownloadsEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

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

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

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