In this post we will see how to Unblock a File in Windows 10/8 using the right-click context menu. If a file has come from another computer, a network or downloaded from the Internet, it may be blocked to protect your Windows PC. You may see a Windows has blocked access to this file message. But if you are sure that the file is safe, then you will have to first unblock it before you can open it.
Unblock a downloaded file using Context Menu
There is a posting on TechNet which says: To unblock a downloaded file, run the Unblock-File PowerShell 3.0 commandlet, like this:
Most Windows users may find themselves on unfamiliar territory with this suggestion!
Add Unblock Files to context menu
If you wish, you can add the “Unblock File” entry to your right-click context menu. This will let you unblock files easily.
To do so copy-paste the following in a Notepad and save it as a .reg file.
Then double-click on it to add its contents to your registry.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\powershell] @="Unblock Files"
Unblock-File -LiteralPath '%L'"
Now when you right-click any alien file you will see the option to Unblock File.
To unblock a file, simply right-click on the file and select Unblock Files! If you wish, you can download a ready-to-use registry file by clicking here. Extract the content of this zip file and double-click on the .reg file to add the entries to your registry.
This tip comes to you, thanks to MichaelCrump.net.