The below steps will slow you how to set the permissions on a given registry key using Group Policy, this is vey useful is you want to run a script with user privileges that needs to modify a certain registry key.
- Create new Group Policy or modify an existing policy.
- Expand Computer Configuration => Windows Settings => Security Settings
- Right-client Registry and select Add Key
- Browse down to desired registry key and click OK
- You will now be prompted with the security tab for that registry key, make the desired changes and click OK.
- Select if you want the permissions to be inheritable or not and click OK
When you are browsing for the key in step 4 the registry keys shown will be from local computer that you are using to edit the policy, if this computer does not have the desired registry key you may need to edit the policy from a computer that does have the key.
Very helpful – thanks 🙂