Windows 10 Configuring Windows 10 Ent 1703 with CHEF, script execution disabled. Can't enable form command line.

  • Thread starter Thread starter Thorbjørn Kolstad
  • Start date Start date
T

Thorbjørn Kolstad

Hi,

Recently i've been working with automating the installation of Windows 10 Ent. on VM's via CHEF.
The last days i've been stuck trying to figure out how to run my scripts.

My scripts can't be loaded by the simple reason that script execution is disabled via local GPO.



I'm completely aware of the set-executionpolicy but this won't help me out because the local GPO will override this.
I need a way to swap this setting from "Not Configured" to Enabled, like a registry key or something similar. The only way i've been able to turn it on is via GUI and that's a pretty big turn down when using CHEF.

This was not a problem when writing the cookbooks for Windows Server *.

Any tips?

Continue reading...
 

Similar threads

Back
Top