Profile

unixronin: Galen the technomage, from Babylon 5: Crusade (Default)
Unixronin

December 2012

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Expand Cut Tags

No cut tags
Tuesday, April 27th, 2010 01:37 pm

Once again, a question has come up on the Bacula users' list about restoring just the registry of a Windows box that has corrupted its SOFTWARE registry hive to the point that it won't boot.

I put it to you that of all the "innovative" ideas that Microsoft has built into Windows over the years, the Windows Registry is the worst.  It is opaque, it is fragile, it is difficult to back up, clean out or repair, you can pretty much only repair it from Windows itself which means that it's almost impossible to repair it when — not if — Windows corrupts it, and all kinds of noxious things can be buried inside it by malware.  Not only does Windows periodically outright corrupt the registry, but from the first time you boot a new Windows installation the registry starts accumulating cruft and droppings that gradually bog the machine down and introduce cryptic malfunctions with no readily determinable cause.  Things that worked yesterday just stop working for no apparent reason.

Combine with opaque hexadecimal-string registry key names created by various things, so that you can't even tell what some random leftover registry key belongs to or whether it's still in use, and it's a recipe for disaster.  That disaster has been ongoing for fifteen years now, and there's no end in sight.

The saddest part about the whole thing is that Microsoft actually believed that this massive, opaque, monolithic, unmaintainable monstrosity would be an improvement.

Tags:
Wednesday, April 28th, 2010 03:27 pm (UTC)
Utilities exist to back it up, restore it, and repair it. Heck, if I recall, there are command line utilities built into Windows to do a lot of that.
Yes, they do. But the ones included with Windows are very limited in what they can do, and all the third-party ones I'm aware of are both non-free and require a working Windows to run on — as, to the best of my knowledge, do the included Windows tools. So either way, if Windows has managed to piss in its registry badly enough that it won't boot, you're screwed, because if you can't boot, you can't run the tools to repair the registry that's stopping you from booting.

Third-party registry cleaner tools exist, too. I've tried several. Some are fairly reliable. But all of them warn up front that beyond a certain point, they're guessing when it comes to repairing bitrot or removing keys that they don't think anything owns any more, and that if it hoses your registry, you're on your own.