When running the scheduled task to do windows updates script on our pool image, we got this error:
2021-08-12 12:08:35, Error SYSPRP BCD: BiUpdateEfiEntry failed c000000d
2021-08-12 12:08:35, Error SYSPRP BCD: BiExportBcdObjects failed c000000d
2021-08-12 12:08:35, Error SYSPRP BCD: BiExportStoreAlterationsToEfi failed c000000d
2021-08-12 12:08:35, Error SYSPRP BCD: Failed to export alterations to firmware. Status: c000000d
2022-05-10 20:42:27, Error SYSPRP Sysprep_Clean_Validate_Opk:There are one or more Windows updates that require a reboot. To run Sysprep, reboot the computer and restart the application.[gle=0x000036b7]
2022-05-10 20:42:27, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f[gle=0x000036b7]
2022-05-10 20:42:27, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
2022-05-10 20:42:27, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x139f
2022-05-10 20:42:27, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
2022-05-10 20:42:27, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f
Would be nice if nerdio had some way to determine this has happened and push for another reboot of the vm and rerun of the update script, and even repeat it however many times needed before setting it as image.
Also in turn, would be nice if when the vm fails sysprep, if it just emails us the zip file with the error log, and deletes the -tmp vm.
Sucks to have this happen over night while we are sleeping and this whole time a -tmp vm is running wasting money over night for literally zero reasons.
:) Thanks.
Comments (1 comment)