Fixed: Windows Server 2012 Boot BCD Error

If you encounter the “The Boot Configuration Data for your PC is Missing” issue when booting up Windows Server 2012, here you can learn how to fix the BCD error in Server 2012 or 2012 R2 effectively.

Emily

By Emily / Updated on March 15, 2024

Share this: instagram reddit

Windows Server 2012 boot BCD error

How to fix boot BCD error?

When I boot up the machine, just got following message saying Windows failed to start. It gives the information: The boot configuration data for your PC is missing or contains errors. What should I do to make this machine work normally?"

- Question from microsoft.com

Server 2012 Boot BCD Error

The boot BCD error is actually a common error that also happens in Windows Server 2008 (R2). Except for Server operating systems, you can also find the help post on how to fix Dell laptop boot BCD error, HP, Lenovo or Gateway boot BCD error. Then, what a boot BCD is , why you get the error and how to fix the boot failed & Windows boot manager missing problem in Server 2012 r2.

Content navigate

About boot BCD

According to Wikipedia, the Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It is used as new Windows Boot Manager.

In different boot mode, the BCD store locates differently. For traditional BIOS boot, the BCD file is at /boot/BCD on the active partition, usually the system partition. For UEFI boot, the file is located at /EFI/Microsoft/Boot/BCD on the EFI System Partition. Therefore, some users also receive UEFI boot error BCD or EFI/Microsoft/Boot/BCD error in Windows Server 2012.

Why do you get BCD error in Windows Server 2012?

Generally, you may get this error in the first restart that is triggered by extending system partition. Inappropriate operations may damage the Boot\BCD file.

In addition, the error occurs after adding some applications or programs. Boot Configuration Data is set for third-party integration, so anyone can implement tools like diagnostics or recovery options. As a result, the BCD store may be damaged by malicious third-party software.

What’s more, you may get boot BCD error when boot from USB drive that contains corrupted MBR or BCD store. Besides, error installing Server will cause the error as well.

In the type of BCD error in Server 2012, these errors are also likely to happen during PXE boot or in SCCM: “Recovery. Your PC needs to be repaired”, “The Windows Boot Configuration Data file does not contain a valid OS entry”, “An error occurred while attempting to read the boot configuration data”, and “After multiple tries, the operating system on your PC failed to start, so it needs to be repaired”.

Then, what should you do to get the boot BCD error fixed in Windows Server 2012 as well as Server 2008?

How to fix boot BCD error in Server 2012 in simple steps?

You need different solutions on different conditions. If you’re lucky enough with a Windows installation disc or repair disc around, refer to the steps in the first part. If not, see what you’ve got in the next part.

▶Method 1. Fix BCD error with Windows installation disc

Insert the Windows installation disc to your machine and start it. Follow these steps to rebuild BCD for your Server.

1. At the installation interface, choose language, time and keyboard input, and then click Next.

2. Click on "Repair you computer" in the lower left corner.

3. Go "Troubleshoot > Command Prompt" to start CMD. Then, type "bootre /rebuildbcd" and hit Enter. Wait for the process completes.

BOOTREC

4. Close the command prompt and back to the Choose an option interface. Click on "Continue". It will prompt to press any key to start. Press any key to restart your Server. The BCD file should be rebuilt and the Server can start properly.

If that does not work, type following commands first and then rebuild the BCD file.
bootrec /fixmbr
bootrec fixboot
bootrec /scanos

It is quite easy to fix BCD error with the help of Windows installation disc. Nevertheless, what if there is no such disc available? If you have created regular system backup or disk backup for the Windows Server 2012, you can revert the Server back to a state when everything functional. In that case, you just need to make a bootable media to start the Server 2012. Absolutely, you can fix boot BCD error without disc in Server 2012 with the assistance of professional tool.

▶Method 2. Repair BCD error by fixing corrupted MBR

If the BCD error has been caused by damaged or corrupted MBR, you need to fix MBR for Windows Server 2012. AOMEI Partition Assistant Server is all-around disk partition manager that will assist you rebuild MBR for Server 2022, 2012, 2019, 2016, 2012 as well as Server 2008. It provides both CUI and GUI that for both computer beginners and IT experts. It supports all Windows Server editions. Let’s get to know how to fix the error with this software.

★Preparations:
A functional PC: since the Server 2012 is unbootable, you need to prepare a functional Windows-based PC to install AOMEI Partition Assistant Server.
A USB flash drive or CD/DVD disc: after installing AOMEI Partition Assistant on that PC, you need to make a bootable media with the software on that PC so that you can boot the Server 2012.
Free DownloadWin Server and PC
Secure Download

1. Connect a USB drive to the healthy PC. Install and launch AOMEI Partition Assistant Server on that PC as well. At the main interface, click on Make Bootable Media in the “Tools” in the top toolbar, and follow the steps to complete creating. Burn to CD/DVD and Export ISO File are available, too. You can also add certain drivers for the Server 2012 before creating.

Make Bootable Media

2. Insert the bootable media to the Server 2012 and boot off the machine. If it falls back to the local disk, you need to change the boot priority to the bootable media in BIOS.

3. Once you login AOMEI Partition Assistant Server will start automatically. Right-click the disk you want to fix (usually the system disk in this case) and select Rebuild MBR.

Rebuild MBR For Server

4. In the popping up window, select the type of MBR for Windows Server 2012, i.e. Windows 7/8/10/2011/2012 option, and click OK.

For 7 8 10 2011 2012

5. Click Apply and then Proceed to execute the pending operations. Then, restart your Server for repair.

Apply

 

Tips:
♦After successfully booting Windows Server 2012, you can run CHKDSK to see if any other errors existing.
♦To fix boot BCD error in Windows Server 2008, you need to choose Windows Vista/2008 option in Step 4.
♦If any data loss happens during your operation, you can use the "Recover Data" function to retrieve lost data.

Summary

When you come across Windows Server 2012 boot BCD error and receive the “The boot configuration data for your PC is missing or contains errors” message, you can easily fix it by using the Windows installation disc. If the error was caused by corrupted MBR, then you need to fix MBR accordingly. AOMEI Partition Assistant Server is a comprehensive software that can solve many practical issues for Windows Server 2003, 2008 (R2), 2012 (R2), 2016, 2019, and 2022. For instance, you can convert MBR to GPT in Server 2012 without losing data. 

There is an AOMEI Partition Assistant Unlimited Edition for you if you want unlimited usage within one company. And a great function, "Create Portable Version" is available in AOMEI Partition Assistant Unlimited. The function enables users to create AOMEI Partition Assistant to a removable device so that users can directly run it on the target computer without installation. 

 
Emily
Emily · Staff Editor
Emily is an English editor of AOMEI Technology; she has a great passion for providing easy solutions for people to tackle with all disk or partition management problems. In addition to writing articles about disk/partition management, she also edits great tutorials on how to back up and restore disk for data security. In her spare time, she loves to learn computer skill to improve herself or stay with her family to enjoy a good day.