Open in the explorer

Allow download restrictions

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override) User Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override)
Supported on
Microsoft Edge version 77, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/DownloadRestrictions_recommended

Explanation

Configures the type of downloads that Microsoft Edge completely blocks, without letting users override the security decision.

Set 'BlockDangerousDownloads' to allow all downloads except for those that carry Microsoft Defender SmartScreen warnings of known dangerous downloads or that have dangerous file type extensions.

Set 'BlockPotentiallyDangerousDownloads' to allow all downloads except for those that carry Microsoft Defender SmartScreen warnings of potentially dangerous or unwanted downloads or that have dangerous file type extensions.

Set 'BlockAllDownloads' to block all downloads.

Set 'BlockMaliciousDownloads' to allow all downloads except for those that carry Microsoft Defender SmartScreen warnings of known malicious downloads.

If you don't configure this policy or set the 'DefaultDownloadSecurity' option, the downloads go through the usual security restrictions based on Microsoft Defender SmartScreen analysis results.

Note that these restrictions apply to downloads from web page content, as well as the 'download link...' context menu option. These restrictions don't apply to saving or downloading the currently displayed page, nor do they apply to the Save as PDF option from the printing options.

See https://go.microsoft.com/fwlink/?linkid=2094934 for more info on Microsoft Defender SmartScreen.

Policy options mapping:

* DefaultDownloadSecurity (0) = No special restrictions

* BlockDangerousDownloads (1) = Block malicious downloads and dangerous file types

* BlockPotentiallyDangerousDownloads (2) = Block potentially dangerous or unwanted downloads and dangerous file types

* BlockAllDownloads (3) = Block all downloads

* BlockMaliciousDownloads (4) = Block malicious downloads

Use the preceding information when configuring this policy.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: msedge/DownloadRestrictions_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Download restrictions
# Possible options:
#   No special restrictions = 0
#   Block malicious downloads and dangerous file types = 1
#   Block potentially dangerous or unwanted downloads and dangerous file types = 2
#   Block all downloads = 3
#   Block malicious downloads = 4
Set-ItemProperty -Path $k -Name 'DownloadRestrictions' -Value 0 -Type DWord

Disable

# Disable: msedge/DownloadRestrictions_recommended
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/DownloadRestrictions_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'DownloadRestrictions' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Download restrictionsDownloadRestrictionsDrop-down listenumDownloadRestrictionsREG_DWORD
LabelValue
No special restrictionsREG_DWORD = 0
Block malicious downloads and dangerous file typesREG_DWORD = 1
Block potentially dangerous or unwanted downloads and dangerous file typesREG_DWORD = 2
Block all downloadsREG_DWORD = 3
Block malicious downloadsREG_DWORD = 4

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.