Am getting below Error during sysprep execution:
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
I'm also getting these errors from the setupact.log after Sysprep finishes:
2021-10-22 15:23:49, Warning SYSPRP SPPNP: Could not clear event log Microsoft-Windows-Kernel-PnPConfig/Configuration. Err = 0x3A9F
2021-10-22 15:23:50, Warning SYSPRP iphlpsvc.dll: sysprep generalize failed to delete tunnel registry
2021-10-22 15:23:50, Warning SYSPRP iphlpsvc.dll: sysprep generalize failed to delete tunnel registry
021-10-22 15:23:50, Warning SYSPRP MRTGeneralize:107 - WARNING: Failed DeleteInstance AntiSpywareProduct.instanceGuid="{D68DDC3A-831F-4FAE-9E44-DA132C1ACF46}" hr=2147749890, this is probably because the value does not exist
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.Search_1.14.1.19041_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.Search_1.14.1.19041_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG1'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.Search_1.14.1.19041_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG2'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x91 while deleting directory '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.Search_1.14.1.19041_neutral_neutral_cw5n1h2txyewy'.
2021-10-22 15:24:00, Info SYSPRP Ignoring not empty directories, which can happen when the activation store was not deleted.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.ShellExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.ShellExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG1'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.ShellExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG2'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x91 while deleting directory '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.ShellExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy'.
2021-10-22 15:24:00, Info SYSPRP Ignoring not empty directories, which can happen when the activation store was not deleted.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.StartMenuExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.StartMenuExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG1'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.StartMenuExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy\ActivationStore.dat.LOG2'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x91 while deleting directory '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\Microsoft.Windows.StartMenuExperienceHost_10.0.19041.964_neutral_neutral_cw5n1h2txyewy'.
2021-10-22 15:24:00, Info SYSPRP Ignoring not empty directories, which can happen when the activation store was not deleted.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\MicrosoftWindows.Client.CBS_120.2212.2020.0_x64__cw5n1h2txyewy\ActivationStore.dat'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\MicrosoftWindows.Client.CBS_120.2212.2020.0_x64__cw5n1h2txyewy\ActivationStore.dat.LOG1'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x20 while deleting file '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\MicrosoftWindows.Client.CBS_120.2212.2020.0_x64__cw5n1h2txyewy\ActivationStore.dat.LOG2'.
2021-10-22 15:24:00, Info SYSPRP Explicitly ignoring sharing violation on activationstore, which can happen when the app is running.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x91 while deleting directory '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages\MicrosoftWindows.Client.CBS_120.2212.2020.0_x64__cw5n1h2txyewy'.
2021-10-22 15:24:00, Info SYSPRP Ignoring not empty directories, which can happen when the activation store was not deleted.
2021-10-22 15:24:00, Warning SYSPRP Encountered error 0x91 while deleting directory '\?\C:\ProgramData\Microsoft\Windows\AppRepository\Packages'.
2021-10-22 15:24:00, Info SYSPRP Ignoring not empty directories, which can happen when the activation store was not deleted.
2021-10-22 15:24:00, Warning SYSPRP Could not re-arm region selection, some files and registry keys are no longer recoverable.
2021-10-22 15:24:00, Warning SYSPRP Ignoring folder Deleted because could not convert to family name
2021-10-22 15:24:00, Warning SYSPRP Ignoring folder DeletedAllUserPackages because could not convert to family name
2021-10-22 15:24:00, Warning SYSPRP Ignoring folder MovedPackages because could not convert to family name
2021-10-22 15:24:00, Warning SYSPRP Ignoring folder Mutable because could not convert to family name
2021-10-22 15:24:00, Warning SYSPRP Ignoring folder MutableBackup because could not convert to family name
I believe this is also the cause that Sysprep fails to complete a generalized imagine of Win10, Does anyone know of a fix that will solve this problem. I've tried all of the other solutions and nothing works. Any help is helpful to fix this error. Thanks!!