How to Block Files Downloaded from Internet in Windows 11
Windows 11 blocks files downloaded from the internet to protect your PC from viruses and unwanted programs.
This protection works by marking files that come from online sources, making sure you know where they originated before you open them.
For example, Windows 11 automatically marks many downloaded files to prevent them from running unexpectedly.
You can control how strictly Windows blocks these files by adjusting security settings for different internet zones, like the general Internet zone.
You block downloaded files by adjusting Internet Properties security zones. Access this via Windows Security or Group Policy Editor. You can also unblock specific files by right-clicking, selecting Properties, and choosing Unblock.
How Does Windows Decide What to Block?
Windows looks at three things to decide if it should block a file:
- What program you are using
- What type of file it is
- Where you downloaded it from (Internet, local network, trusted sites, or restricted sites)
File Risk Levels
Windows assigns different risk levels, like High or Medium, to files you download so you know how safe they are. High-risk files from the internet will show a warning that Windows thinks they could be harmful, while medium-risk files will ask you to confirm before opening.
- High Risk – Windows stops you from opening these files if they come from a restricted zone. If they come from the Internet, you see a warning that says "Windows found that this file is potentially harmful."
- Medium Risk – Windows warns you and asks if you really want to run this software.
- Low Risk – Windows lets you open these files without any warning.
What Happens If You Disable File Blocking?
Administrator privileges are required to change these settings. These changes will not affect files that were already blocked before the administrator makes the modification.
Option 1Use Local Group Policy Editor
You can block files downloaded from the internet using the Local Group Policy Editor if your Windows 11 is Pro, Enterprise, or Education. This tool lets you change security settings for your computer, allowing you to decide if this blocking applies to everyone or just specific users.
- Open the Local Group Policy Editor. Choose whether you want this to apply to all users, specific users, or all users except administrators.
- In the left pane, go to this location:
User Configuration\Administrative Templates\Windows Components\Attachment Manager - Look at the right pane. Find the policy called "Do not preserve zone information in file attachments." Double-click it to edit it.
- To Turn ON File Blocking (Default Setting):
Select the dot next to "Not Configured" and click OK. - To Turn OFF File Blocking:
Select the dot next to "Enabled" and click OK. - You can close the Local Group Policy Editor.


Option 2Use Registry Editor (All 🪟 Windows 11 Versions)
You can block files downloaded from the internet on any Windows 11 version, even Home, by using the Registry Editor. This method needs administrator access, and you'll use Windows Terminal with a special command to change the registry settings and turn on file blocking.
Right-click the Windows Terminal app and select "Run as administrator."
To Turn ON File Blocking (Default Setting):
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /f
To Turn OFF File Blocking:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f
Press Enter to run the command.
Summary
Windows helps keep you safe by blocking dangerous files downloaded from the internet, using a system that checks where files come from and their type.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!