Share via

Azure Windows VM Not Booting - BCD Files Missing

Jon Faynleyb 0 Reputation points
2026-04-21T15:59:35.6966667+00:00

We currently have a Windows VM that does not boot, diagnostics show an error in the Recovery Environment saying Automatic Repair couldnt repair the PC. We created a repair VM and attempted to follow the commands to rebuild the BCD, but get errors stating BCD files are missing or dont exist. Previous backups result in the same boot error.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. Alex Burlachenko 21,225 Reputation points MVP Volunteer Moderator
    2026-04-30T08:40:14.8833333+00:00

    Jon Faynleyb hi & thx for join me here at Q&A portal,

    this is usually not “BCD file missing only”, its boot partition/EFI layout or OS disk corruption. In Azure the safest path is offline repair from a repair VM... attach the broken OS disk, identify Windows volume and EFI/System Reserved volume, assign drive letters, then rebuild boot files with bcdboot.

    Gen2/UEFI use something like diskpart > find EFI FAT32 partition > assign S: > assign Windows volume W: > run bcdboot W:\Windows /s S: /f UEFI.

    Gen1/BIOS use System Reserved/active partition and run bcdboot W:\Windows /s S: /f BIOS. If bcdboot says Windows files missing or fails, run chkdsk W: /f and confirm W:\Windows\System32\Config exists.

    If multiple backups show same issue the VM may have been backed up after corruption or the wrong disk/partition is being restored. Is VM generation matches the disk Gen1 disk wont boot as Gen2 and vice versa u know:)

    rgds, Alex

    &

    if my answer helps pls accept it.
    

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.