Sysprep fails because of non-provisioned appxpackage


  1. Posts : 4
    Windows 10
       #1

    Sysprep fails because of non-provisioned appxpackage


    I have installed Windows 10 on a new computer.
    On this computer I have just install driveres, but one driver also installs an app. When I sysprep the system it fails because the app is not provisioned for all users.

    How do I provision that app for all users so I can run sysprep without having to uninstall that app?
      My Computer


  2. Posts : 2,450
    Windows 10 Pro x64
       #2

    webnoob said:
    I have installed Windows 10 on a new computer.
    On this computer I have just install driveres, but one driver also installs an app. When I sysprep the system it fails because the app is not provisioned for all users.

    How do I provision that app for all users so I can run sysprep without having to uninstall that app?
    Hi and welcome to TenForums!

    In an elevated PowerShell type the command:

    Code:
    Get-AppXPackage -AllUsers | Where-Object {$_.InstallLocation -like "<NAME>*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}
    where <NAME> = the name (or part of it) of the app you want to provision

    Check this tutorial for further information.
      My Computer


  3. Posts : 4
    Windows 10
    Thread Starter
       #3

    After running your command sysprep still fails.
    I have this entry in the sysprep log
    2018-06-25 15:35:52, Error SYSPRP Package RealtekSemiconductorCorp.RealtekAudioControl_1.1.109.0_x64__dt26b99r8h8gj was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
      My Computer


  4. Posts : 2,450
    Windows 10 Pro x64
       #4

    webnoob said:
    After running your command sysprep still fails.
    I have this entry in the sysprep log
    2018-06-25 15:35:52, Error SYSPRP Package RealtekSemiconductorCorp.RealtekAudioControl_1.1.109.0_x64__dt26b99r8h8gj was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
    Check this Microsoft article and see if it can help you.
      My Computer


  5. Posts : 4
    Windows 10
    Thread Starter
       #5

    I cannot use that article. I want to keep to app so I need to know how to provision the app to all users. Keep in minde it is not an app installed from the store, it is an app installed with the realtek audio driver.
      My Computer


  6. Posts : 1
    Windows 10
       #6

    Did you ever find a solution?

    I'm having the same problem with a Lenovo M710q desktop. Bad part is, it's the Microsoft driver from Windows Update that is breaking it. I've installed a fresh version of Win10 1803, ran Windows Update and (installed No other software or drivers), and sysprep will fail with same error.
      My Computer


  7. Posts : 4
    Windows 10
    Thread Starter
       #7

    No solution yet.
      My Computer


  8. Posts : 1
    Windows 10 Pro
       #8

    DerbyDale said:
    Did you ever find a solution?

    I'm having the same problem with a Lenovo M710q desktop. Bad part is, it's the Microsoft driver from Windows Update that is breaking it. I've installed a fresh version of Win10 1803, ran Windows Update and (installed No other software or drivers), and sysprep will fail with same error.
    DerbyDale, I had the same problem with the M710q. You can remove the app. Go to Settings|Apps, click on the app and click Uninstall. I think uou'll have to do this for all users so if you have more than one profile on the computer, you'll have to log in as each user and do the same thing.
      My Computer


  9. Posts : 15,442
    Windows10
       #9

    Sysprep is a PITA with Windows 10, as you nearly always need to uninstall 3rd party apps either via uninstall commands, or powershell commands.

    In the end, it is easier to just uninstall them and reinstall afterwords in most cases.

    TBH, there is barely any need to sysprep a Windows 10 installation (as was usually needed for Windows 7) as W10 is very good at resolving drivers.

    You can take a drive from one pc, put it in a new one and nine times out of 10, it just works even with massive hardware differences (e.g. intel to smd, different graphics cards etc.)

    So why are you sysprepping anyway?
      My Computer


 

  Related Discussions
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 06:35.
Find Us




Windows 10 Forums