PS script deployed via GPO not installing

Eric Ma 0 Reputation points
2024-05-31T15:56:09.6733333+00:00

Hello experts,

I could use some help determining why a PS script deployed via Group Policy is not applying. I suspect it is due to the ExecutionPolicy restriction however I have attempted to bypass in the script parameters as well as adding the bypass to the script itself (Set-ExecutionPolicy Bypass -Confirm:$false -Force).

2024-05-31 09_28_36-AWS-KVDC-01 - aws-kvdc-01.kv.local - Remote Desktop Connection GPResult shows the server is applying the policy, but the script does not run.2024-05-31 09_23_00-SS-UTILITY-1 - ss-utility-1.kv.local - Remote Desktop Connection Included in the script is a log output, but no log is saved so I am suspecting the GPO is applying but the script never runs. The servers are 2019. Any suggestions?

Thanks,
Eric

Windows for business Windows Server User experience PowerShell
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.