Windows Server: 2012 R2 Boot Repair [top]
: Scans all disks for Windows installations that are not currently in the BCD. bootrec /rebuildbcd : Rebuilds the Boot Configuration Data (BCD) file. Microsoft Community Hub 3. Advanced BCD Rebuild bootrec /rebuildbcd
At the Command Prompt, type:
Run diskpart then list vol to see which drive contains your Windows folder (it may not be C: in the recovery environment). Rebuild Commands: Enter these commands one by one: bootrec /fixmbr (Repairs the Master Boot Record) bootrec /fixboot (Writes a new boot sector) windows server 2012 r2 boot repair
Rebuild the BCD:
In the command prompt, navigate to the boot folder: : Scans all disks for Windows installations that

















