How to remove a tattooed registry setting from a GPO

You created a custom ADM file to push a registry setting to some machines, and it tattooed the registry of the targeted machines as a result.  Now you want to reverse this by pruning the registry setting from the registry.pol file of the GPO.  How can you do this?

Use PowerShell as follows:

Remove-GPRegistryValue -Name NAME -Key KEY -valueName POLICY

Where NAME is the name of the GPO, KEY is the Registry key you need to modify, and POLICY is the name of the registry value you want to remove.

Mitch Tulloch is a eight-time recipient of the Microsoft Most Valuable Professional (MVP) award and widely recognized expert on Windows administration, deployment and virtualization. For more tips by Mitch you can follow him on Twitter or friend him on Facebook.

 

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top