Forum Discussion
Rich_Pike
Jan 13, 2022Copper Contributor
StartingScriptWrapper.ps1 - not launching with AppLocker enabled
Hi folks. Has anyone got the above script to launch in environments where AppLocker is present? PowerShell runs for standard users in Constrained Language mode where AppLocker is enabled and this...
Jan 14, 2022
I have heard this feedback from others. The issue will be the AppLocker configuration. Ultimately, PSFTooling will run the StartingScriptWrapper which will then run your powershell script.
You will need to investigate why AppLocker is blocking this. Here are some ideas: If the configuration does not allow powershell to run, you are out of luck. If it requires the scripts to be signed, then you'll have to sign them. If it only allows scripts to be run from certain locations, you should add C:\Program Files\WindowsApps to that list.
You will need to investigate why AppLocker is blocking this. Here are some ideas: If the configuration does not allow powershell to run, you are out of luck. If it requires the scripts to be signed, then you'll have to sign them. If it only allows scripts to be run from certain locations, you should add C:\Program Files\WindowsApps to that list.