How to repair a broken Windows boot configuration data file
The Boot Configuration Data (BCD) record tells the firmware where to find the Windows Boot Manager and installed operating systems. On most modern PCs, it lives in a small file named BCD on the EFI System Partition. When the Windows boot configuration data file is damaged, Windows may show a missing Bootmgr file, produce an INACCESSIBLE_BOOT_DEVICE screen, or leave the machine searching indefinitely for a boot device.
Repairing it normally means restoring or rebuilding boot entries rather than reinstalling Windows. Before changing anything, protect important files and locate the BitLocker recovery key if encryption is active. An interrupted update, power loss, malware infection or failing SSD can all cause damage, so storage health must be considered as well as the boot configuration.
Recognise the symptoms before editing boot settings
A useful first step is to establish exactly what happens before Windows starts. Note whether the screen reports a missing Bootmgr file, shows a Windows Boot Manager menu with no operating system, repeats “Preparing automatic repair”, or reaches a recovery menu. These clues separate a damaged BCD from broader boot failures caused by loose cabling, an incorrect boot order, a missing system file or unreadable storage.
Check Disk Management or open Command Prompt as administrator and run diskpart, followed by list vol. On a typical UEFI installation, the EFI System Partition is a small FAT32 volume, often around 100–300 MB, while the main Windows volume is much larger. Drive letters can differ from the familiar C: arrangement, so identify volumes by size, label and file system rather than assuming.
Confirm whether the firmware is UEFI or legacy BIOS before choosing commands. A modern Windows 11 PC normally uses UEFI, whereas an older machine may use BIOS. Sudden outages during Brisbane’s hot summer storms can interrupt firmware or update writes; surge protection and an uninterruptible power supply reduce that risk, but they cannot repair an already damaged partition.
Prepare a recovery environment and protect the data
Copy irreplaceable documents, photographs and business records to another drive or reputable cloud service before editing the ESP. If Windows is encrypted, open the BitLocker recovery information in the account’s recovery-key page and store the 48-digit key offline. A boot rebuild should not be used as a substitute for recovering data from a disk that is failing or no longer detected by the firmware.
Create a Windows installation USB with Microsoft’s Media Creation Tool on another healthy PC, or download the current Windows ISO and write it to USB. Boot the affected computer from that media and select Repair your computer rather than Install now. Disconnect unnecessary external drives and, on a multi-drive system, temporarily disconnect other internal disks if the manual commands could select the wrong volume.
Use Windows’ own recovery environment and current drivers whenever possible. For a compatible Garmin navigation unit, a separate maintenance step such as Garmin Express updates may be sensible before an Australian road trip, but it has no role in repairing Windows boot records. Keeping device utilities separate from the recovery USB also prevents unnecessary software from complicating diagnosis.
Repair the existing boot entries with built-in recovery tools
On a bootable Windows installation, open Settings, choose System, Recovery, and select Advanced startup. After the restart, select Troubleshoot, Advanced options, Startup Repair, and allow the scan to complete. If the desktop cannot open, use “Repair your computer” from the installation USB. Automatic repair often restores a missing boot manager or rebuilds entries after a failed update.
If Startup Repair cannot finish, open Command Prompt from the same recovery environment. Listing the store provides a safe way to identify each entry and its GUID before changing the boot sequence:
bcdedit /enum
bcdedit /set {default} bootsequence {WINDOWS-ENTRY-GUID}
The second line is an example shape, not a command to copy with the placeholder unchanged. Replace it with an identifier exactly as displayed in the output. If the listing contains a clearly broken or duplicate entry, bcdedit /delete {WINDOWS-ENTRY-GUID} removes it, but check the description and paths first. Keep the valid Windows loader and recovery entries. These edits repair an existing store; they do not recreate a missing EFI partition or restore files from a damaged SSD.
Rebuild the configuration on the EFI system partition
When recovery cannot see the BCD store, use DiskPart to give the EFI System Partition a temporary drive letter. In the recovery Command Prompt, list the volumes and replace N with the number of the small FAT32 EFI volume:
diskpart
list vol
select volume N
assign letter=S:
exit
Choose an unused temporary letter if S: is already allocated. Confirm the destination by running dir S:\EFI\Microsoft\Boot and checking for files such as BCD and Bootmgfw.efi. The EFI volume should not be formatted, converted or replaced merely because those files are missing; formatting can erase firmware boot components and make the problem harder to repair.
With Windows installed on C: and the EFI volume assigned to S:, recreate the boot files and configuration with bcdboot C:\Windows /s S: /f UEFI. Use the actual Windows drive if it is not C:. An Australian installation can add the locale with /l en-AU, giving the resulting boot manager the expected language setting. Multiple Windows installations require extra care because each has different identifiers and loader paths, so verify the target volume before running BCDBoot. For a confirmed legacy BIOS machine, use the designated System Reserved partition and the /f BIOS option instead; MBR repair commands such as bootrec /fixboot have no useful role in UEFI mode.
Confirm recovery and identify cases needing hardware help
Reboot after the repair and check that the firmware reaches Windows Boot Manager, displays each expected operating system, and loads the intended installation. Once Windows opens, run bcdedit /enum in an elevated Command Prompt and confirm that the boot sequence points to the correct winload.exe. Restart once more and allow Windows Update to check for outstanding updates, since an interrupted feature upgrade can otherwise leave a second problem behind.
Persistent blue screens, missing storage, disk-partition errors or an inability to assign the EFI volume indicate a deeper issue. Repeated INACCESSIBLE_BOOT_DEVICE messages can point to an SSD with bad blocks, while an ESP that cannot be read may have a filesystem or hardware fault. Check the drive’s health status, firmware and SMART data before another rebuild, and avoid formatting a volume containing recovery files.
Australian repair quotes should normally be GST-inclusive, and any business handling personal files should explain its data-handling process under the Australian Privacy Act. This matters for computers in Sydney, Melbourne and Brisbane as well as remote locations in Western Australia and the Northern Territory, where remote diagnosis or insured shipping may be more practical than a desk visit. A qualified provider such as Movian Security can assess Windows boot failures, malware and storage problems while prioritising recoverable data. The safest outcome is a verified boot configuration pointing to a healthy Windows installation, with the user’s information still intact.
Movian Security