Get the fix to “0xc0000225: an unexpected error has occurred” boot error for Windows Vista, 7, 8, 8.1 or 10 operating systems.

About the “0xc0000225” error

The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.

Description and Symptoms

The error messages, alerts, warnings, and symptoms below are tied to this error.

Symptom 1: 0xc0000225 error screen on startup

Alternative error messages:

Below the “Status” code line, you’ll probably have “An unexpected error has occurred” as the “Info”. However, it’s possible that the Info line to be “Boot selection failed because a required device is inaccessible.”

The 0xc0000225 boot error

 Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 

1. Insert your Windows installation disc and restart your computer. 
2. Choose your language settings, and then click "Next." 
3. Click "Repair your computer." 

If you do not have this disc, contact your system administrator or computer manufacturer for assistance.

Status: 0xc0000225
Info: An unexpected error has occurred.

Causes of this Error

This error has been known to occur as a result of one or more of the following:

Cause 1: BCD is missing or corrupt

One of the most common causes of this error is the BCD that became missing or corrupt. That could happen because of disk write errors, power outages, boot sector viruses, or errors made while configuring the BCD manually.

Fixing “0xc0000225” on Windows

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Fix #1: Rebuild BCD via Easy Recovery Essentials

Easy Recovery Essentials is guaranteed to fix the “0xc0000225” error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7 and 8 and can be downloaded and created on any PC.

  1. Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7 or 8) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
  2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
  3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
  4. Once EasyRE is running, choose the “Automated Repair” option and click Continue.
    EasyRE Home

    Choose “Automated Repair” in Easy Recovery Essentials

  5. After EasyRE scans your computer’s drives, identify and select the drive letter for your Windows installation from the list, and then click on the Automated Repair button to begin.
    EasyRE displays a list of found Windows operating systems

    Choose the drive associated with the Windows installation you’re trying to repair.

  6. Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE’s repair is fully automated:
    EasyRE: Automated Repair

    Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

  7. Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
  8. The “0xc0000225” error should now be fixed as your PC begins to load:
    EasyRE: Automated Repair

    Windows, booting up successfully.

You can download Easy Recovery Essentials from here.

Fix #2: Use Startup Repair to repair BOOTMGR

On Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10, Startup Repair can be used to scan the system for damaged or missing system files to replace the BCD file if it is corrupt or missing.

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Startup Repair is an automated diagnosis and repair tool that is available from the Windows setup disc and can be used to find and repair some common problems. More information about how Startup Repair operates and what it does can be found in our knowledgebase. The following steps will initiate Startup Repair from the Windows setup disc:

Unable to boot into the Windows setup CD?
See our guide on setting up a PC to boot from the CD or DVD for troubleshooting and more detailed instructions.

  1. Insert your Windows installation DVD into your PC’s CD-ROM drive,
  2. Fully power down your PC, and make sure it has fully shut off,
  3. Power up your PC,
  4. Press any key when you see “Press any key to boot from CD or DVD..”
  5. Click the link titled “Repair your computer” in the bottom-lefthand corner, after first selecting your language and keyboard options.
    Windows 7 setup Install Now dialog, with repair your computer link
  6. Wait for Startup Repair to scan your PC for Windows installations, then select your install from the list it shows:
    Startup repair lists available operating systems to repair.
  7. Choose “Startup Repair” from the list of available recovery options to begin:
    Startup Repair lists all available recovery options, choose a recovery tool
  8. Startup Repair will begin scanning your installation for known issues and will attempt a repair, if possible.
    Windows Startup Repair is searching for problems

Here is an example of what the PC’s startup repair should look like once the BCD file is properly restored:

Missing BCD file restored by Startup Repair

Missing BCD file restored by Startup Repair

Fix #3: Rebuild the BCD manually

Since the boot error is often caused by a missing BCD, rebuilding it is often a good solution.

Here are the steps to rebuild the BCD:

  1. Boot from the Windows install disc
  2. Click on Repair your computer after selecting proper language, time and keyboard input.
  3. Select the Windows installation drive, which is usually C:\, and click Next
  4. Choose Command Prompt when the System Recovery Options box appears
  5. Write the following command and press Enter afterwards:
    bootrec /rebuildbcd
  6. If the program finds a Windows installation and asks whether it should add it to the boot list, press Y

Here is an example screenshot of what the PC’s console output should look like once Bootrec is done rebuilding the BCD.

Bootrec utility results screen

Bootrec utility results screen

Fix #4: Mark partition as active using Diskpart

The built-in Diskpart Windows utility can also be used to mark a partition as active. Note that the marked partition must contain the Windows bootloader for Windows to load correctly.

Here are the steps to run Diskpart and change the disk’s status:

  1. Boot from the Windows install disc
  2. Click on Repair your computer after after selecting proper language, time and keyboard input
  3. Select the Windows installation drive, which is usually C:\, and click Next
  4. Choose Command Prompt when the System Recovery Options box appears
  5. Write the following command and press Enter afterwards:
    diskpart
  6. Then, write
    list volume

    to get the list of all available partitions, and press Enter.

  7. Then, write
    select volume X

    to select the volume you want to mark as active, and press Enter

  8. Then, write
    active

    to mark the currently selected volume as active, and press Enter

Here is an example screenshot of what the PC’s console output should look like after the volume is properly marked as active with Diskpart:

Diskpart utility results screen

Diskpart utility results screen

Fix #5: Restore the MBR

This fix demands more commands you need to type than the Fix #1 above. You’re going to use the bootsect.exe file from the CD and not bootrec.exe. Follow these steps:

  1. Insert your Windows install CD
  2. Select Repair your computer after you go through the initial screen
  3. Select your Windows installation drive (usually C:\)
  4. Click Next
  5. Choose Command Prompt at System Recovery Options window screen
  6. Determine which drive letter your Windows installation disk is on. Run the following commands in the exact same order and hit Enter after each:
    diskpart
    select disk 0
    list volume
  7. After entering list volume your Command Prompt will show a list of available drives.Search for the item that has “CD-ROM” in the “Type” column and check what letter it has assigned in the “LTR” column. In our example (and from now on) our CD drive letter is E:
  8. Close the diskpart process by running exit and hit Enter:
    exit
  9. Type the CD drive’s letter, F: (simply F:), in the Command Prompt line, like this:
    F:
  10. Type cd boot and then type dir to show the list of files and directories in the boot directory of the F: drive. You will now see a bootsect.exe file listed. Here are the commands in order:
    cd boot
    dir
  11. Now type the following command and hit Enter:
    bootsect /nt60 SYS /mbr
  12. After seeing the success message, Bootcode was successfully updated on all targeted volumes., type exit to quit the Command Prompt:
    exit
  13. Press Enter
  14. Restart your computer
bootsect utility results screen

bootsect utility results screen

More Information

Linked Entries

Support Links

Applicable Systems

This Windows-related knowledgebase article applies to the following operating systems:

  • Windows Vista (all editions)
  • Windows 7 (all editions)
  • Windows 8 (all editions)
  • Windows 8.1 (all editions)
  • Windows 10 (all editions)

✎ Propose an edit