Server 2012 GPO: PowerShell Script on Computer Startup not running

Posted by Alex on Server Fault See other posts from Server Fault or by Alex
Published on 2013-06-27T02:44:09Z Indexed on 2013/06/27 4:23 UTC
Read the original article Hit count: 404

I've got a couple of Server 2012 instances on Amazon EC2 and I'm in the process of setting up the GPOs. All of the settings of the GPOs are being applied fine, except none of the PowerShell scripts specified on computer startup are actually being executed. The scripts are sitting on a UNC share which has Authenticated Users applied to it with full permissions. I'm assuming it probably has something to do with the Execution Policy, but I'm not sure how to automatically bypass it. I could just go in each instance and bypass the Execution Policy, but that's obviously not a good idea, plus I'm eventually going to connect Windows 7 computers that will be running the same scripts.

How can I get the scripts to actually run? Google searches hasn't yielded a whole lot...

© Server Fault or respective owner

Related posts about windows-7

Related posts about group-policy