none
SYSPRP Package <PackageName> installed for a user, but not provisioned for all users

    Question

  • Hi,

    I have a fresh install of Windows 10 Pro on a new VM which im using as a reference machine for imaging. After my installs and customizations, i tried SysPreping the machine using the OOBE and Generalize option, but im getting the following error:

    2017-03-16 15:30:03, Error                 SYSPRP Package Facebook.Facebook_81.789.17803.0_x86__8xx8rvfyw5nnt was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
    2017-03-16 15:30:03, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
    2017-03-16 15:30:03, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
    2017-03-16 15:30:03, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2017-03-16 15:30:03, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2017-03-16 15:30:03, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2017-03-16 15:30:03, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2017-03-16 15:30:03, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

    I followed KB Article 2769827. The article suggests locating the offending app, and remove it. In my case - as you can see from the above error - its complaining about "Facebook.Facebook_81.789.17803.0_x86__8xx8rvfyw5nnt". The only problem is, i dont have this app. If i try to remove it, it says "Package was not found" (see screenshot below). What else might be wrong?

     



    • Edited by JoeOs Thursday, March 16, 2017 8:00 PM
    Thursday, March 16, 2017 7:59 PM

All replies

  • Hi Joe,

    Please confirm if your package full name is correct.

    As the KB Article 2769827, run the following command to get the exact package name

    Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation.

    After that, run one of the following command to remove the package or provision package.

    Run Remove-AppxPackage -Package <packagefullname>

    Remove the provisioning by running the following cmdlet:

    Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, March 17, 2017 2:09 AM
    Moderator
  • Hi Karen,

    My apologies, but i forgot to mention. I ran the Get-AppxPackage command, but i did not see anything "Facebook". I only saw a list of Microsoft applications.

    I ended up creating a new source VM which SysPrep'd w/o a problem. I dont know what the issue was. I had originally thought that I had caused it by removing the user under which i installed all apps (as well as the default0 user), and ran Sysprep using the Built-In Administrator. However, i duplicated this scenario on the new VM and i did not get any errors during the Sysprep process. 

    • Proposed as answer by pinni3 Tuesday, October 10, 2017 7:14 PM
    • Unproposed as answer by pinni3 Tuesday, October 10, 2017 7:14 PM
    Friday, March 17, 2017 6:58 PM
  • If the VM has internet access, an application may have installed in the background. Why it doesn't show up with Get-AppxPackage is a puzzling.

    Is the main account tied to any Microsoft Live accounts that the application could have been drawn in from?


    Sean Liming - Book Author: Starter Guide Windows 10 IoT Enterprise - www.annabooks.com / www.seanliming.com

    Friday, March 17, 2017 8:20 PM
  • Hello,

    the same problem with facebook app. Any solution?

    • Proposed as answer by cadeijon Thursday, October 26, 2017 4:36 PM
    Thursday, May 18, 2017 12:44 PM
  • Hi

    Open the PowerShell Command with Admin Rights. Excecute the follow command:

    Get-AppxPackage|Remove-AppxPackage

    At this point the system remove the Apps that cause the Problem. You receive also many Issuereports, but this in't a problem. After that you can capture whitout prolem yout Image.

    Happy SCCM

    • Proposed as answer by Ryan Stein Thursday, July 20, 2017 1:21 PM
    Monday, May 22, 2017 12:57 PM
  • Hi

    Open the PowerShell Command with Admin Rights. Excecute the follow command:

    Get-AppxPackage|Remove-AppxPackage

    At this point the system remove the Apps that cause the Problem. You receive also many Issuereports, but this in't a problem. After that you can capture whitout prolem yout Image.

    Happy SCCM

    This has been plaguing me ever since I started using MDT to deploy Windows 10 about a year ago.  Thank you!  This worked for me.  I had to run the command by logging into each user that I had set up prior to image capture.  After running the command I was able to sysprep and capture.  All that research I did and nothing I found mentioned such a simple command.

    Thursday, July 20, 2017 1:25 PM
  • This was extremely helpful. Thank you so much - 
    Monday, May 7, 2018 3:30 PM
  • Did you also get a lot of error codes while running this command?
    Wednesday, May 23, 2018 9:23 AM
  • Yes.  I got lots of error messages, but it worked regardless.   I'd been demoralized by this problem for more than a year now.  Running this Powershell command from each of the locally staged users (as an admin) fixed the issue completely for me.  THANK YOU.
    Saturday, August 11, 2018 12:04 AM