PsAppDeoployToolkit Eror Please Help (VBS and AppLocker)

Hi,
I am getting this error while opening some programs. can you help me?
Ekran Alıntısı

I suspect you have Windows’ AppLocker enabled and this popup happens when you run your PSADT script with SCCM (or similar). The VBS script being created here is because you are blocking some application from being launched during installation with PSADT’s Show-InstallationWelcome function with the -BlockExecution parameter.

You have 2 choices:

  • Don’t use the -BlockExecution parameter of Show-InstallationWelcome. This will stop the creation of the VBS file mentioned in the popup.

or

  • In AppDeployToolkitConfig.xml, change <Toolkit_TempPath>$envTemp</Toolkit_TempPath> to a location where Windows’ AppLocker will allow scripts to run. Remember, SCCM will run the PSADT script with the SYSTEM account so you can point it pretty much anywhere.

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