I was just trying to make a few Windows 10 VM images, so I started to use the same old tool: Sysprep. To my surprise, it didn’t work, while there’s no problem a few days ago on Windows Server 2012 and 2008. This time on Windows 10, it gave this pop up after I ran the same command (in my previous blog).
The log stopped after showing these lines:
SYSPRP Entering SysprepGeneralizeValidate (Appx) – validating whether all apps are also provisioned.
SYSPRP Package Windows.MiracastView_18.104.22.168_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
SYSPRP Failed to remove apps for the current user: 0x80073cf2.
SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘SysprepGeneralizeValidate’ from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
SYSPRP Shutting down SysPrep log
So I did a little research, found the thread in this forum is quite interesting.
and this as well
Anyway, after tried a few easy steps, I gave up. I don’t really need to clone a bunch of Windows 10 machines, besides install a new Windows 10 client is pretty easy and quick after the evolution of so many generations of Windows.
This issue seems to me a bug in the recent creator update. Microsoft has been trying to unify all its platforms – desktop, surface, phone, even server, but it is still far from there, this time these are a few dev leftover in a public release.