How to Unblock Downloaded Files in Windows

When you download files from the internet, Windows marks them with a hidden Zone Identifier tag that flags them as coming from an untrusted source – called the Mark of the Web (MOTW). Some files get blocked or restricted as a result. Here’s how to unblock them.

Why Windows blocks downloaded files

Windows Defender SmartScreen and other security features use the Zone Identifier to apply restrictions. You’ll see this as a warning prompt when opening executables, Office files opening in Protected View, DLLs that apps refuse to load, or a blocked protection message.

Method 1: File properties (single file)

Right-click the file > Properties > at the bottom of the General tab you’ll see: “This file came from another computer and might be blocked.” Check the Unblock checkbox > Apply > OK.

Method 2: PowerShell (batch)

To unblock multiple files at once, open PowerShell and run:
Get-ChildItem -Path C:\YourFolder -Recurse | Unblock-File

Replace the path with your actual folder. Removes the Zone Identifier from all files recursively.

Method 3: Internet Options zones

Control Panel > Internet Options > Security tab > adding a site to Trusted Sites reduces restrictions on files downloaded from it. More relevant for enterprise environments.

Should you unblock files?

Only unblock files you trust from known, reputable sources. The Zone Identifier exists for good reason. Unblocking an executable from an unknown source is a real security risk.

the PowerShell batch unblock is something i needed for ages before i found it. had a zip with about 60 files inside all marked, doing them one by one through properties would’ve taken forever. one command, done.

The warning about only unblocking verified files is important. The Zone Identifier has actually stopped a lot of accidental malware execution. Unblocking an exe from a random email attachment is a very different risk level than unblocking software downloaded directly from a developer’s site.

Protected View in Office is something people find frustrating but the MOTW explanation makes it make sense. Office files with macros from the internet get sandboxed specifically because macro malware is still a real attack vector. The annoyance is deliberate.

didn’t know about the Trusted Sites zone in Internet Options. Makes sense for enterprise use where you’re regularly downloading from known internal servers. Cleaner than unblocking files individually when you have a consistent, trusted source.

Something worth adding: if you download a zip and extract it, the MOTW can propagate to the extracted files depending on the tool. Windows’ built-in extractor preserves the mark; 7-Zip has an option that strips it on extraction. Useful to know if you regularly work with archives from external sources.