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 :
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
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 = @( "Microsoft.3DBuilder" "Microsoft.Getstarted" "Microsoft.Messaging" "Microsoft.Microsoft3DViewer" "Microsoft.MicrosoftOfficeHub" "Microsoft.MicrosoftSolitaireCollection" "Microsoft.MicrosoftStickyNotes" "Microsoft.Office.OneNote" "microsoft.windowscommunicationsapps" "Microsoft.OneConnect" "Microsoft.People" "Microsoft.SkypeApp" "Microsoft.StorePurchaseApp" "Microsoft.WindowsFeedbackHub" "Microsoft.WindowsPhone" "Microsoft.WindowsStore" "microsoft.windowscommunicationsapps" "Microsoft.XboxApp" "Microsoft.XboxGameOverlay" "Microsoft.XboxIdentityProvider" "Microsoft.XboxSpeechToTextOverlay" "Microsoft.ZuneMusic" "Microsoft.ZuneVideo" ) 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 ?
Thanks
Antoine
Share this post
Link to post
Share on other sites