How to Unblock Files in Windows 8 from the right-click Context Menu

Speed Up My PC

You might have noticed that in Windows 8 Developer Preview, the Unblock file button may be missing from File Properties. This button used to be present in the File Properties of those files, which came from another computer or were downloaded from the Internet. This was a good security feature meant to protect your computer from alien files.

UPDATE: Windows 8 RTM does offer this feature and you can read more about it here.

win7 unblock How to Unblock Files in Windows 8 from the right click Context Menu

This feature does not seem to be available in Windows 8 DP. Now when downloading zip files from the Internet, you have to respond to more than one security prompts to get the file loaded.

Unblock downloaded file in Windows 8

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 file 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.
unblock windows8 How to Unblock Files in Windows 8 from the right click Context Menu

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 aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows Desktop Experience since 2007, and the Admin of TheWindowsClub.com, TheGeeksClub.com & WinVistaClub.com. Creating a System Restore Point before trying out a new software or a tweak is always recommended.
  • mmg1818

    old Windows Vista trial 2009 no work

    now Windows Vista was available from the Digital River trial 2012

    i use vista ultimate again.

  • Chris Webster

    Strange… I’m running Windows 8 CP, and I *do* have an unblock button under file properties.

  • RST

    Great Method.
    However it doesnt work on Windows 7 x64 :(
    Would be great if something like this existed on win7
    (it does add a context menu item but just flashes an cmd window)
    ============================================================
    The term ‘Unblock-File’ is not recognised as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:13
    +Unblock-File -LiteralPath ‘*********file.xxx’
    + CategoryInfo : ObjectNotFound: (Unblock-File:String) [],
    CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    =============================================================
    the file stays blocked obviously.

    Help.