Failing to unblock downloaded ZIP files causes really strange errors

Twice recently I have hit the problem that I needed to a unblock ZIP files downloaded from a VSO source repository before I extracted the contents. One was a DSC modules, the other a PowerShell script with associated .NET assemblies.

In both cases the error messages I got were confusing and misleading. In the case of the DSC module the error was “cannot be loaded because you opted not to run this software now”. The other project just suffered mixed .NET assembly loading errors.

So really try to remember after a download to right click into the properties and make sure the ZIP file does not need unblocking


If it does, click the unblock button prior to extracting the ZIP, else you will see similar strange errors to the ones I have seen