Xml failure while validating management pack
Error [0x0f0082] SYSPRP Action Platform:: Launch Module: Failure occurred while executing 'Sysprep Generalize Validate' from C: Windows System32Appx Sysprep.dll; dw Ret = 0x3cf2 Error SYSPRP Sysprep Session:: Validate: Error in validating actions from C: Windows System32Sysprep Action Files Generalize.xml; dw Ret = 0x3cf2 Error SYSPRP Run Platform Actions: Failed while validating Sysprep Session actions; dw Ret = 0x3cf2 Error [0x0f0070] SYSPRP Run External Dlls: An error occurred while running registry sysprep DLLs, halting sysprep execution.dw Ret = 0x3cf2 Error [0x0f00d8] SYSPRP Win Main: Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 Now, the above log is quite obvious, an app named Microsoft.LOG and log files: Expected image state is IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE, actual image state is IMAGE_STATE_COMPLETE, sysprep did not succeed.FAILURE ( 6192 ): ERROR – Sysprep did not complete successfully, check C:windowssystem32for details Error SYSPRP Package Microsoft.If you are still using or plan to do so: The PKI Certificate Management Pack can now be found in open source on Git Hub: https://github.com/rafabu/SCOM-PKICertificate MP Get the latest release from there and get involved.
Of course that also stops you from doing anything interactive during the build and capture process, but hopefully you don't need that once you nailed your task sequence. What if you need Internet access for other reasons?
This post is about preventing that from happening, and is a companion to uber-guide on building Windows 10 reference images in the real world: The issue is explained in a KB from Microsoft, but it's workaround are not very good for automation purposes.
Sysprep fails after you remove or update Windows Store apps that include built-in Windows images Note #1: This is a quite long post, and if you just want the fix, scroll to the end, to the Fixing the problem section.
Note that this doesn't happen all the time, it's a timing issue, but it sure happen often enough to be an issue.
If that happens you will get the following error in the BDD.