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:
SYSPRP Package Windows.MiracastView_22.214.171.124_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 = 0x3cf2R
Removing the MiracastView package with PowerShell also fails:
Get-AppxPackage -allusers *mira* | Remove-AppxPackage
Remove-AppxPackage: Deployment Remove operation with target volume C: on Package Windows.MiracastView_126.96.36.199_neutral_neutral_cw5n1h2txyewy from: failed with error 0x80070490.
You have two options:
1) If the Windows.old exists, copyWindows.MiracastView_188.8.131.52_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.