en-US windows computer user

Configure Windows Defender SmartScreen

Verified with Windows 11 25H2 — updated on July 10, 2026

Windows 11 25H2

Supported on: Microsoft Edge on Windows 10 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Windows Defender SmartScreen\Microsoft Edge

Description

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.

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

Value name: SmartScreenEnabled

Enabled: SmartScreenEnabled = 1

Disabled: SmartScreenEnabled = 0

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure Windows Defender SmartScreen
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge on Windows 10 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]
"SmartScreenEnabled"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure Windows Defender SmartScreen
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge on Windows 10 or later

$path = 'HKLM:\Software\Policies\Microsoft\Edge'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SmartScreenEnabled' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview