How to Rebuild Boot Configuration Data File in Windows 10

Boot Configuration Data (BCD) data file comes with the the boot configuration specifications that’s required by the Windows Boot Manager for Windows startup. The boot information was previously stored in the Boot.ini file which was earlier used by NTLDR. Sometimes, it may be possible that the configuration gets corrupted preventing your Windows 10 system to start. In this case, you will have to rebuild the Boot Configuration Data file in your Windows 10 PC. Fortunately, there’s a way to fix this issue. Let’s see how.


Solution: Using Command Prompt


You would firstly need to boot your Windows PC in Advanced Recovery Mode. To do this, you would need to boot into Windows Recovery Environment (Windows RE) which comes built-in with Windows 10. Let’s see how.


Step 1: Click on the Windows icon on the bottom left of your screen and select the Power option.

Now, keeping the Shift key pressed, click on Restart.

Step 2: This will take you directly to the Advanced Recovery options.

Here, from the Choose an option screen, select Troubleshoot Advanced options


Troubleshoot Select Advanced Options1.png



*Note – However, if you are unable to reach the login screen, you can follow the below steps.


Step 1: Shut down your PC by pressing the Power button

Step 2: As soon as you see the Windows logo, press the Power button again to shut it down.

Repeat this process 2 to 3 times till you reach the Advanced Repair screen. Now, click on Advanced options > Troubleshoot Advanced options


How to rebuild the Boot Configuration data file.


Step 1: Once you reach Advanced Options, select Command Prompt.


Advanced Options Command Prompt


Step 2: In the Command Prompt window, run the below command and hit Enter:


bootrec /rebuildbcd


Command Prompt Run Command To Rebuild Bcd Enter


This will run a scan and look up for other operating systems and display the results. From the results, you can select the OS’s that you want to add to the Boot Configuration Data file.

However, if this does not resolve the issue, you can set the boot path manually. However, proceed with this step, only if you are experienced in this.


Method 2: By Running BCDboot tool Command


Step 1: If you are unable to reach the Windows login screen, press the Power button to shut down the PC.

Step 2: As soon as the Windows logo appears, hit the Power button again to shut down your PC.

Repeat this process a few times till you see the Advanced Repair screen.

Step 3: Now, follow the path: Advanced options > Troubleshoot Advanced options

Step 4: As you reach Advanced Options, select Command Prompt.


Advanced Options Command Prompt


Step 5: Type the below command in Command Prompt and hit Enter:


bcdboot c:\windows /s c:v


Command Prompt Run Bcdboot Tool Command Enter


*Note – If you are able to login to your Windows PC and you have successfully reached the desktop, you can also reach the Advanced recovery mode via Settings as below:


Step 1: Press the Win + I keys together on your keyboard to open the Settings window.

Step 2: In the Settings window, click on Update & Security.


Settings Update & Security


Step 3: In the next window, click on Recovery on the left side of the pane.


Update & Security Left Side Recovery


Step 4: Now, go to the right side of the window, scroll down and under Advanced start-up, click on Restart now.

This will take you directly to the Advanced Recovery screen and the options.

The BCDboot tool helps you to manage system partition files. You can use BCDboot command-line tool, when the system partition has gone corrupt. The tool replaces the system partition files with fresh copies of such files in the Windows partition. Whenever you execute this command, it gives you a new Bootloader. For instance, here, the System drive is “C” drive, but for you it can be different. Therefore, try this, only when you know for sure which is the exact drive where the Windows is installed.

1 thought on “How to Rebuild Boot Configuration Data File in Windows 10”

Comments are closed.