cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
670 stars 227 forks source link

Reset BCD store for images created from gold #320

Closed ader1990 closed 4 years ago

ader1990 commented 4 years ago

If multiple images are created at the same time from a gold VHD, there is a chance that some of them do not boot because HyperV boot environment does not recognize the boot device anymore with error code 0xc00000e.

Resetting the BCD store to locate the os device and resetting the VHD GUID should solve the issue.