David
David

Reputation: 29

How do I modify, via PowerShell, Windows Group Policy settings that don't have a Registry setting?

I need to apply specific Group Policy related settings (not all of them have Registry setting equivalents) across multiple systems; preferably using a PowerShell script.

I've scoured the Internet and all GPO modification examples using PowerShell refer to setting the Registry equivalent's value. What about for GPOs that don't have a Registry setting equivalent for them?

First, am I correct that some GPOs aren't represented in the Registry? Second, if that's correct ... is there a way to change the settings for those non-Registry GPOs via PowerShell?

Exporting GPOs and importing them produced flakey behavior across systems. I tried using LGPO.exe to create a backup and the import that backup to other similar systems but it's not trustworthy and I guess not recommended from what I read.

I need a way to set GPOs (that do not have a Registry key associated with them) programmatically on multiple systems. The idea is to update systems rather than restore them (with an MDT image).

Thank you.

Exporting GPOs with LGPO.exe on one system and importing them on another similar system. "gpupdate /force" failures. Failed to load Computer Policy. Need this to work consistently.

Upvotes: 0

Views: 538

Answers (0)

Related Questions