Question

Difficulty: EasyTroubleshooting Windows OS Startup and Boot Errors

A technician is troubleshooting a legacy BIOS system that fails to start due to corrupted boot files and a missing boot configuration. Place the WinRE command-line recovery steps in the correct chronological order to repair the boot infrastructure using the bootrec tool.

  1. 1Boot the system using Windows Installation Media and open the Command Prompt in the Windows Recovery Environment (WinRE).
  2. 2Execute bootrec /fixmbr to write a compatible Master Boot Record to the system partition.
  3. 3Execute bootrec /fixboot to write a new boot sector onto the active system partition.
  4. 4Execute bootrec /scanos to identify existing Windows installations not listed in the BCD.
  5. 5Execute bootrec /rebuildbcd to recreate the Boot Configuration Data store and add detected installations.

Answer

The correct order starts by booting into WinRE Command Prompt, followed by running bootrec /fixmbr, then bootrec /fixboot, then bootrec /scanos, and concluding with bootrec /rebuildbcd.
Troubleshooting begins by accessing WinRE Command Prompt. Next, repairing disk MBR code (bootrec /fixmbr) and partition boot sector code (bootrec /fixboot) restores critical low-level boot loaders. Scanning for OS installations (bootrec /scanos) detects existing Windows installations. Finally, rebuilding the Boot Configuration Data (bootrec /rebuildbcd) incorporates those installations into a fresh startup configuration.

Step-by-Step Solution

1
Boot into Windows Recovery Environment (WinRE) Command Prompt.
Access to offline boot repair tools is established.
Boot repair utilities must be executed in an offline environment when the main OS fails to launch.
2
Run bootrec /fixmbr to restore the MBR.
Master Boot Record code is updated on the primary partition table.
Restoring the MBR fixes disk-level boot loader corruption necessary for initial system handoff.
3
Run bootrec /fixboot to restore the partition boot sector.
A new partition boot sector compatible with Windows Boot Manager is written.
The partition boot sector hands off execution control from the MBR to bootmgr.
4
Run bootrec /scanos to locate installed operating systems.
All compatible Windows installations missing from the current BCD are detected.
Scanning locates OS installations required to rebuild the BCD configuration.
5
Run bootrec /rebuildbcd to regenerate the Boot Configuration Data file.
The BCD store is fully restored with valid OS startup parameters.
Rebuilding BCD allows Windows Boot Manager to present and load the operating system upon reboot.

Key Concept

Windows Bootrec Diagnostic and Repair Sequence
Rate this question