Skip to main content

Bulk Unblocking DLLs in Windows

This is something I've needed a couple times that has been useful. There have been a few times primarily when I'm downloading a zipped hotfix that the dlls I need to overwrite with are blocked since they've been downloaded and windows automatically marks them as blocked. This isn't that much of an inconvenience if it's 1 or 2 dlls but when we're talking about dozens this can get rather annoying.

You can, however, use the "Streams" application from SysInternals here:


Usage: streams [-s] [-d] <file or directory>

-s Recurse subdirectories.
-d Delete streams.
Streams takes wildcards e.g. 'streams *.txt'.

Just copy "Streams.exe" into the directory with the files you want to unblock and run it from the command prompt (Run as administrator) and it'll unblock everything recursively using a single command: streams -s -d *.*

I found this information and have reposted the information itself here in case the source ever goes down but still want to give credit for this info from where I found it at: Nicholas Rogoff's blog