Question

Difficulty: MediumTroubleshooting Windows OS Startup and Boot Errors

A technician is troubleshooting a UEFI/GPT-based Windows 11 workstation that fails to start after a partition resizing attempt. The system displays a black screen with the error message indicating that the boot configuration data is missing. The technician boots the machine into the Windows Recovery Environment (WinRE) Command Prompt to manually reconstruct the EFI System Partition (ESP) structures. Place the correct troubleshooting steps in sequential order to repair the boot files.

  1. 1Run `diskpart`, locate the hidden FAT32 EFI System Partition volume, and select it.
  2. 2Execute `assign letter=S` to map an available drive letter to the selected EFI System Partition.
  3. 3Exit `diskpart` and navigate to the assigned drive letter directory (`S:\`).
  4. 4Execute `bcdboot C:\Windows /s S: /f UEFI` to recreate the BCD store and copy firmware boot files.

Answer

The correct repair sequence requires identifying the EFI System Partition using diskpart, assigning it a temporary drive letter, exiting diskpart to access that drive volume, and running the bcdboot command targeting the new drive letter.
On UEFI systems utilizing GPT disks, startup information is contained within an unassigned FAT32 EFI System Partition (ESP). To repair corrupted BCD files manually, a technician must first open `diskpart` to locate and select the ESP volume, assign a temporary drive letter (e.g., `S:`), exit `diskpart`, and then execute `bcdboot C:\Windows /s S: /f UEFI` to write fresh system boot files to the partition.

Step-by-Step Solution

1
Open diskpart to locate the hidden partition
Identifies the FAT32 volume representing the EFI System Partition (ESP).
On GPT/UEFI systems, boot files are stored on a separate hidden FAT32 partition rather than the main C: drive.
2
Assign a drive letter to the EFI partition
The hidden ESP becomes accessible under a specific drive letter such as S:.
Command-line repair utilities require a reachable drive path to write new boot files.
3
Exit diskpart utility
Returns control to the standard WinRE Command Prompt interface.
File structure operations and bcdboot utility execution must be executed outside of diskpart.
4
Run BCDBoot repair tool
Generates a clean Boot Configuration Data file and installs UEFI boot binaries to the ESP.
The bcdboot command extracts fresh startup files from C:\Windows and initializes the BCD on the target partition.

Key Concept

Rebuilding UEFI Boot Files and BCD via Diskpart and BCDBoot Utility
Rate this question