New
#1
sysprep errors after removing windows 10 apps
I removed some win 10 apps before using sysprep to generalize my image and now i'm having errors when i try to generalize with sysprep.
the apps i removed using:
now sysprep gives me these errors:Code:#To remove Feedback Hub app from all current accounts on PC Get-appxpackage -allusers *WindowsFeedbackHub* | Remove-AppxPackage #To only remove Feedback Hub app from new accounts created afterwards Get-appxprovisionedpackage -online | where-object {$_.packagename -like "*WindowsFeedbackHub*"} | remove-appxprovisionedpackage -online #(To remove Get Office app from all current accounts on PC) Get-appxpackage -allusers *officehub* | Remove-AppxPackage #(To only remove Get Office app from new accounts created afterwards) Get-appxprovisionedpackage -online | where-object {$_.packagename -like "*officehub*"} | remove-appxprovisionedpackage -online #solitaire Get-appxpackage -allusers *solitairecollection* | Remove-AppxPackage Get-appxprovisionedpackage -online | where-object {$_.packagename -like "*solitairecollection*"} | remove-appxprovisionedpackage -online #skype Get-appxpackage -allusers *SkypeApp* | Remove-AppxPackage Get-appxprovisionedpackage -online | where-object {$_.packagename -like "*SkypeApp*"} | remove-appxprovisionedpackage -online #xbox Get-appxpackage -allusers *xboxapp* | Remove-AppxPackage Get-appxprovisionedpackage -online | where-object {$_.packagename -like "*xboxapp*"} | remove-appxprovisionedpackage -online
Now, how do i reinstall these apps or make windows 'ignore' the fact that they're not installed when i use sysprep?Code:2017-07-26 11:11:10, Error SYSPRP Package Microsoft.MicrosoftOfficeHub_17.8010.5926.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2017-07-26 11:11:10, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2017-07-26 11:11:10, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2017-07-26 11:11:10, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2017-07-26 11:11:10, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2017-07-26 11:11:10, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2 2017-07-26 11:11:10, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2017-07-26 11:11:10, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2