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
In case your Boot Configuration Data file has been already corrupted, this article will help you to repair it by using the appropriate commands.
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
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.