Issues running PSADT due to subfolder files not having digital signatures

I am unable to use the PSADT files in certain environments since the AppDeployToolkitMain.ps1 and AppDeployToolkitExtensions.ps1 are not digitally signed. I am able to run them only if I explicitly unblock the files in the main ps1 file. Is it possible for the dev team to include the unblock options in the next release? For reference adding these 2 lines in Deploy-Application.ps1 makes the template usable in locked down environments.
Unblock-File AppDeployToolkit\AppDeployToolkitMain.ps1
Unblock-File AppDeployToolkit\AppDeployToolkitExtensions.ps1

What you are dealing with is MS SmartScreen.
It’s lame feature that add an “NTFS stream” to a file downloaded from the internet.
When windows sees this “NTFS Stream” it flags the file as blocked.
If the file is a ZIP file or package (e.g. EXE or MSI), all the files that are extracted from it are ALSO flagged as blocked.

TL;DR: Unblock the PSADT ZIP file you downloaded and unblack that before you extract the files within or you will not have a good time.

Thank you. I will look at that and check if it works out.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.