How do I use a GPO to make a registry change?

  • Thread starter Thread starter Chris Coates
  • Start date Start date
C

Chris Coates

I need to make a registry change to a group of PCs so that they will point
to a new SUS server.
I had hoped to do this with a Computer GPO. I am not having luck figuring
out how to do this.
Is there a better way to make a reg change to a large number of machines?

Thanks

ccoates
 
Ok. This is highly not recommended. But it gets around some ADM issues.

1. Open Registry Editor
2. Delete this Subkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy
Objects
3. Open Group Policy Editor on the GPO you need to add registry keys and
values to.
4. Go to the key you deleted. You will see two subkeys under that Group
Policy Objects key. These keys represent the registry keys under Computer
and User sections.
5. Create Registry keys and values under them as appropriate. The User would
be created under HKCU on the target machine and the Computer would be
created under HKLM.
6. Now, in the Group Policy editor make a change in ADM Templates in User
and Computer configuration. This would allow the editor to suck in the new
keys and values that you have created.
7. Close the group Policy editor.

With this method, you can add Binary registry values to deploy using Group
Policy which is a severe limitation of ADM Templates.

Senthil Prabakaran
 
Back
Top