Unblock File in Windows 10: 4 Ways
To unblock a file in Windows 10, right-click the file, select Properties, and if you see an Unblock checkbox at the bottom of the General tab, check it and click Apply. This removes the Mark of the Web (MOTW) that Windows adds to files downloaded from the internet, which is what triggers the "Windows protected your PC" SmartScreen warning. If the checkbox is missing, the file may already be unblocked, or you can use the methods below to unblock multiple files at once.
Why Windows Blocks Downloaded Files
Windows 10 uses a security feature called the Mark of the Web to tag files that come from the internet or another computer. This mark is stored as an alternate data stream (ADS) named Zone.Identifier attached to the file. When you open such a file, Windows checks this zone identifier and may show a warning, especially for executables, scripts, or compressed archives. The purpose is to prevent you from accidentally running potentially harmful content that you downloaded from an untrusted source.
This protection applies to files downloaded via browsers (Edge, Chrome, Firefox), email attachments, and files copied from network shares or other removable drives. It does not apply to files you created locally on your own drive, which is why files you make yourself never show the warning.
How to Unblock a Single File
The simplest method works for one file at a time:
- Locate the file in File Explorer.
- Right-click the file and select Properties.
- On the General tab, look at the bottom for a Security section.
- If you see an Unblock checkbox, tick it.
- Click Apply and then OK.
If the checkbox is not visible, the file is not marked as blocked. This can happen if the file was already unblocked, if it was created locally, or if the zone identifier was removed by another process.
Unblock Multiple Files at Once
When you download a ZIP file containing many files, Windows often blocks only the ZIP itself, not the contents. However, if you extract the ZIP and the warning appears for every extracted file, you can unblock them all in one go using PowerShell:
- Open the folder containing the files.
- In the File Explorer address bar, type
powershelland press Enter. This opens PowerShell in that folder. - Run the following command to unblock all files in the current folder:
Get-ChildItem -Path . -Recurse | Unblock-File
This command recursively processes every file in the folder and subfolders, removing the Zone.Identifier stream. The Unblock-File cmdlet is built into Windows 10 and requires no additional software.
Unblock a File from Command Prompt
If you prefer the command line, you can use the built-in Unblock-File cmdlet in PowerShell as shown above, or use the legacy streams.exe utility from Microsoft Sysinternals (which you must download separately). For a single file, the PowerShell command is:
Unblock-File -Path "C:\path\to\file.exe"
You can also use the /unblock switch with the certutil command, but that is less reliable. The PowerShell method is the official and recommended approach.
What If the Unblock Checkbox Is Missing?
If you right-click a file and see no Unblock checkbox, it usually means the file is not blocked. However, there are exceptions:
- Files inside a blocked ZIP: The ZIP itself is blocked, but the extracted contents may not be. Unblock the ZIP first, then re-extract.
- Files from network shares: Windows may not show the checkbox for files on network drives. Copy the file to your local drive first.
- Files with read-only attribute: Remove the read-only attribute before trying to unblock.
- Group Policy: In some corporate environments, the checkbox is hidden by policy. In that case, you may need to contact your IT administrator.
If the file still triggers SmartScreen after unblocking, the warning may be based on the file’s reputation, not the MOTW. SmartScreen can flag files that are unknown or have low reputation, even if unblocked. In that case, you may need to click More info and then Run anyway on the warning dialog.
Safety Considerations and Risks
Unblocking a file removes a security warning, but it does not make the file safe. The Mark of the Web is only a warning; it does not scan the file for malware. Before unblocking and running any downloaded file, you should:
- Scan the file with your antivirus software.
- Verify the file’s digital signature (right-click > Properties > Digital Signatures) if it has one.
- Only unblock files from sources you trust.
If you are unsure about a file’s origin, it is safer to delete it rather than unblock it. Unblocking a malicious file does not remove its payload; it only suppresses the warning.
Frequently Asked Questions
Why can’t I see the Unblock checkbox?
The checkbox only appears when the file has a zone identifier. If the file was copied from a local drive, created on your PC, or already unblocked, the checkbox is absent. Also, some file types like .txt or .jpg may not show the checkbox even if downloaded, because Windows only applies the mark to executable and script files by default.
Does unblocking a file remove the virus?
No. Unblocking only removes the security warning. It does not remove or neutralize any malware. Always scan the file with antivirus software before running it.
How do I unblock a file in Windows 11?
The process is identical to Windows 10. Right-click the file, select Properties, and check the Unblock box if present. The PowerShell command Unblock-File also works in Windows 11.
Can I unblock a file without admin rights?
Yes, unblocking a file only modifies the file’s alternate data stream, which does not require administrator privileges. However, if the file is in a protected system folder, you may need admin rights to modify it.
What is the difference between Unblock and SmartScreen?
Unblock removes the zone identifier that triggers the file-based warning. SmartScreen is a separate reputation-based service that checks the file’s popularity and signature. Even after unblocking, SmartScreen may still warn if the file is unknown. You can bypass SmartScreen by clicking More info > Run anyway on the warning dialog.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.