For Windows 10 deployment issues, you should really post this on TechNet IT Pro forums:
Cannot Sysprep after Fall Creator Update due to Miracast App
Hi,
I have upgraded a Windows 10 PC with Fall Creator Update. The image I upgraded was fresh without and additional programs except Office 2016 and a handful of fonts.
I want to create a base image from it.
The Sysprep OOBE + Generalise fails as it cannot validate Windows. The setupact log pins the blame on Micracast:
2017-10-23 10:51:05, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2017-10-23 10:51:05, Error 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.
2017-10-23 10:51:05, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2017-10-23 10:51:05, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2017-10-23 10:51:05, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2017-10-23 10:51:05, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2017-10-23 10:51:05, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2017-10-23 10:51:05, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2017-10-23 10:51:05, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2017-10-23 10:51:15, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2017-10-23 10:51:15, Info [0x0f004d] SYSPRP The time is now 2017-10-23 10:51:15
Getting more information in PowerShell I get the following for
PackageFullName : Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy
PackageUserInformation : {S-1-5-21-2325304736-1218276920-2303212629-500 [Administrator]: Installed(pending removal)}
I try to remove-appx Miracast and it has an error. Looking at the logs I get:
Time ID Message
---- -- -------
23/10/2017 10:12:34 AM 603 Started deployment Remove operation on a package with main parameter: Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy and Options: 0 and 0.
See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
23/10/2017 10:12:34 AM 10002 Creating Resiliency File
C:\ProgramData\Microsoft\Windows\AppRepository\3546fe49-8d75-42f3-87eb-3ddddd3bf72b_S-1-5-21-2325304736-1218276920-2303212629-500_1.rslc for Remove
Operation on Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy.
23/10/2017 10:12:34 AM 607 Deployment Remove operation on package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy has been de-queued and is running for user SID
S-1-5-21-2325304736-1218276920-2303212629-500.
23/10/2017 10:12:34 AM 475 error 0x80070002: Reading manifest from location:
C:\ProgramData\Microsoft\Windows\AppRepository\Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy.xml failed with error: The system cannot find
the file specified.
.
23/10/2017 10:12:34 AM 341 Cannot open manifest file for package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy (0x80070490). Using manifest from StateRepository
instead.
23/10/2017 10:12:34 AM 343 Cannot open manifest file for package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy (0x80070490). Using manifest from StateRepository
instead.
23/10/2017 10:12:34 AM 605 The last successful state reached was BundleProcessed. Failure occurred before reaching the next state Indexed. hr: 0x80070490
23/10/2017 10:12:34 AM 401 Deployment Remove operation with target volume C: on Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy from: failed with error
0x80070490. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
23/10/2017 10:12:34 AM 404 AppX Deployment operation failed for package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy with error 0x80073CFA. The specific error text
for this failure is: Deployment Remove operation with target volume C: on Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy from:
failed with error 0x80070490. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
I have found 1 other reference to this issue - a user posted it on a forum 4 days ago with no response.
Any suggestions?
Garry
Moved from Windows / Windows 10 / Install, upgrade, & activate
Windows for home | Windows 10 | Performance and system failures
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author