Sysprep doesn’t work on Windows 10

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).

image

The log stopped after showing these lines:

SYSPRP Entering SysprepGeneralizeValidate (Appx) – validating whether all apps are also provisioned.
SYSPRP Package Windows.MiracastView_6.3.0.0_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.

http://alexappleton.net/post/159702702033/windows-10-pro-remove-wireless-display-media

and this as well

https://www.tenforums.com/software-apps/81224-uninstall-wireless-display-media-viewer-2.html

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.

Advertisements

Sysprep

image

Manually Using SYSPREP in Windows 2012 VMs and Templates

vLore Blog

Recently, on a professional services engagement, we encountered a situation, where the Customization Wizard was failing to successfully apply SYSPREP to Windows 2012 Servers.  Because our main objective and my time was focused on other areas, we could not take time to resolve the underlying the root cause, so we needed a work-around.   This led us to applying SYSPREP manually, which I had not done in a long time.  Here are the details that we applied toward using SYSPREP manually in a VM template

Our main concern is if we deploy two VMs from a template or VM that already has a SID, then an issue may occur if we try to add both new VMs to the domain.  The following error may occur when adding the second VM.

sysprep-1a

To fix this in the second VM, you can use these steps:

1 – Open RUN and enter sysprep

sysprep-2a

2…

View original post 192 more words