Sysprep on Windows10 Enterprise fails during OOBE and will not capture an Imagine using Generalize option. Is this normal for 20H2 to fail?

Art Dority 1 Reputation point
2021-10-26T00:52:48.923+00:00

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!!

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 40,076 Reputation points
    2021-10-26T19:53:55.973+00:00

    Hello @Art Dority

    The same errors have been this discussed in the next threads, I would suggest to try the actions proposed:

    https://social.technet.microsoft.com/Forums/en-US/965cbc60-521a-4fa9-a447-dfc305edcb3e/win10-1803-sysprep-issue-with-generalize-option-?forum=win10itprosetup
    https://social.technet.microsoft.com/Forums/en-US/d0cba983-0688-41a7-bfc6-b75764bf3746/sysprep-error-capturing-windows-1909?forum=win10itprosetup

    Hope this helps with your query,

    ---------
    --If the reply is helpful, please Upvote and Accept as answer--

    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.