How to Unblock A File in Windows 10 using the right-click Context Menu

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:

Unblock-File .\php_manual_en.chm

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"
[HKEY_CLASSES_ROOT\*\shell\powershell\command] @="C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe
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.

Enjoy!

Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.