Sysprep is failing on Windows 10 1709 due to MiracastView package

You have a Windows 10 1703 computer / VM and you have upgraded it to version 1703. When you run sysprep it fails with the following error:

Setupact.log contains errors:

Removing the MiracastView package with PowerShell also fails:

This happens due to a bug during migration from 1703 to 1709.

You have two options:

1) If the Windows.old exists, copyWindows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy.xml fromC:\Windows.old\ProgramData\Microsoft\Windows\AppRepository\ toC:\ProgramData\Microsoft\Windows\AppRepository

2) Find another Windows 10 1703 computer and copy the folderC:\Windows\MiracastView to the problematic VM.

After this restart the computer to finish the removal and run Sysprep again. This time it should work as expected.

Leave a Reply

Your email address will not be published. Required fields are marked *