Windows Registry Survival Guide
Sunday, 11. November 2007, 16:14:43
default - HKU\Default, software - \HKLM\Software, system - HKLM\System. The same files with the *.alt extension are alternate copies used for the "last known good config" boot option. *.sav is the extension for first-install-run copies of registry hives.
The problem with this is that if the system hive gets corrupted somehow, the whole kaboodle can't boot. And usually when system hive gets corrupted (which is almost certain with, say, BSODs caused by faulty memory sticks), the spare copy also gets corrupted. So "last known good config" may not help much. The "last known good config" option just invokes a copy of the hives made before the last hardware change.
Sometimes the problem is just broken security permissions on the registry files after a dirty shutdown. This can be fixed by moving the registry hives to a different partition, then moving them back in.
And, some notes on preventive maintenance...
Registry hives should be backed up regularly - manually is fine, as long as there's a spare OS around capable of writing to NTFS (many Linux Live CDs can do that). The Windows utility RDisk can also archive registry on removable media.
"Write cache off" is a good option for the system hard drive. Of course it won't help against faulty DIMMs, where data can get corrupted while in RAM and be written back corrupted regardless of the hard drive's cache. But it may help against power cuts.
Which begs for the third - a UPS is a very useful thing.
Also defragmenting the system files, for which System Internals had a utility, helps.
Finally, a simple trick for Windows reinstall without much hassle - an install of Windows from scratch, then all the service pack and such application, drivers install, and - a copy of the old Windows directory over the new one with everything but the new registry hives (and SAM DB, everything in %systemroot%\system32\config) replaced.

How to use Quote function: