A technician is resolving a Windows startup failure caused by a corrupted Boot Configuration Data (BCD) store. Operating in the Windows Recovery Environment (WinRE) Command Prompt, the technician attempts to run `bootrec /rebuildbcd`, but the command cannot replace the existing store because the BCD file remains locked and marked as system-protected. Place the remaining steps required to unlock, replace, and successfully rebuild the BCD store in the correct sequential order.
- 1Remove the hidden, read-only, and system attributes from the BCD file by running `attrib c:\boot\bcd -h -r -s`.
- 2Rename the corrupted BCD file to a backup name by running `ren c:\boot\bcd bcd.old`.
- 3Re-run `bootrec /rebuildbcd` to scan for installed Windows operating systems.
- 4Press `Y` (Yes) when prompted to add the detected Windows installation to the new BCD configuration.
Answer
The correct sequence begins with removing the file attributes using `attrib`, followed by renaming the corrupted BCD file using `ren`, re-executing `bootrec /rebuildbcd` to regenerate the boot store, and finally confirming the addition of the OS installation when prompted.
When repairing BCD store corruption, `bootrec /rebuildbcd` may fail if the existing BCD file is locked or damaged. The proper recovery procedure requires removing the system, hidden, and read-only attributes from `c:\boot\bcd` using `attrib -h -r -s`. Next, renaming the file with `ren c:\boot\bcd bcd.old` clears the path. Running `bootrec /rebuildbcd` then initializes a new configuration store, and entering `Y` at the prompt adds the operating system to the clean BCD file.
Step-by-Step Solution
Key Concept
Rebuilding Corrupted BCD Files via WinRE Command Line