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 Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,553 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,596 questions
{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.