After running through PowerShell scripts to provision apps on Windows 11, and then taking an image, both the source and target computers do not boot into production.
Windows 11 version 22H2 with updates applied before running sysprep
Errors in setuperr file and error is given on OOBE:
Error TOOL BCD: BiUpdateEfiEntry failed c000000d
Error TOOL BCD: BiExportBcdObjects failed c000000d
Error TOOL BCD: BiExportStoreAlterationsToEfi failed c000000d
Error TOOL BCD: Failed to export alterations to firmware. Status: c000000d
KB5020044 update applied on source system
See Microsoft article:
Do not apply windows updates to Windows 11 (22H2) or roll back KB5020044 off the system before preparing the system for sysprep
GSS: Preparing Windows 10 (or Windows 11) to run Sysprep
DS: Preparing Windows 10 or Windows 11 to run a 'Prepare for Image Capture' (sysprep)