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

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 Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • 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.

  • dcmfl

    Hi, I tried this on Windows 8 and it returned the following error message: This file does not have a program associated with it for performing this action. Any ideas how I can get round this?
    Thanks

  • Craig

    Anyway to make Windows 8 not block these files in the first place?

  • http://www.thewindowsclub.com Anand Khanse

    Yes you can. I will post a tutorial on it in a few days – and also post its link here.

  • http://www.thewindowsclub.com Anand Khanse

    I think this is what you are looking for. It has already been posted here: http://www.thewindowsclub.com/attachment-manager-in-windows-7-faq-configuring-high-risk-medium-risk-low-risk-files Hope it helps.

  • Ashish Goyal

    Hey i did what u said…but now i want to remove that unblock file option from context menu…How can i do this…??

  • Stephen Norbury

    Quite old. But you need to update your powershell to 3.0. Its in the Framework 3.0. You can get it here –> http://www.microsoft.com/en-us/download/details.aspx?id=34595

  • Xhanoir

    The REG file works on w8 9200 core… It open a MSDOS window and process to ask, then it clean it.

  • Recent Comments