Soru

Zorluk: ZorTroubleshooting Windows OS Startup and Boot Errors

A technician is troubleshooting a UEFI-based Windows 11 computer that fails to boot, displaying a boot configuration error. After booting into the Windows Recovery Environment (WinRE) Command Prompt, the technician decides to manually recreate the corrupted EFI System Partition (ESP) structure and Boot Configuration Data (BCD). In what correct sequence should the technician execute the following repair steps?

  1. 1Run diskpart to locate the hidden EFI System Partition volume number.
  2. 2Assign a temporary drive letter to the EFI System Partition and exit diskpart.
  3. 3Navigate to the EFI boot directory and execute attrib -h -r -s BCD to remove system attributes from the BCD file.
  4. 4Rename the existing BCD file to BCD.old to preserve a backup.
  5. 5Execute bcdboot C:\Windows /s Z: /f ALL to recreate the boot environment files.

Cevap

The correct sequence for repairing the EFI boot environment in WinRE is: 1) Run diskpart to locate the hidden EFI System Partition volume number; 2) Assign a temporary drive letter to the EFI System Partition and exit diskpart; 3) Navigate to the EFI boot directory and execute attrib -h -r -s BCD to remove system attributes from the BCD file; 4) Rename the existing BCD file to BCD.old to preserve a backup; 5) Execute bcdboot C:\Windows /s Z: /f ALL to recreate the boot environment files.
To repair a corrupted UEFI boot setup, the hidden EFI System Partition must first be located and assigned a volume drive letter using diskpart. Once accessible, file protections on the existing BCD must be cleared with attrib so it can be renamed as a backup. Finally, bcdboot is executed targeting the assigned drive letter to write clean boot files and rebuild the BCD.

Adım Adım Çözüm

1
Open Diskpart utility to inspect disk partitions and volumes.
The hidden FAT32 system partition (ESP) volume index is identified.
You cannot access or target the ESP drive until its volume number is found.
2
Select the ESP volume and assign a drive letter (e.g., Z:), then exit Diskpart.
The ESP volume becomes accessible via the Z: drive path.
Command-line tools like attrib and ren require an accessible drive letter path.
3
Change directory to Z:\EFI\Microsoft\Boot\ and run attrib -h -r -s BCD.
The file attributes locking the BCD store are cleared.
System files cannot be modified or renamed while marked as read-only, hidden, or system files.
4
Rename the BCD file using ren BCD BCD.old.
The corrupted BCD file is renamed and no longer active.
Renaming the file prevents collision errors when generating fresh BCD files.
5
Run bcdboot C:\Windows /s Z: /f ALL.
Fresh EFI system files and a new BCD store are written to the ESP partition.
bcdboot copies system boot files from the Windows directory to the target boot partition.

Anahtar Kavram

UEFI EFI System Partition (ESP) and BCD manual repair procedure using WinRE Command Line Tools
Tahmini Süre:2m 0s
Bu soruyu puanla