Windows 8 and 8.1 Forums

Boot error: Recover from invalid BCD (Help!)

  1. #1

    Boot error: Recover from invalid BCD (Help!)

    After a Windows update, I can't get to the Windows login screen, and arrive at a screen that states, "there is an invalid object in the boot configuration data store windows 8." The message suggests that I do a system repair from my Win 8 install disc. I booted to the disc and then, per Microsoft's suggestion, accessed a command prompt, where I tried bootrec /RebuildBcd. The command completed "successfully," but reported that no operating system was found. An automatic repair also failed. Is there anything else that I can try to get my system back? I can't boot top Safe Mode either.

    I do have a Partition Manager backup. If nothing else works, can I copy the BCD fiiles from the backup over the ones in my presently-bad system? I don't use System Restore, and my backup is little older that I'd like. Thanks!!

      My System SpecsSystem Spec

  2. #2

    Posts : 879
    Windows 10

    For example, you receive one of the following error messages.

    Your PC needs to be repaired
    The Boot Configuration Data file is missing some required information.
    File: \BCD
    Error code: 0xc0000034

    Click image for larger version

    Your PC/Device needs to be repaired
    A required device isn't connected or can't be accessed.
    Error code: 0xc0000225

    Click image for larger version

    BCDBOOT - Bcd boot file creation and repair tool.

    BCDboot <source>
    - <source> Specifies the location of the Windows directory to use as the source for copying boot files.

    UEFI Boot Mode: BCDboot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.
    Legacy BIOS Boot Mode: BCDboot copies the boot files from the Windows partition to the active partition on the primary hard drive and creates the BCD store in the same partition.

    Repair the system partition. If the system partition has been corrupted, you can use BCDBoot to recreate the system partition files by using new copies of these files from the Windows partition.

    Set up or repair the boot menu on a dual-boot PC. If you've installed more than one copy of Windows on a PC, you can use BCDBoot to add or repair the boot menu.
    How to use the BCDboot command in Windows 7/8/10.

    Open the command prompt as administrator.
    Boot the computer using the Windows 7/8/10 installation media.
    On the first screen, press SHIFT+F10 to bring up the command prompt.
    Boot the computer using the Windows 8/10 Recovery USB flash drive.
    Select Troubleshoot > Advanced options > Command Prompt.

    Run the following commands at the command prompt.

    list volume Note: Note the volume letter where the Windows OS is installed.

    bcdboot X:\windows Note: Replace "X" with the volume letter of the Windows OS partition.

    For example, bcdboot c:\windows or bcdboot d:\windows (see screenshots below).

    If the drive letter is incorrect, you will receive the following error message: "Failure when attempting to copy boot files". Note: But if you get that error message even if the drive letter is correct, then take a look at this post if the hard drive has an MBR partition table. -> link

    Click image for larger version

    Click image for larger version

    Tip   Tip

    The following is an example how do you fix a dual-boot system (see screenshot below).

    Click image for larger version

    Now you should see the dual-boot screen (see screenshot below).

    Click image for larger version

    Tip   Tip

    Click image for larger version

    If you have a Windows 7 style dual-boot screen (see screenshot above) and if you want a Windows 8/10 style dual-boot screen.

    When you are in Windows 8/10, open the Command Prompt (Admin) and type: bcdboot %windir%

    Click image for larger version

    Click image for larger version

    Other instructions.

    How to create a bootable Windows 10 USB flash drive or DVD. -> link

    How to download and clean install Windows 8.1 if you have an OEM computer with UEFI firmware (BIOS) embedded Windows 8/8.1 product key. -> link

    Here is info about UEFI Boot Mode (installing using the GPT partition style) and Legacy BIOS Boot Mode (installing using the MBR partition style): link
    Last edited by genet; 30 Oct 2015 at 12:26. Reason: added more info
      My System SpecsSystem Spec

  3. #3

    Thanks very much. My Win OS was J:, so I ran X:sources\bcdboot j:\windows. The command completed without any message. I did not receive a message of "Boot files successfully created." I repeated the process and then received "BFSVC Warning: Failed to remove duplicate object from bbotmgr display order. Status = [c0000225]." So, it seems that something was created. The fix evidently failed, as my system did not boot and I received the same error as I did initially.
      My System SpecsSystem Spec

  4. #4

    I went a little further and ran bootrec /RebuildBcd on my system partition, and it appeared to complete successfully. Now, when I try to boot into Windows, it starts to load (the scrolling horizontal bar appears), but I end up with a black screen. Same when I try to boot to Safe Mode. Windows Repair could not fix the problem. My guess is that I have a video issue, but I can't figure out a way to resolve the problem. Thanks.
      My System SpecsSystem Spec

  5. #5

    Wait a minute - after a looooong time, Windows Update restarted at 80%, finished, and Windows loaded! Thanks very much for your help! I'm sorry for taking up your time.
      My System SpecsSystem Spec

Boot error: Recover from invalid BCD (Help!)

Similar Threads
Thread Forum
BSoD Boot Error 0xc0000034: missing boot files
Hey there all, Earlier, about an hour ago, I left to go job searching, and left my computer in hibernate mode so I could bring it back up as soon as I got back. When I tapped keys on the keyboard, the computer powered up as usual, but it brought up the BSoD, stating it was missing files. ...
General Support
Can't boot Windows, Not able to recover data!
Hey, forum! Long story as short as possible: Asus Zenbook UX51VZ / Windows 8 OEM Upgraded to Win 8.1 around three weeks ago Faced no problems (surfing, media programs, games worked fine) Last Friday during startup I received an error message telling me that something isn't correct...
General Support
BSOD with "Invalid Attachment Process" and "IRQ..." error
Hello, Following the forum guidelines I am posting a compressed file from your SF Diagnostic tool. This was done shortly after a BSOD. Thanks for your support in helping me understand what is the cause of those frequent BSOD. Joce
BSOD Crashes and Debugging
Error 0xc0000021a - want to reset but Product Key invalid
Hello, I' am currently using a custom made laptop which I had to repair due to an hardware failure. After I got the PC back I reinstalled Windows but the product key I had wasn't working properly any more. Knowing that after an hardware change this is not an uncommon problem, I just used the...
Installation & Setup
Unable to install NIC's - Invalid data error
Hi, I am unable to install the drivers for my NIC's getting the error 'Invalid data as shown in the images below'. It has previously been working fine on all adapters but I needed to uninstall the network cards as HyperV was throwing up an error when creating virtual switches which may have...
Network & Sharing
Recover legacy boot and remove old entries from UEFI boot
Hello, first post here... First, some context: I have a Dell Inspiron 15R SE that came with Windows 8. I've managed to get a working dual-boot system with Ubuntu 12.10. I can't remember exactly how I done that, but I remember that I had to disable secure boot. I think that the boot...
Installation & Setup
Windows 8 is stuck on boot! Can't recover,restore or reset
Laptop Information- HP 2000 Notebook PC Well, yesterday night, everything was going good until I tried to download League Of Legends on my laptop. I was multi-tasking on facebook, youtube, and a whole other stuff while my laptop was downloading League Of Legends, and then the whole laptop frooze...
Performance & Maintenance

Eight Forums Android App Eight Forums IOS App Follow us on Facebook