[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Cant remove registry changes made with ADM

I was directed to create a new registry key via group policy.  I made the adm file and added that to a new GPO.  Then I was told the path to it was wrong and it should be placed in another existing path.

The problem arises when I change the ADM file and try to replace the changes I made previously.  I go into the GPO remove the template, then add the revised template.

Running gpupdate on the test machine reveals my new setting takes effect, but the old path that is bad is there too.  I delete the key and do a gpupdate and it comes back.  I checked the SYSVOL folder for that GPO and find the ADM template in it; its only the corrected version.  The only way I found to correct the problem is to delete the whole GPO and recreate it.

Where does it get the information to keep making the bad registy key?  How do I get it to purge that setting?
0
cavalierlan
Asked:
cavalierlan
  • 2
  • 2
1 Solution
 
oBdACommented:
Add the "bad" key back to your adm template in a separate policy (you can leave the "good" key in), import the template again, set the policy with the "bad" key back to "Not configured".
For the future: *before* you change an adm template, set ALL policies you're about to change back to "Not configured".
Do NOT remove an adm template for good if there are still policies configured in it! The template just tells the GP editor what to display; removing a template from a GPO does NOT remove any settings configured in the GPO with the help of this template!
0
 
cavalierlanAuthor Commented:
will I have to leave it in the GPO not configured, or can I remove it once it is not configured?
 
0
 
cavalierlanAuthor Commented:
Also, do you guys get paid for your points? How does that work?
0
 
oBdACommented:
Once the setting is back at "Not configured", you can remove the "bad" key again.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now