How to repair the Boot Configuration Data (BCD) file in Windows 10?

Boot Configuration Data (BCD) file contains the boot information for an operating system to load. In case the BCD file is missing or gets corrupted, you need to repair or rebuild the file. In this article we will learn about the command and the step-by-step way to fix the issue. - Article by Kunal Chowdhury on


If you are unable to boot into your Windows 7/8/10 operating system due to corrupted Boot Configuration Data (BCD) file or your boot menu is not showing all the installed operating systems, you need to repair the BCD config file.

 

In case your Boot Configuration Data file has been already corrupted, this article will help you to repair it by using the appropriate commands.

 

How to repair the Boot Configuration Data (BCD) file in Windows 10?

 

Which command is used to repair the BCD file?

If you face a corrupted BCD file or your boot menu is not showing all the installed operating systems, you need to rebuild it. The bcdboot command is used to manage system partition files and repair the boot environment located on the system partition.

 

When executed with proper command-line switches, the bcdboot command copies a small set of boot-environment files from the installed Windows image to the system partition. Then it creates a Boot Configuration Data (BCD) file stored on the system partition that instructs the computer to boot to the Windows partition. You can also use the command to update an existing boot environment on the system partition.

 

How to repair a corrupted Boot Configuration Data file?

  • To rebuild the BCD, run the following command in an elevated command prompt:
    bcdboot C:\Windows
  • To rebuild the BCD in your locale language, enter the optional parameter "/l <locale>" as:
    bcdboot C:\Windows /l ja-jp ' default is US English ("en-us")

To know more about this command, checkout the BCDboot Command-Line Options topic in the Microsoft Docs.

 

 





9to6linux.com | Covering latest news, articles, Tips and Tricks on Linux platform


Latest Tech News