How To Fix A Corrupted Registration Database That Stops A Computer From Booting


I’ve fixed a number of computers over the years using the following procedure. I first came across this when trying to fix a Windows XP computer, a long time ago, that wouldn’t boot. No amount of scanning, poking or prodding was able to clear it out.

A while after, I had to fix a desktop computer running Vista. It would boot up to a log-in screen which seemed oddly different – there was no picture, just an empty frame with a empty space under for a user name and an empty space for a password.

VistaLogin

VistaLogin

At first, fixing involved booting up from a recovery disk, opening a command prompt and typing the commands in manually. But then I found an easier way using a boot CD called Hiren’s Boot CDhttp://www.hirensbootcd.org/download/

I downloaded the ISO, burned it to disc and then booted from the CD. It uses a Windows XP operating environment as its base. One downside to this CD, because it is based on Windows XP it doesn’t have any SATA support. So to boot off this disc you would have to go into your BIOS and change your SATA settings.

integrated Peripherals

integrated Peripherals

For example; on my Acer desktop, I would press the Delete key to get into the BIOS settings and then go to the Advanced section, then Integrated Peripherals, then I would have to highlight Onboard SATA Mode, which is normally set to [AHCI]. I have to set that to [Native IDE] by pressing my spacebar, otherwise when I boot off the CD my main Windows hard drive will not show up.

onboard sata achi

onboard sata achi

onboard sata ide

onboard sata ide

I might see a C: drive but it may be for the boot disk CD and not my main hard drive, so I would not be able to access anything on it.


If you have a newer computer with the UEFI – an advanced version of the BIOS system. I know some people get cranky when you keep calling it a BIOS. 🙂 Anyway to boot off a CD/DVD/Flash drive you’ll have to look for a setting to disable Secure Booting. I don’t have that setting on my computer.

You can change the boot order in the BIOS or UEFI to boot off the CD or you will have to press a key during your computer’s boot. I have to press F12. Choose your DVD drive. That sends you to Hiren’s boot menu, use the arrows to highlight Mini Windows XP and press Enter. There is also a Mini Linux option if you’d prefer.

When Mini-XP loads, just use Windows Explorer to access the files on the hard drive. If it’s not listed as C: it will be the largest drive there.

In this example from my laptop my hard drive is listed as D: Local Disk.

explorer in Hiren's

explorer in Hiren’s

Using Explorer I navigated to the C:\Windows\system32\config. Inside this folder you’ll find the following files (without any extension)


DEFAULT
SAM
SECURITY
SOFTWARE
SYSTEM

explorer

explorer

I like to create a new folder called “backup” and move these five files to it. Or you can just rename them by adding an extension; for example renaming Default to Default.bak.

Now look inside the folder called Regback. Find the same five files. Copy all 5 over to the config folder, as is. That’s it. Now take out the CD and restart the computer.

I have done this a number of times in the past when all other options failed. Of course you can use any bootable CD/DVD that you are already comfortable with.

When I was fixing that Vista system with the strange logon Window, after the computer restarted I was taken to a menu with two options; Start Windows Normally and Repair Windows. To be sure, I chose Repair Windows. The system rebooted almost instantly, and booted up normally after.

 

About the Author

Terry Hollett

Terry is a self-taught computer aficionado, who after being exposed to Windows 3.1 in the early 1990's devoured every book and magazine on the subject he could get his hands on. A published author with over 20 years' experience building and servicing computers for friends and family he started his first website in 2002 and continues today at Hit Any Key.

There are 8 comments

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