Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a registry key that produces an error when selected in regedit. It may have multiple but unknown subkeys. regeidt isn't up to the task what is the best way to wipe out this key and anything within it?

share|improve this question

If you don't feel up to hacking together a script Sysinternals RegDelNull is another option for deleting "difficult" registry keys. And as ever, handle with care, like anything that messes directly with the registry it's a loaded gun and it can do a lot of damage.

share|improve this answer

Everything you need is explained in this "Hey, Scripting Guy!" article.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.