File Boot Bcd Windows 10

Since you mentioned that the steps provided by Samuel Ngumii did not work in repairing your Windows 10 computer, we suggest that you click on the link below to for more options on how to resolve this issue: Recovery options in Windows 10. Let us know how it goes. Feb 04, 2017  On another PC, download the Windows 10 media creation tool and use it to make a win 10 installer on USB. After this choose to reboot into Windows 10 from the recovery options, or you can choose to turn off the PC and then proceed with normal reboot into Windows 10.

by Martin Brinkmann on February 05, 2018 in Windows - Last Update: May 22, 2018 - 14 comments

I was greeted by a Recovery error message the other day when I powered up a PC running Microsoft's Windows 10 operating system. The recovery screen stated that 'Your PC/Device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors'.

The PC shut down properly the day before and the whole thing was mysterious. The Recovery screen suggested to use recovery tools or contact a PC administrator or the PC/Device manufacturer for assistance.

Read on to find out how I repaired the PC and how you can do it as well.

Boot BCD startup errors

Boot problems related to the BCD come in many different forms. Here is a short list of error messages that Windows may throw during boot:

  • Your PC/Device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors
  • There was a problem with a device connected to your PC. An unexpected I/O error has occurred.
  • Your PC needs to be repaired. The Boot Configuration Data file doesn't contain valid information for an operating system.
  • Windows failed to start. A recent hardware or software change might be the cause.

One common denominator is that the Recovery screen references the file bootbcd.

Cause of BCD related startup errors

The error can be a result of (among other reasons):

  • An unexpected shutdown.
  • Bluescreen or other errors that require a restart.
  • Data corruption.
  • Failing hard drives.
  • BCD file corruption or misconfiguration.
  • Malicious software.

What is BCD?

Boot Configuration Data (BCD) was introduced in Windows Vista by Microsoft. It replaced the boot.ini file in Vista. The BCD holds important boot-related information including the list of the available operating systems.

File Boot Bcd Error Code 0xc00000d Windows 10

In short, it stores vital boot information required to start Windows. If the BCD is missing, corrupt or altered, Windows may not start properly anymore but display the Recovery screen at the top.

Fixing BCD issues if you cannot boot

All issues described above have in common that you cannot boot into Windows anymore. You cannot use tools like the Visual BCD Editor to correct the issue on the affected machine because of that as you cannot boot into Windows anymore.

Generally speaking, it is required that you boot into the advanced startup (Windows 10 or 8.1) or system recovery options (Windows 7) and run several commands from the command prompt there.

If you do have Windows installation media, you can use it to boot from and access the recovery options.

Windows 10 users can download media from Microsoft instead.

Step by Step guide

  1. Insert the installation media into the PC. Connect the USB Flash Drive to the computer or put the DVD into the DVD drive.
  2. Find out how to access the BIOS/UEFI of the machine. This should be displayed during boot. Common keys are F1, F12 or DEL.
  3. Change the boot order so that the computer boots from the USB or DVD drive before it boots from internal hard drives.
  4. Click next on the first screen of setup. That screen should highlight the installation language and keyboard.
  5. Select Repair your computer on the next screen.
  6. When the 'choose an option' menu opens, select Troubleshoot.
  7. Select Advanced options.
  8. Select Command Prompt. This opens a command prompt interface.
  9. Run the following commands one after the other:
    1. bootrec /fixmbr -- This option writes a MBR to the system partition but does not overwrite the system partition in the process. It fixes MBR corruption and issues with non-standard MBR code.
    2. bootrec /fixboot -- This options writes a new boot sector to the system partition. Fixes damaged boot sectors, non-standard boot sectors, and issues caused by the installation of earlier Windows operating systems (pre-Vista). Ignore any error that may come up.
    3. bootrec /rebuildbcd -- This options scans all connected hard drives for Windows installations. If it finds additional installations, prompts you to add them to the BCD Store. Windows should pick up the installed operating system. Make sure you add it to the BCD store. Select (a) for all during the prompt, or add installations individually instead.
  10. Exit the command prompt window.
  11. Restart the PC to find out if the repair was successful.

Video walkthroughs

Resources

Related articles

How to fix Boot BCD startup errors on Windows PCs
Description
I was greeted by a Recovery error message the other day when I powered up a PC running Microsoft's Windows 10 operating system. The recovery screen stated that 'Your PC/Device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors'.
Author
Ghacks Technology News
Logo
Advertisement

The Boot Manager in the modern Windows versions uses the BCD (Boot Configuration Data) file to boot the operating systems. This file contains information about the installed OSs on the computer and their boot parameters. If the BCD file is deleted or corrupted, Windows stops to be booted. In this article, we’ll show how to rebuild Boot Configuration Data file manually in Windows 10.

If the BCD file is missing or damaged, a user is likely to see the following message when trying to boot Windows:

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

If this error appears, first of all try to fix the problem with booting the OS using Startup Repair mode that can be started from Windows Recovery Environment (Windows RE).

Tip. It is advisable to periodically check the health of the WinRE environment, and if it doesn’t work, use the method described in the article How to Recover WinRE in Windows 10 to recover it.

If the automatic repair using Startup Repair did not help, boot from Windows boot/installation disk or use WinRE (Repair your computer -> Troubleshoot -> Advanced options -> Command Prompt). Start the command prompt and try to create a new BCD file from scratch.

Very important. All instructions given below are suitable for standard BIOS with MBR systems. In a UEFI system, you need to use the following instruction to repair the bootloader in Windows 10/8 with EFI or in Windows 7.

In this example, I will use Windows 10 installation disk. After booting from it, press Shift+F10 on the language selection screen.

Try to restore the BCD file automatically using this command:

bootrec /RebuildBCD

Reboot your computer and check if Windows boots. If it isn’t, boot from the installation disk again and start the command prompt. You need have to identify the drives of the system. (It is likely that the volume letters assigned to them will be different from those you see when working in Windows). It is easier to do it using diskpart. Run these commands:

diskpart
list vol

You will see the list of partitions, the drive letters assigned to them and their sizes. In our case, there are only two partitions in the system:

  • System Reserved partition with the size of 500 MB and the letter C: assigned to it. By default, BCD file is located in this little service partition (read more)
  • NTFS partition with the size of 39 GB and the letter D: assigned to it. This partition contains the Window and user data
Important. Remember the assigned drive letters, since they will be used in the commands later.

Using the following commands, we’ll make the necessary links to Windows bootloader appear inthe MBR and in the boot sector.

bootrec.exe /fixmbr
bootsect.exe /nt60 all /force

File: Boot Bcd Windows 7

Tip.If bootsect.exe is not found, try to specify this path:
X:bootbootsect.exe /nt60 all /force

Then using BCDedit command, create a new Boot Configuration Data file (it is supposed, you don’t have the BCD backup).

Delete the old (corrupted) BCD file in System Reserved partition and create a new one instead.
del c:bootbcd

Create an empty temporary file bcd.tmp
bcdedit /createstore c:bootbcd.tmp

Create an entry for the Boot Manager (bootmgr)
bcdedit.exe /store c:bootbcd.tmp /create {bootmgr} /d 'Windows Boot Manager'

Import settings from bcd.tmp to your BCD
bcdedit.exe /import c:bootbcd.tmp

Specify that the Boot Manager is located in System Reserved partition (the letter C: is assigned to it)
bcdedit.exe /set {bootmgr} device partition=c:

Configure the timeout to select an OS
bcdedit.exe /timeout 10

Delete the temporary file
del c:bootbcd.tmp

So we have a file with the bootloader parameters. Now you have to add the entries about the OSs available on the computer.
Create a new entry for Windows 10 in the BCD repository
bcdedit.exe /create /d 'Windows 10' /application osloader

The command will return the unique identificator (GUID) of this bootloader entry.
The entry {8a7f03d0-5338-11e7-b495-c7fffbb9ccfs} was successfully created.

Specify that bootmgr must use this entry by default (after the timeout, this entry is used to boot).

bcdedit /default {8a7f03d0-5338-11e7-b495-c7fffbb9ccfs}

File Boot Bcd Missing Windows 10

Now you have to specify the paths to the installed Windows copy on the hard disk in the new bootloader entry. (We have seen in WinPE that the letter D: is assigned to Windows partition.)

Boot Bcd File Download

Load injection driver failed error 577. bcdedit.exe /set {default}device partition=d:
bcdedit.exe /set {default} osdevice partition=d:
bcdedit.exe /set {default} path Windowssystem32winload.exe
bcdedit.exe /set {default} systemroot Windows

Make this entry visible, since it is hidden by default
bcdedit.exe /displayorder {default} /addlast

So we have rebuilt Boot Configuration Data. Now you can restart your computer and make sure that Windows 10 boots as usual.

Installing SFTP (SSH FTP) Server on Windows with..

October 2, 2019

How to Disable UAC Prompt for Specific Applications..

September 27, 2019

How to View and Parse WindowsUpdate.log on Windows..

September 25, 2019

Install RSAT Feature on Demand on Windows 10..

September 17, 2019

RDP Authentication Error: CredSSP Encryption Oracle Remediation

September 10, 2019