Configure Windows Defender SmartScreen
Configurer Windows Defender SmartScreen
Explanation
This policy setting lets you configure whether to turn on Windows Defender SmartScreen. Windows Defender SmartScreen provides warning messages to help protect your employees from potential phishing scams and malicious software. By default, Windows Defender SmartScreen is turned on.
If you enable this setting, Windows Defender SmartScreen is turned on and employees can't turn it off.
If you disable this setting, Windows Defender SmartScreen is turned off and employees can't turn it on.
If you don't configure this setting, employees can choose whether to use Windows Defender SmartScreen.
Ce paramètre de stratégie vous permet de configurer si Windows Defender SmartScreen est activé. Windows Defender SmartScreen renvoie des messages d’avertissement pour protéger vos employés contre d’éventuels courriers indésirables d’hameçonnage et logiciels malveillants. Par défaut, Windows Defender SmartScreen est activé.
Si vous activez ce paramètre, Windows Defender SmartScreen est activé et les employés ne peuvent pas le désactiver.
Si vous désactivez ce paramètre, Windows Defender SmartScreen est désactivé et les employés ne peuvent pas l’activer.
Si vous ne configurez pas ce paramètre, les employés peuvent décider d’utiliser ou non Windows Defender SmartScreen.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilterHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter- Value name
EnabledV9
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: MicrosoftEdge/AllowSmartScreen
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnabledV9' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/AllowSmartScreen
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnabledV9' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/AllowSmartScreen
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
Remove-ItemProperty -Path $k -Name 'EnabledV9' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"