I'm looking to convert a bunch of flat .reg files used in old login scripts into Group Policy Objects (GPOs). These files include hundreds of website whitelists, and I'm trying to use PowerShell, specifically the set-gpregistryvalue command. However, I'm getting an access denied error even with my Domain Admin credentials when I attempt it through a scriptblock using invoke-command. Aside from that, does anyone know of a good Group Policy editor that allows bulk pasting? Or how about a .pol file editor? I could consider editing the .pol file in the backup and then re-importing it.
2 Answers
I totally get your frustration! But just to clarify, if your goal is to create GPOs, using Set-GPRegistryValue is indeed the right approach unless you're trying to set properties locally. Let me know if you need a hand with the command syntax or anything else.
Just a heads up, the Set-GPRegistryValue command is meant for updating registry settings directly in a Group Policy Object, not for modifying the local system's registry. What you actually need is the Set-ItemProperty command instead.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures