Jump to content


Provisionning package (ppkg) in upgrade TS ?

Recommended Posts

Hello everyone
After 4 days fighting with Upgrade task sequence, I don't know what to do anymore

As I can't use the custom Windows 10 image with OEM + Theme + Provisionned app removed in Upgrade task sequence I had to repeat the action within the Upgrade TS


I used the Provisioning packages for Windows 10 way, generated a PPKG & tried :

DISM /Online /Add-ProvisioningPackage /PackagePath:TOTO.ppkg
DISM /Image:%OSDISK%\ /Add-ProvisioningPackage /PackagePath:TOTO.ppkg
DISM.exe /Image=C:\  /Add-ProvisioningPackage /PackagePath:TOTO.ppkg

none working

So I tried the powershell way, executing my PS1 script from network share :

powershell.exe -ExecutionPolicy Bypass -Command ".\removedefaultapps.ps1"

 echo "Uninstalling default apps"
$apps = @(


foreach ($app in $apps) {
echo "Trying to remove $app"

Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online |
where DisplayName -EQ $app |
Remove-AppxProvisionedPackage -Online

Doesn't work
If I run them (script OR PPKG) AFTER the tasks sequence (once logged in inside the upgraded computer) then it's working fine !

Any idea ?


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...