Summary
- Update existing Registry Value via GPO
- Add new Registry Value via GPO
- Deploy Registry settings by Import Wizard
Update existing Registry Value via Group Policy
Before configuring Group Policy, group the computers those you want to deploy registry settings and move into single OU so that we can easily link new gpo into that OU.
Follow the below steps to update existing registry value through gpo:
1. Open the Group Policy Management console by running the command gpmc.msc.
2. Expand the tree and right-click on the OU you want this policy to be applied to. Now, I am going to apply computers which are under the OU ManagementTeam. so right-click on the OU ManagementTeam, and click Create a GPO in this domain, and Link it here…
3. Give the new policy name and click OK. Here, I am giving new policy name Deploy Registry Policy
4. Now right-click on the newly created gpo Deploy Registry Policy and click edit.
5. In the Group Policy Management Editor window, expand Computer Configuration and go to the node Registry (Computer Configuration/Preferences/Windows Settings/Registry).
6. Right-click on the node Registry, click New > Registry Item.
7. In new window, select the Registry Hive where your registry key exist and click browse (…) button to select existing registry value.
8. Select the registry value which you want update new value. Here, I have selected the registry value Debug from SoftwareMorganApp.
9. Set new value data (I have set it as 1) and click Apply to complete process.
10. That’s all, now you can login into any one of the computer which is located under the OU where this group policy is linked and see the updated registry value. If you already logged-in, just run the command gpupdate/force to refresh GPO settings and see the updated registry value.
Add new Registry Value through Group Policy
Adding new registry value via GPO is same process like updating existing registry value. Here, we are just giving new registry value and its value data instead of selecting registry value.
1. Open the Group Policy in which you want to configure deploy registry settings.
2. In the Group Policy Management Editor window, expand Computer Configuration and go to the node Registry (Computer Configuration/Preferences/Windows Settings/Registry).
3. Right-click on the node Registry, click New > Registry Item.
4. In new window, select the Registry Hive where your registry key is exist.
5. Type existing registry key path (SoftwareMorganApp) and type new registry value. Here, I have given new registry value ‘Description‘.
6. Set new value data (I have set it as ‘This is new description‘) and click Apply to complete process.
7. That’s all, now you can login into any one of the computer which is located under the OU where this group policy is linked and see the created new registry value. If you already logged-in, just run the command gpupdate/force to refresh GPO settings and see the newly created registry value.
Deploy Registry settings by Importing Registry via Group Policy
This method will be very useful if you want to update group of related registry values. Just configure the required registry values in local machine (The machine where you are editing GPO) and you can import the registry settings via import wizard in GPO.
1. Open the Group Policy in which you want to configure deploy registry settings.
2. In the Group Policy Management Editor window, expand Computer Configuration and go to the node Registry (Computer Configuration/Preferences/Windows Settings/Registry).
3. Right-click on the node Registry, click New > Registry Wizard.
4. In new window, select Local Computer and click Next.
5. Expand My Computer and Registry Hive, select the Registry setting which you want to import (I have selected MorganApp1 and its registry values) and click Finish to complete process.
6. That’s all, now you can login into any one of the computer which is located under the OU where this group policy is linked and see the created new registry settings. If you already logged-in, just run the command gpupdate/force to refresh GPO settings and see the newly created registry settings.