A desktop computer running Windows 11 fails to start after a technician cloned the OS drive from a legacy MBR disk to a new NVMe SSD utilizing GPT partitioning for UEFI booting. On startup, the screen displays 'An operating system wasn't found.' The technician boots into the Windows Recovery Environment (WinRE) command prompt and attempts to run `bootrec /fixboot`, but receives an 'Access is denied' error message. Which of the following command sequences should the technician perform to repair the boot files?
- Use `diskpart` to assign a drive letter to the EFI System Partition, then run the `bcdboot` command pointing to the Windows installation directory and target partition.Cevap
- BExecute `bootrec /fixmbr` followed by `bootrec /rebuildbcd` directly from the WinRE command prompt.
- CRun `chkdsk C: /r` to locate bad sectors on the OS drive, followed by `sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows`.
- DOpen Computer Management MMC from WinRE to set the main OS partition as active.
Cevap
Use `diskpart` to assign a drive letter to the EFI System Partition, then execute the `bcdboot` utility referencing the Windows installation path and target volume.
On modern UEFI systems utilizing GPT disks, the standard legacy boot repair tool `bootrec /fixboot` frequently fails with an 'Access is denied' error because the boot files reside within a separate FAT32 EFI System Partition (ESP). The appropriate resolution involves using `diskpart` within WinRE to assign a letter to the hidden ESP and running `bcdboot C:\Windows /s <letter>: /f UEFI` to re-create the Boot Configuration Data (BCD) environment.
Adım Adım Çözüm
Anahtar Kavram
Troubleshooting UEFI/GPT Windows Boot File Corruption via BCDBoot and Diskpart
Tahmini Süre:2m 30s