Tip #467: Bulk unblock the XRM Toolbox

If you have ever downloaded the fantastic XRM Toolbox, you will know that the .dll files need to be unblocked before you can use the application.

Donna Edwards referred me to a PowerShell command suggested by Andre Margono that will bulk unblock all the files in the XRM Toolbox folder.

The syntax goes like this:
gci <your XrmToolBox folder> | Unblock-File
eg:
gci c:\XrmToolBox | Unblock-File

This is similar to our recommendation about the Package Deployer. Alternatively, when you download the xrm toolbox zip file, you can unblock the entire zip file before you extract it. if you are like me, you regularly forget to do that, and then Andre’s PowerShell is very helpful.

A third approach is to download the xrm toolbox using Firefox. Files downloaded via Firefox are not blocked by Windows, so you generally do not need to unblock them before running them.

Tweet about this on TwitterShare on Facebook0Share on Google+0

Leave a Reply

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