Tip & How-To about Computers & Internet

Windows error--"file c:\windows\system32\config\system missing"

This could also make reference to the files sam, software, security, or default. This error is caused by one of the registry hives becoming corrupt. To fix this, you can try the easy way first: using a Windows installation disk, boot from the CD or DVD and navigate to the "repair" option. This varies a bit depending on the operating system. In Windows XP, you will be asked if you wish to repair the computer using the recovery console. Windows Vista and 7 are a little different—asking if you wish to repair your computer. Your task is to get to the command prompt, so choose that option in Vista and 7.
Once you get to the command prompt (C:\>), type CHKDSK. Ttype CHKDSK /R. This will scan your file system for errors and just may fix the problem. Once it is finished, reboot the computer and see if the problem persists. Many times, you will succeed.
If this doesn't work, you may have to reboot from the startup disk and do a Windows repair or reinstall (the choices depend on what system disk your computer manufacturer has provided). The prompt for the Windows repair will come after you answer the question asking if you wish to use the recovery console and you choose not to do that. You will have to press F8 to accept the terms and conditions and then you should be asked if you want to repair a Windows installation. Choose that option and you can do a repair. Once you choose this option, you must select the copy of Windows to repair (normally choice #1). It will ask you for the administrator password. If there is no password, just hit RETURN. If there is a password, enter it. If you don’t know it, proceed to the next step, below.
It’s possible at this point that your computer manufacturer’s disk will not allow this option. It may want you to only install a new copy of Windows. This is OK to do, and if you choose it, be sure to tell the computer to install it by leaving the file system unchanged. What will happen is that you’ll have a new Windows installation, your data will be intact, but you will have to reload your programs.
We’ll cover the repair of the registry hives in another tip.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

hi guys, my notebook 0xc00000e9 this problem and how I want to save or return all my program really work? I need to go back but I do not want to format? need to save my back as folders? I hope you thank you hugs

This error indicates a corrupt registry. Luckily, when Windows is installed, a pristine copy of the registry hives is also installed and it remains untouched...replacing your corrupt registry hives with these ones will allow you to boot your operating system again. You may have to reinstall a few programs and drivers but all of your data will remain intact and you really won't lose anything. I will describe the process to you. I will also include instructions on how to back up the current registry in case you want to go back to it for any reason.

First you will need to locate the Windows install disc. If you don't have one you can borrow one as you will not need a key to perform the steps.

Put in the disc and perform the steps necessary to get your computer to boot to it.

Once you are the "Welcome to Setup" screen, press R to go into the Recovery Console.

Enter the administrator password when prompted

Tell the program what installation of Windows you would like to recover.

Now for the commands

md tmp (this creates a directory labeled tmp)

These 5 commands will make a copy of your current registry hives and back them up to the tmp directory. Type these in first. ENSURE you back them all up.

copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

These 5 commands will delete the current, corrupt registry hives.

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

These 5 commands will copy the pristine, uncorrupted hives into your system.

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

Once you have entered your last command type exit to leave the recovery console and your computer should restart.

If you want to put the old registry back for any reason, simply follow the same steps but instead delete the current registry and replace it with the files that you placed in the tmp directory. Ensure that you remove the .bak extension from the file when you copy them over.

Really, other than this, the only other known working option is to reformat your computer.

Hope this helps.

Jun 27, 2011 | Computers & Internet

1 Answer

error stop c0000218 registry file failure. reistry cannot load the hive file \systemroot\system32\config\default or its log or laternate its corrupt absent or not writable and it dumping physical memory

Severe Windows corruption - the file that keeps all the configuration settings is missing or corrupted.
If you don't have a backup of the registry then you will have to reinstall Windows.

Apr 18, 2011 | Computers & Internet

2 Answers

problem with pc

Here is the solution right from Microsoft.


When you try to start or restart your Windows XP-based computer, you may receive one of the following error messages:

Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SOFTWARE

Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate

This issue can occur if the System or Software hive for the Windows XP installation is missing or damaged.

To resolve this issue, use one of the following methods.

Use the Recovery Console Tool
To restore a damaged registry hive, use the Recovery Console to restore the backup copy of the hive from the Repair folder. The Repair folder contains a copy of the system's registry hives that were created after the first successful startup of Windows XP.

WARNING : Although data should not be affected by the following procedure, you may need to restore changes you previously made to programs or system settings since the first time you successfully started Windows XP.

To replace the damaged registry hive and restore the backup copy of the hive from the Repair folder: Start your computer to the Recovery Console.

Determine if the file that is mentioned in the "Symptoms" section of this article is present, and if it is, rename it:

In Recovery Console, change to the c:\Windows folder.

Type cd sytem32\config , and then press ENTER.

Type dir system , and then press ENTER.

If you cannot run the preceding command successfully (because the file is missing), skip to step 3. If you can run the preceding command successfully, type ren system system.bak , and then press ENTER.

NOTE : If the message that you received referred to the software file, replace "system" with "software" in the preceding command. For example, you would type ren software software.bak (instead of ren system system.bak ), and then press ENTER.

Type copy c:\windows\repair\system , and then press ENTER.

NOTE : If the message that you received referred to the software file, replace "system" with "software" in the preceding command. For example, you would type copy c:\windows\repair\software (instead of copy c:\windows\repair\system ), and then press ENTER.

You should receive a "One file copied" informational message. For additional information about how to use Recovery Console during startup, click the article number below to view the article in the Microsoft Knowledge Base:
Q307654 HOW TO: Install and Use the Recovery Console for Windows XP

IMPORTANT : If you encounter problems when you run the preceding commands, you may need to use the Change Directory command ( cd ) one folder at a time before you run the preceding commands. For example, type cd system32 , press ENTER, type cd config , and then press ENTER.

Type exit , and then press ENTER to quit Recovery Console and restart the computer.

Oct 23, 2007 | Computers & Internet

Not finding what you are looking for?

737 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

David Payne
David Payne

Level 3 Expert

14162 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions