Microsoft Edge – Prevent Download of Unsafe Files Blocked by SmartScreen Filter

The SmartScreen Filter warns the user when running unrecognized programs or files downloaded from the internet. When you download files using Microsoft Edge, the file download is blocked if the source URL is blacklisted or the downloaded program fails the application reputation check by Microsoft SmartScreen filter. However, Edge allows users to download the unsafe file regardless of the warning.

Every time when a file download is blocked, the following message shows up:

“filename” is unsafe to download and was blocked by SmartScreen Filter.

edge unsafe files block download

Still, users can download the blocked file manually by opening the Downloads panel, right-clicking on the blocked file and choosing “Download unsafe file” option in the right-click menu.

edge unsafe files block download
“Download Unsafe File” option exists by default.

Note: Information in this article does not apply to the new Microsoft Edge (Chromium). It’s applicable to the old Microsoft Edge browser only.

Prevent unsafe files from being downloaded – Using the Registry Editor

To block unsafe files from being downloaded, use this registry edit. After implementing the registry edit below, you’ll no longer see the “Download unsafe file” option in the right-click menu in Microsoft Edge’s Download panel.

1. Start the Registry Editor (regedit.exe) and navigate to the following branch:


Note: The Policies key or its subkeys may not exist by default. If so, create those subkeys manually.

2. Create a DWORD value named PreventOverrideAppRepUnknown

3. Double-click PreventOverrideAppRepUnknown and set the value data to 1

4. Exit the Registry Editor.

edge unsafe files block download
“Download Unsafe File” option removed.

Prevent unsafe files from being downloaded – Using Group Policy Editor

If you’re using Windows 10 Pro or higher, you can configure this setting using Group Policy Editor.

Start the Group Policy Editor (gpedit.msc) and go to:

User Configuration > Administrative Templates > Windows Components > Microsoft Edge

Enable the following setting in the Group Policy Editor

Prevent bypassing SmartScreen prompts for files

If you enable this setting, your user account is blocked from downloading unverified or unsafe files blocked by the SmartScreen Filter. The setting applies for the current user account only. There is an equivalent per-system GPO under “Computer Configuration” branch, but that doesn’t seem to work as intended.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

2 thoughts on “Microsoft Edge – Prevent Download of Unsafe Files Blocked by SmartScreen Filter”

Leave a Comment