Windows 10: sysprep errors after removing windows 10 apps Solved


  1. Posts : 6
    Xubuntu 16.04.02
       26 Jul 2017 #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:
    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 sysprep gives me these errors:
    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
    Now, how do i reinstall these apps or make windows 'ignore' the fact that they're not installed when i use sysprep?
      My ComputerSystem Spec


  2. Posts : 6
    Xubuntu 16.04.02
    Thread Starter
       31 Aug 2017 #2

    no solution, started modifying from the beginning
      My ComputerSystem Spec


 

Related Threads
Hello, I am trying to create a Windows 10 image using an unattend file and sysprep. When I run the command below: sysprep.exe /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml After which I get an error message...
Sysprep errors in Installation and Upgrade
I'm using an upgraded version of Windows 10, and I'm trying to do a sysprep on it. I've already completed the registry changes needed, but I'm still getting errors. If I could get some help on figuring out what needs to be done to fix it, that would...
Has anyone else seen that when sysprepping build 1067, the user you ran sysprep from has broken windows app shortcuts. Some do not have pictures and when you click on the shortcut, the system does nothing. I also niticed that after leaving the...
Hi Everyone, I'm superlulu from France (sorry my English) I'm installing Windows 10 on new computer for my organization . I try to configurate one with fresh install (package of apps like Libreoffice, VLC, etc. for users) and custom desktop...
Hey everyone, I was wondering if anyone that has more experience and knowledge on W10 presently could shed some light for me. :) Right now there are only a few items(apps) that you can remove, like XBOX (for people that don't have it), news,...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:26.
Find Us