none
1703 restore hidden apps

    Question

  • hi all,

    what's the best way to remove apps!

    we remove apps with dism. This is good for new user. But after 1703 upgrade user see all removed apps.

    New we think we can't remove it with a batchfile and dism but we have a timing problem. 

    1. upgrade 1703,

    2. the reboot (batchfile with DISM take too long) and user logged in and user has bad apps.



    Chris

    Tuesday, April 18, 2017 4:51 PM

Answers

  • Now we make a new way. with 1703 it works fine

    powershell "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
    powershell "Get-AppxPackage *3DViewer* | Remove-AppxPackage"
    powershell "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
    powershell "Get-AppxPackage *Messaging* | Remove-AppxPackage"
    powershell "Get-AppxPackage *OfficeHub* | Remove-AppxPackage"
    powershell "Get-AppxPackage *SolitaireCollection* | Remove-AppxPackage"
    powershell "Get-AppxPackage *OneNote* | Remove-AppxPackage"
    powershell "Get-AppxPackage *xbox* | Remove-AppxPackage"
    powershell "Get-AppxPackage *skype* | Remove-AppxPackage"
    powershell "Get-AppxPackage *wallet* | Remove-AppxPackage"
    powershell "Get-AppxPackage *communicationsapps* | Remove-AppxPackage"
    powershell "Get-AppxPackage *oneconnect* | Remove-AppxPackage"
    powershell "Get-AppxPackage *people* | Remove-AppxPackage"
    powershell "Get-AppxPackage *feedback* | Remove-AppxPackage"
    powershell "Get-AppxPackage *store* | Remove-AppxPackage"


    Chris

    • Marked as answer by -- Chris -- Wednesday, April 19, 2017 7:32 AM
    Wednesday, April 19, 2017 7:32 AM

All replies

  • Hi Chris,

    Yes, that's the normal behavior by design.

    And it has be improved in Windows 10 1703 version and later.

    Please upgrade all your computer to Windows 10 1703 and then remove the apps via the DISM command.

    Afterwards, any upgrade or updates you pushed, it will keep those apps removed status.


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

    Wednesday, April 19, 2017 1:44 AM
    Moderator
  • Karen,

    thanks for answer.

    We have no SCCM for Windows 10 deployment. We use WSUS. But if we update to 1703 and reboot (DISM take to long) user logged on and Windows 10 upgrade his Profile!!!


    Chris

    Wednesday, April 19, 2017 5:29 AM
  • Now we make a new way. with 1703 it works fine

    powershell "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
    powershell "Get-AppxPackage *3DViewer* | Remove-AppxPackage"
    powershell "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
    powershell "Get-AppxPackage *Messaging* | Remove-AppxPackage"
    powershell "Get-AppxPackage *OfficeHub* | Remove-AppxPackage"
    powershell "Get-AppxPackage *SolitaireCollection* | Remove-AppxPackage"
    powershell "Get-AppxPackage *OneNote* | Remove-AppxPackage"
    powershell "Get-AppxPackage *xbox* | Remove-AppxPackage"
    powershell "Get-AppxPackage *skype* | Remove-AppxPackage"
    powershell "Get-AppxPackage *wallet* | Remove-AppxPackage"
    powershell "Get-AppxPackage *communicationsapps* | Remove-AppxPackage"
    powershell "Get-AppxPackage *oneconnect* | Remove-AppxPackage"
    powershell "Get-AppxPackage *people* | Remove-AppxPackage"
    powershell "Get-AppxPackage *feedback* | Remove-AppxPackage"
    powershell "Get-AppxPackage *store* | Remove-AppxPackage"


    Chris

    • Marked as answer by -- Chris -- Wednesday, April 19, 2017 7:32 AM
    Wednesday, April 19, 2017 7:32 AM
  • Use the SetupConfig.ini file to run a post script to cleanup your OS after the 1703 upgrade.

    Here is some more info on how to do this:

    http://joseespitia.com/2017/06/01/how-to-run-a-post-script-after-a-windows-10-feature-upgrade/


    Thursday, June 1, 2017 9:22 PM