SOLVED
Home

Retaining Removed Pre-Provisioned AppX Packages Across Feature Updates

%3CLINGO-SUB%20id%3D%22lingo-sub-72670%22%20slang%3D%22en-US%22%3ERetaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-72670%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20testing%20out%20using%20Servicing%20Plans%20within%20ConfigMgr%2C%20and%20upon%20rolling%20our%20first%201703%20Feauture%20Update%2C%20we%20have%20discovered%20that%20all%20the%20AppX%20packages%20we%20removed%20from%20our%201607%20builds%20seemed%20to%20have%20returned.%26nbsp%3B%20I%20thought%20I%20had%20read%20somewhere%20that%20starting%20with%201703%2C%20it%20would%20not%20reinstall%20what%20was%20removed.%26nbsp%3B%20Is%20this%20not%20the%20case%3F%26nbsp%3B%20This%20is%20truly%20frustrating%20from%20an%20Enterprise%20customer%20perspective.%26nbsp%3B%20We%20have%20no%20plans%20to%20roll%20out%20Xbox%2C%20or%20need%20the%20Get%20Office%20app%20as%20we%20already%20have%20office.%26nbsp%3B%20We%20can%20remove%20them%20again%20using%20required%20standing%20deployments%20with%20ConfigMgr%2C%20but%20we%20should%20not%20have%20to.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80883%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80883%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20you%20referring%20to%20an%20%22upgrade%20task%20sequence%22%3F%26nbsp%3B%20If%20so%20this%20is%20different%20than%20what%20I%20am%20referring%20to.%26nbsp%3B%20I%20am%20talking%20about%20when%20you%20are%20on%20a%20version%20of%20Win10%2C%20say%201607%2C%20and%20you%20are%20going%20to%201703%20using%20servicing%20plans.%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20257px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F16203i13C3AE3D18034C9D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SvcPlan.png%22%20title%3D%22SvcPlan.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20490px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F16204i07C493A4B433BE0A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22FeatureUpdate.png%22%20title%3D%22FeatureUpdate.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80699%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80699%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Eddie%2C%20we%20apply%20the%20feature%20update%20via%20ConfigManager%20update%20task%20sequence%20and%20are%20using%20the%20same%20customized%20wim%20for%20the%20update%20as%20for%20new%20installation%20(we%20still%20face%20to%20many%20issues%20after%20just%20applying%20the%20feature%20update%3A%20missing%20.net%203.5%3B%20language%20packs%2C%20Office%20needs%20to%20be%20repaired%2C...)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80688%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80688%22%20slang%3D%22en-US%22%3E%3CP%3ESigurd%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20I%20am%20aware%20and%20do%20that%20today.%26nbsp%3B%20My%20post%20is%20around%20the%20Feature%20Update%20(patch)%20that%20is%20pushed%2C%20not%20new%20installs.%26nbsp%3B%20It%20sounds%20like%20the%20fix%20is%20coming%20in%201709.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEddie%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80617%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80617%22%20slang%3D%22en-US%22%3E%3CP%3Eyou%20can%20also%20remove%20the%20unwanted%20apps%20in%20the%20install.wim%20directly%2C%20so%20just%20mount%20the%20wim%20and%20run%20the%20PowerShell%20against%20the%20mounted%20wim.%20The%20newly%20created%20wim%20can%20be%20used%20in%20new%20installations%20and%20upgrade%20sequences%2C%20so%20you%20have%20a%20consisten%20configuration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-78481%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-78481%22%20slang%3D%22en-US%22%3E%3CP%3ENathan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20already%20removing%20them%20as%20part%20of%20the%20task%20sequence%20for%20new%20builds.%26nbsp%3B%20The%20issue%20is%20with%20Feature%20Updates.%26nbsp%3B%20These%20are%20just%20installed%20as%20an%20update.%26nbsp%3B%20I%20have%20written%20two%20scripts%20to%20clean%20this%20up.%26nbsp%3B%20One%20machine%20script%20that%20will%20run%20after%20the%20FU%20to%20remove%20them%20from%20the%20system%2C%20and%20another%20user%20based%20in%20case%20someone%20logs%20on%20before%20the%20system%20script%20runs.%26nbsp%3B%20Pretty%20ugly.%26nbsp%3B%20Looking%20forward%20to%20not%20having%20to%20do%20this%20for%201709.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-74742%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-74742%22%20slang%3D%22en-US%22%3Eyou%20don't%20need%20to%20wait.%20you%20could%20workaround%20this%20now%20by%20using%20a%20post%20install%20action%20from%20SetupConfig.ini%20or%20modifying%20the%20install.wim%20with%20Remove-AppxProvisionedPackage%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fmniehaus%2F2016%2F08%2F23%2Fwindows-10-1607-keeping-apps-from-coming-back-when-deploying-the-feature-update%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fmniehaus%2F2016%2F08%2F23%2Fwindows-10-1607-keeping-apps-from-coming-back-when-deploying-the-feature-update%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-74368%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-74368%22%20slang%3D%22en-US%22%3E%3CP%3ENathan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20response.%26nbsp%3B%20Glad%20it%20is%20being%20addressed.%26nbsp%3B%20Have%20to%20say%20I'm%20surprised%20it%20wasn't%20addressed%20for%20enterprise%20customers%20first%2C%20or%20at%20least%20at%20the%20same%20time.%26nbsp%3B%20I'm%20really%20glad%20we%20haven't%20rolled%20out%20to%20more%20users%20yet%20as%20this%20is%20a%20pain%20to%20clean%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-74215%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-74215%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20upgrading%20to%20Windows%2010%2C%20v1703%20in-box%20apps%20that%20were%20uninstalled%20by%20the%20user%20won't%20automatically%20reinstall%20as%20part%20of%20the%20Feature%20Update%20installation%20process.%20(Apps%20de-provisioned%20by%20IT%20administrators%20will%20still%20be%20reinstalled%2C%20this%20is%20expected%20to%20be%20addressed%20in%20the%20next%20Feature%20Update)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73878%22%20slang%3D%22en-US%22%3ERe%3A%20Retaining%20Removed%20Pre-Provisioned%20AppX%20Packages%20Across%20Feature%20Updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73878%22%20slang%3D%22en-US%22%3EI%20would%20also%20be%20interested%20in%20hearing%20what%20Microsoft%20has%20to%20say%20about%20this...%3C%2FLINGO-BODY%3E
Eddie Leonard
Occasional Contributor

We are testing out using Servicing Plans within ConfigMgr, and upon rolling our first 1703 Feauture Update, we have discovered that all the AppX packages we removed from our 1607 builds seemed to have returned.  I thought I had read somewhere that starting with 1703, it would not reinstall what was removed.  Is this not the case?  This is truly frustrating from an Enterprise customer perspective.  We have no plans to roll out Xbox, or need the Get Office app as we already have office.  We can remove them again using required standing deployments with ConfigMgr, but we should not have to.  

9 Replies
I would also be interested in hearing what Microsoft has to say about this...
Solution

After upgrading to Windows 10, v1703 in-box apps that were uninstalled by the user won't automatically reinstall as part of the Feature Update installation process. (Apps de-provisioned by IT administrators will still be reinstalled, this is expected to be addressed in the next Feature Update)

Nathan,

 

Thanks for the response.  Glad it is being addressed.  Have to say I'm surprised it wasn't addressed for enterprise customers first, or at least at the same time.  I'm really glad we haven't rolled out to more users yet as this is a pain to clean up.

you don't need to wait. you could workaround this now by using a post install action from SetupConfig.ini or modifying the install.wim with Remove-AppxProvisionedPackage https://blogs.technet.microsoft.com/mniehaus/2016/08/23/windows-10-1607-keeping-apps-from-coming-bac...

Nathan,

 

I'm already removing them as part of the task sequence for new builds.  The issue is with Feature Updates.  These are just installed as an update.  I have written two scripts to clean this up.  One machine script that will run after the FU to remove them from the system, and another user based in case someone logs on before the system script runs.  Pretty ugly.  Looking forward to not having to do this for 1709.

you can also remove the unwanted apps in the install.wim directly, so just mount the wim and run the PowerShell against the mounted wim. The newly created wim can be used in new installations and upgrade sequences, so you have a consisten configuration.

Sigurd,

 

Thanks, I am aware and do that today.  My post is around the Feature Update (patch) that is pushed, not new installs.  It sounds like the fix is coming in 1709.

 

Eddie

Hey Eddie, we apply the feature update via ConfigManager update task sequence and are using the same customized wim for the update as for new installation (we still face to many issues after just applying the feature update: missing .net 3.5; language packs, Office needs to be repaired,...)

Are you referring to an "upgrade task sequence"?  If so this is different than what I am referring to.  I am talking about when you are on a version of Win10, say 1607, and you are going to 1703 using servicing plans.

 SvcPlan.pngFeatureUpdate.png

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Discussion - Updating our interface with Fluent touches
Elliot Kirk in Discussions on
102 Replies