Running into Error(s) after executing sysprep tool
Hello community
I'm in need of assistance with these log errors. Are all of these related to Microsoft wallet or is that just 1 error in particular? I ran PS command to remove app and reran sysprep (with unattended xml file) but still get same error
2019-01-25 06:48:09, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2019-01-25 06:48:09, Error SYSPRP Package Microsoft.Wallet_2.2.18065.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2019-01-25 06:48:09, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2019-01-25 06:48:09, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2019-01-25 06:48:09, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2019-01-25 06:48:09, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2019-01-25 06:48:09, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2019-01-25 06:48:09, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2019-01-25 06:48:09, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2019-01-25 06:48:21, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2019-01-25 06:48:21, Info [0x0f004d] SYSPRP The time is now 2019-01-25 06:48:21
Any help would be most appreciative
Answers (2)
0x80073cf2, You have one or several provisioned apps, who Sysprep is unable to remove, hence it won't complete:
https://support.quest.com/kace-systems-deployment-appliance/kb/189840/sysprep-fails-on-windows-10-or-windows-8
Make sure you are capturing from a Virtual machine not a physical device.
Please see this post, same error code:
https://www.itninja.com/question/windows-10-sysprep-fails-after-windows-updates
If possible isolate the Machine or VM from Internet, to avoid backuground Apps updates being pushed.
If possible only use one Profile in Windows.(in your C:\Users\ folder, you should have a local admin, and a folder named public).
You need to use powershell and see what storeapps in addition to Microsoft.Wallet is installed for the user and remove them. I am now running LTSC so it no longer a headache.
here is my last powershell script to strip the store apps for syspreping.
get-appxpackage *BingWeather* | remove-appxpackage
get-appxpackage *Xbox* | remove-appxpackage
get-appxpackage *Messaging* | remove-appxpackage
get-appxpackage *OneNote* | remove-appxpackage
get-appxpackage *People* | remove-appxpackage
get-appxpackage *Photos* | remove-appxpackage
get-appxpackage *Alarms* | remove-appxpackage
get-appxpackage *Camera* | remove-appxpackage
get-appxpackage *Maps* | remove-appxpackage
get-appxpackage *Feedback* | remove-appxpackage
get-appxpackage *Zune* | remove-appxpackage
get-appxpackage *news* | remove-appxpackage
get-appxpackage *get* | remove-appxpackage
get-appxpackage *skype* | remove-appxpackage
get-appxpackage *oneconnect* | remove-appxpackage
get-appxpackage *office* | remove-appxpackage
get-appxpackage Microsoft.XboxGameCallableUI_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy | remove-appxpackage
get-appxpackage *EclipseManager* | remove-appxpackage
get-appxpackage *ActiproSoftwareLLC* | remove-appxpackage
get-appxpackage *Duolingo* | remove-appxpackage
get-appxpackage *3DViewer* | remove-appxpackage
get-appxpackage *Print3D* | remove-appxpackage
get-appxpackage *Wallet* | remove-appxpackage
get-appxpackage *CBSPreview* | remove-appxpackage
get-appxpackage -allusers *get* | remove-appxpackage
get-appxpackage -allusers *skype* | remove-appxpackage
get-appxpackage -allusers *oneconnect* | remove-appxpackage
get-appxpackage -allusers *office* | remove-appxpackage
get-appxpackage -allusers *camera* | remove-appxpackage
get-appxpackage -allusers *Bingnews* | remove-appxpackage
get-appxpackage -allusers *Xbox* | remove-appxpackage
get-appxpackage -allusers *Messaging* | remove-appxpackage
get-appxpackage -allusers *OneNote* | remove-appxpackage
get-appxpackage -allusers *People* | remove-appxpackage
get-appxpackage -allusers *Photos* | remove-appxpackage
get-appxpackage -allusers *Alarms* | remove-appxpackage
get-appxpackage -allusers *Maps* | remove-appxpackage
get-appxpackage -allusers *Feedback* | remove-appxpackage
get-appxpackage -allusers *Zune* | remove-appxpackage
get-appxpackage -allusers Microsoft.XboxGameCallableUI_1000.17134.1.0_neutral_neutral_cw5n1h2txyewy | remove-appxpackage
get-appxpackage -allusers *EclipseManager* | remove-appxpackage
get-appxpackage -allusers *ActiproSoftwareLLC* | remove-appxpackage
get-appxpackage -allusers *Duolingo* | remove-appxpackage
get-appxpackage -allusers *3DViewer* | remove-appxpackage
get-appxpackage -allusers *Print3D* | remove-appxpackage
get-appxpackage -allusers *Wallet* | remove-appxpackage
get-appxpackage -allusers *CBSPreview* | remove-appxpackage
remove-appxprovisionedpackage -online -packagename Microsoft.BingWeather_4.24.11294.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.GetHelp_10.1706.10952.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Getstarted_6.10.10872.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Messaging_2018.222.2231.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Microsoft3DViewer_4.1804.19012.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.MicrosoftOfficeHub_2018.428.1013.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Office.OneNote_2015.9330.20531.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.OneConnect_4.1805.1291.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Print3D_2.0.10611.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.SkypeApp_12.1815.209.0_neutral_~_kzf8qxf38zg5c
remove-appxprovisionedpackage -online -packagename Microsoft.Wallet_2.1.18009.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.WebMediaExtensions_1.0.10671.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Windows.Photos_2018.18041.15210.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.WindowsCamera_2018.227.30.1000_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.WindowsFeedbackHub_2018.425.657.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.WindowsMaps_2018.216.2133.1000_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.Xbox.TCUI_1.11.29001.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.XboxApp_41.41.18005.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.XboxGameOverlay_1.28.25001.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.XboxGamingOverlay_1.15.1001.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.XboxIdentityProvider_12.41.24002.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.ZuneMusic_2019.18041.14611.0_neutral_~_8wekyb3d8bbwe
remove-appxprovisionedpackage -online -packagename Microsoft.ZuneVideo_2019.17122.16211.1000_neutral_~_8wekyb3d8bbwe
Comments:
-
Thank you SMal.tmcc
I had already ran - get-appxpackage *Wallet* | remove-appxpackage, but didn't fix issue, unless I needed to run this against all profiles? I thought running these from Admin account would remove from all created profiles.
I actually decided to just remove the extra profile all together and was then able to Sysprep computer.
1) I forgot about the extra profile
2) I didn't really need it.
Thank you for your response - jlines 5 years ago