Open Command Prompt from Advanced Options or System Recovery Options menu.
At the prompt, type the bootrec command as shown below and then press Enter:
The bootrec command will search for Windows installations not included in the Boot Configuration Data and then ask you if you'd like to add one or more to it.
You should see one of the following messages at the command line.
Option 1
Option 2
If you see:
Option 1: Move on to Step 3. This result most likely means that Windows installation data in the BCD store exists but bootrec couldn't find any additional installations of Windows on your computer to add to the BCD. That's fine, you'll just need to take a few extra steps to rebuild the BCD.
Option 2: Enter
Y or
Yes to the
Add installation to boot list? question, after which you should see a
The operation completed successfully message, followed by a blinking cursor at the prompt. Finish up by restarting your computer.
You'll first have to "remove" BCD store manually and then try to rebuild it again.
At the prompt, execute following command as shown and then press Enter key:
At the prompt, execute the bcdedit command as shown and then press Enter:
Code:
bcdedit /export c:\bcdbackup
The bcdedit command is used here to export the BCD store as a file:
bcdbackup. There's no need to specify a file extension.
The command should return the following on screen, meaning the BCD export worked as expected:
At this point, you need to adjust several file attributes for the BCD store so you can manipulate it.
At the prompt, execute the
attrib command exactly like this:
Code:
attrib c:\boot\bcd -h -r -s
What you just did with the attrib command was remove the
hidden,
read-only, and
system attributes from the file bcd. Those attributes restricted the actions you could take on the file. Now that they're gone, you can manipulate the file more freely - specifically, rename it.
To rename the BCD store, execute the ren command as shown:
Try rebuilding the BCD again by executing the following, followed by Enter:
Which should produce this in the Command Prompt window:
Meaning that the BCD store rebuild is progressing as expected.
At the
Add installation to boot list? question, type
Y or
Yes, and press Enter key.
You should see this on screen:
Meaning that the BCD rebuild is complete.
Restart your computer.
Assuming that an issue with the BCD store was the only problem, Windows should start as expected.