Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a shell extension for Windows Explorer that adds a new context menu item, which allows to unblock the downloaded file? It should work exactly as I would open the file properties and click the Unblock button.

Ideally, such a shell extension should also display an overlay icon to indicate that the file is still blocked.

share|improve this question
    
blocked by what? blocked to what? –  fluxtendu Feb 18 '10 at 9:05
    
@fluxtendu - on download some files are blocked by Windows as "unsafe content". You have to right click and select "unblock" from the properties page to be able to use it. –  ChrisF Feb 18 '10 at 9:13
add comment

7 Answers 7

There's a tool from Sysinternals called streams.

This page describes how to use it. It doesn't add an option to the context menu, but does allow you to unblock a number of files at once.

I've also found this post

This reg file tweak may do the trick for you: It adds a "Take ownership" option to the right-click context menu when you select a file: http://forums.techguy.org/tech-tips-...text-menu.html

which is probably closer to what you want.

share|improve this answer
add comment

Download NTFSext.exe described in this Microsoft article.
This is a zipped executable. Execute it to extract the files, then extract from the StrmExt.zip the dll named StrmExt.dll. Copy the dll to C:\Windows\System32 and execute the following command:

regsvr32 C:\Windows\System32\StrmExt.dll

You now you have a new tab in the file Properties of Windows Explorer that shows you a file's streams and allows their deletion:

image

Just a little remark: There's a bug in the program in that answering No to the delete dialog will still delete stream. Another bug is that the contents of the stream are not well displayed. If you're feeling adventurous, and as the source is included, you can correct the bug (and re-post the dll).

share|improve this answer
    
My intention to use a shell extension was a usability improvement (less mouse clicks). Your suggestion means even more clicks than opening file properties and clicking the Unblock button. –  Toro Feb 18 '10 at 11:10
    
@Toro: I thought it would be useful to see what you're deleting. Otherwise, I believe that such an extension doesn't exist, although with the source of the above dll it should be easy to write (but sorry I don't have the time). –  harrymc Feb 18 '10 at 12:34
add comment

Do you want to cofigure the Setting for "Data Execution Prevention" I never heard of a tool to configure this directly from the context menu, but perhaps a serach for DEP would help you.

share|improve this answer
    
The Data Execution Prevention has nothing to do with blocked files that are just marked as blocked (see alternate data streams of NTFS). –  Toro Feb 18 '10 at 10:14
add comment

Sysinternals is good. You can get the source using web.archive.org, and let somebody develop the internet explorer context-menu for you on rentacoder.com

share|improve this answer
add comment

You'll need streams.exe from Sysinternals (mentioned above by @ChrisF). I put mine in the c:\Windows folder so if you want it elsewhere, you'll need to change the registry fragment below accordingly.

In your favorite Notepad-like editor, create a file and call it (something like) Unblock.reg. It should contain:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Unblock File]
"Icon"="C:\\Windows\\System32\\Shell32.dll,109"

[HKEY_CLASSES_ROOT\*\shell\Unblock File\Command]
@="\"C:\\windows\\streams.exe\" -d \"%1\""

Once you have it, double-click on the .reg file and click "Yes" when asked if you want to continue.

That's it.

N.B. I've tested and am using this with Windows 7. YMMV.

share|improve this answer
add comment

Someone has written it but no x64 version available yet: http://www.benf.org/other/alternatestreamoverlay/index.html

share|improve this answer
    
That extension adds an overlay icon whenever there is more than one ADS (which may not be the zone identifier one), but it doesn't provide an "Unblock" option in the context menu. There is a 64-bit version of it in the same page you link to too. –  Xandy Nov 5 '12 at 10:13
add comment

Here's another alternative (open notepad, paste this text, save it as .reg and then double click the new file):

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'"

This one doesn't need additional tools installed, as PowerShell is part of Windows (at least in recent versions), although it provides no overlay icon.

Note: credit.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.