Add Unblock File Context Menu in Windows 10

When you download files from the Internet, Windows adds zone information to it and stores it in the file's NTFS alternate steam. Windows 10 shows you a security warning every time you try to open it. Some file types are fully blocked from opening. SmartScreen, a security feature of Windows 10, causes this behavior. But even if SmartScreen is turned off, you still get a warning and need to unblock downloaded files. To save your time, you can add a special context menu to unblock files faster.

When you try to open a file which was downloaded from the Internet, you see a warning like this: Windows 10 SmartScreen Warning

To avoid it and unblock a single file, you can use either the File Properties or PowerShell. To unblock all files in a folder in Windows 10, you need to use PowerShell.

To save your time, you can add a special context menu entries, so you will be able to unblock the selected file or all files in a folder. See the following screenshots:

Windows 10 Unblock Files Context Menu

Windows 10 Unblock Files Dir Context Menu 2 Windows 10 Unblock Files Dir Context Menu 1

Here's how it can be done.

To Add Unblock File Context Menu in Windows 10,

  1. Download the following ZIP archive: Download ZIP archive.
  2. Extract its contents to any folder. You can place the files directly to the Desktop.
  3. Unblock the files.
  4. Double click on the Add Unblock Context Menu.reg file to merge it.
  5. To remove the entry from the context menu, use the provided file Remove Unblock Context Menu.reg.

You are done!

How it works

The Registry files above utilize the following PowerShell commands:

  • For files: powershell.exe Unblock-File '%1'. The command will be added to the Registry branch HKEY_CLASSES_ROOT\*\shell\unblock.
  • For all files in the folder (non-recursive): powershell.exe dir '%1' | Unblock-File
  • For all files in the folder (recursively): powershell.exe dir '%1' -Recurse | Unblock-File

The last two commands will be added to the HKEY_CLASSES_ROOT\Directory branch.

Tip: See how to go to a Registry key with one click.

The undo tweak removes them.

The mentioned PowerShell commands are reviewed in detail in the following articles:

If you are interested in learning why Windows is blocking downloaded files, see

That's it.

3 thoughts on “Add Unblock File Context Menu in Windows 10

  1. Phil

    It’s super useful! Thank you but it does not work in Windows 7

    Reply
    1. Sergey Tkachenko Post author

      That’s because the Unblock-File cmdlet must be missing in Windows 7.
      Try to update PowerShell.

      Reply
      1. Phil

        Oh ok. I will update the powershell

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *