Results 1 to 6 of 6

Thread: How to fix "Windows XP could not start because the following file is missing or corrupt"

  1. #1
    Join Date
    Apr 2008
    Posts
    266

    How to fix "Windows XP could not start because the following file is missing or corrupt"

    A corrupt registry is the usual headaches for most of the computer users. Registry is an important part of your Windows operating system, it is what we call the central space. It stores all data on your PC, then a small error can cause big problems.

    Yesterday I was called to repair a friends PC, because his PC receives an error when he tries to start Windows XP. He thinks of reformatting the PC but has chosen to call me first to seek advice. Below is the error, he receives when loading Windows XP. Luckily I was able to rescue him from formatting his PC.


    Here are the procedures that you can follow to be able to restore a corrupted registry, and usually start up again on Windows XP. The procedures below also applies to the following registry key errors.
    • 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 administrator can not load the hive (file): \ SystemRoot \ System32 \ Config \ SOFTWARE or its log or alternate

  2. #2
    Join Date
    Apr 2008
    Posts
    266

    Re: How to fix "Windows XP could not start because the following file is missing or corrupt"

    Start Recovery Console

    To fix registry errors, you need Windows XP Recovery Console. You can start from a Windows XP CD or boot directly to the Recovery Console.

    Follow these steps to boot into Windows XP Recovery Console
    • Put your Windows XP CD-ROM drive

    • Restart your computer, make sure that your BIOS is set to boot from CD

    • When you see the "Press any key to boot from CD ..." press the space bar or any key.

    • Wait until you see the "Welcome to Setup" screen, press R to start the Recovery Console

    • Choose the Windows installation that you want to load

    • Enter password and press Enter

    • You should now be at C: \ Windows> prompt

    • Repair Copy files via Recovery Console


    If your Windows installation is on another drive you replace the drive letter in the procedure below.

    At the Recovery Console command prompt, type the following lines and press ENTER after each line:

    md tmp
    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

    delete the C: \ Windows \ system32 \ config \ system
    delete the C: \ Windows \ system32 \ config \ software
    delete the C: \ Windows \ system32 \ config \ Sam
    delete the C: \ Windows \ system32 \ config \ security
    delete the C: \ Windows \ system32 \ config \ default

    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

    Quit Recovery Console by typing "exit." When the computer restarts, press F8 and then select Safe Mode

  3. #3
    Join Date
    Apr 2008
    Posts
    266

    Re: How to fix "Windows XP could not start because the following file is missing or corrupt"

    Restart in Safe Mode and a Recent Snapshot Backup

    Restart the computer in Safe Mode by pressing F8 during the initial bootup and select Safe Mode. Once in Safe Mode, make sure the files and folders are visible so you can access them. Follow these instructions to achieve this.
    1. Open My Computer

    2. Click the Tools menu and then click Folder Options.

    3. Click the View tab.

    4. Under Hidden files and folders, click to select Show hidden files and folders, and then click to clear the Hide protected operating system files (Recommended) check box.

    5. Click Yes when the dialog box that confirms that you want to display these files appears.

    In My Computer, double-click the drive where you installed Windows XP (usually drive C) to view a list of folders. Then double-click "System Volume Information" folder. This folder contains the system restore points stored on your computer. The folders are similar

    _restore (EE42BEB8-700A-495F-8004-53D26C2E12C5)

    You may receive an Access Denied error message when trying to access the System Volume Information folder.
    C: \ System Volume Information is not available. Access is denied.

    You received this error message because you are logged into folder that does not have permissions set on the folder. To correct this, please follow the instructions in Microsoft Knowledge Base article 309531 to access and continue.

    Once you have access to snapshots, use the following instructions to copy one of the latest snapshots for Windows \ TMP folder, so you have access to it.
    1. The System Volume Information folder, click View, then click Details to display the date of each snapshot folder.

    2. Open a folder that was created at the current time, but rather before the problem began.

    3. Open Snapshot subfolder

    4. Check the following files and copy and paste them into C: \ Windows \ TMP folder
      • _REGISTRY_USER_.DEFAULT
      • _REGISTRY_MACHINE_SECURITY
      • _REGISTRY_MACHINE_SOFTWARE
      • _REGISTRY_MACHINE_SYSTEM
      • _REGISTRY_MACHINE_SAM


    5. Rename the files that you just copied into the C: \ Windows \ TMP folder.
      • Rename _REGISTRY_USER_.DEFAULT to DEFAULT
      • Rename _REGISTRY_MACHINE_SECURITY for security
      • Rename _REGISTRY_MACHINE_SOFTWARE software
      • Rename _REGISTRY_MACHINE_SYSTEM for system
      • Rename _REGISTRY_MACHINE_SAM to SAM


    6. When your done rename files, restart your computer again with the Recovery Console

  4. #4
    Join Date
    Apr 2008
    Posts
    266

    Re: How to fix "Windows XP could not start because the following file is missing or corrupt"

    Replace Repair files with a current backup of the Registry

    In the Recovery Console again, type the following commands at the prompt to replace the files with a current backup. You must press ENTER after each command.

    Part c: \ Windows \ system32 \ config \ Sam
    Part C: \ Windows \ system32 \ config \ security
    Part C: \ Windows \ system32 \ config \ software
    Part C: \ Windows \ system32 \ config \ default
    Part C: \ Windows \ system32 \ config \ system

    copy c: \ windows \ tmp \ software c: \ Windows \ system32 \ config \ software
    copy c: \ windows \ tmp \ system c: \ Windows \ system32 \ config \ system
    copy c: \ windows \ tmp \ Sam C: \ Windows \ system32 \ config \ Sam
    copy c: \ windows \ tmp \ security c: \ Windows \ system32 \ config \ security
    copy c: \ windows \ tmp \ default c: \ Windows \ system32 \ config \ default

    Once the files have been changed, type exit at the command prompt to restart Windows in Normal mode.

  5. #5
    Join Date
    Apr 2008
    Posts
    266

    Re: How to fix "Windows XP could not start because the following file is missing or corrupt"

    Using System Restore to return to a good Backup Point

    Because there is more to a System Restore than just the registry files, follow these steps to restore your computer to a good backup point.
    1. Click Start, then click All Programs.

    2. Click on Accessories, then click System Tools.

    3. Click System Restore, and then click Restore to a previous restore point and finish the restore process.

  6. #6
    Join Date
    Aug 2011
    Posts
    1

    Re: How to fix "Windows XP could not start because the following file is missing or corrupt"

    Quote Originally Posted by Trog View Post
    Replace Repair files with a current backup of the Registry

    In the Recovery Console again, type the following commands at the prompt to replace the files with a current backup. You must press ENTER after each command.

    Part c: \ Windows \ system32 \ config \ Sam
    Part C: \ Windows \ system32 \ config \ security
    Part C: \ Windows \ system32 \ config \ software
    Part C: \ Windows \ system32 \ config \ default
    Part C: \ Windows \ system32 \ config \ system

    copy c: \ windows \ tmp \ software c: \ Windows \ system32 \ config \ software
    copy c: \ windows \ tmp \ system c: \ Windows \ system32 \ config \ system
    copy c: \ windows \ tmp \ Sam C: \ Windows \ system32 \ config \ Sam
    copy c: \ windows \ tmp \ security c: \ Windows \ system32 \ config \ security
    copy c: \ windows \ tmp \ default c: \ Windows \ system32 \ config \ default

    Once the files have been changed, type exit at the command prompt to restart Windows in Normal mode.
    Yours is the clearest, best explained method of addressing this common problem that I have read. However, I am confused by the command "Part" above. Should that be "Copy"? There is no command named Part when I enter "help" at the DOS prompt.

Similar Threads

  1. Replies: 5
    Last Post: 30-10-2011, 07:57 AM
  2. Replies: 4
    Last Post: 12-02-2011, 07:10 AM
  3. Cannot start Windows. Missing or corrupt boot file
    By Chun Hei in forum Windows XP Support
    Replies: 1
    Last Post: 26-09-2007, 09:32 PM
  4. Replies: 2
    Last Post: 13-03-2007, 06:27 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,673,250.10746 seconds with 17 queries