Forum Discussion

Greg Fleck's avatar
Greg Fleck
Copper Contributor
Oct 31, 2017

Removing UWP apps from the 1709 Build

Originally we were going with LTSB but decided to add more flexibility to our image by going with CB/CBB but the apps are annoying and reinforces all the reasons we started off with LTSB. There must be some easier ways to remove Games, XBOX and other apps/features that we don not want our end users to see or access?

14 Replies

    • Markus Klocker's avatar
      Markus Klocker
      Copper Contributor

      So with SCCM you possibly have a WSUS in place.

      I figured that the cmdlet "Get-WindowsCapability -online" symply fails and therefore "Quickassist" and "ContactSupport" can't be removedin 1709.

    • DiogoSousa's avatar
      DiogoSousa
      Iron Contributor

      Hello and greetings from Portugal!

      For me, the best way to completely get rid of the apps and make sure they don't appear again is by running a powershell script during custom image creation and removing both app and provisioned package.

       

      Here some examples for Windows 10 Enterprise:

      #Microsoft Bing Weather
        Remove-AppxPackage -Package Microsoft.BingWeather_4.21.2492.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName Microsoft.BingWeather_4.21.2492.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      
        #Microsoft Tips (Get Started)
        Remove-AppxPackage -Package Microsoft.Getstarted_5.11.1641.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName Microsoft.Getstarted_5.11.1641.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      
        #Microsoft Mail and Calendar
        Remove-AppxPackage -Package microsoft.windowscommunicationsapps_2015.8241.41275.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName microsoft.windowscommunicationsapps_2015.8241.41275.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      
        #Microsoft Messaging
        Remove-AppxPackage -Package Microsoft.Messaging_2017.815.2052.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName Microsoft.Messaging_2017.815.2052.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      
        #Microsoft Office Hub (Get Office)
        Remove-AppxPackage -Package Microsoft.MicrosoftOfficeHub_2017.715.118.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName Microsoft.MicrosoftOfficeHub_2017.715.118.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      
        #Microsoft Office OneNote
        Remove-AppxPackage -Package Microsoft.Office.OneNote_2015.8366.57611.0_neutral_~_8wekyb3d8bbwe | Out-Null
        Remove-AppxProvisionedPackage -PackageName Microsoft.Office.OneNote_2015.8366.57611.0_neutral_~_8wekyb3d8bbwe -Online | Out-Null
      • Clifton Hughes's avatar
        Clifton Hughes
        Former Employee

        Hi, were you able to use this script you referenced in your comment on Windows 10 1709?

  • Matthew Lane's avatar
    Matthew Lane
    Brass Contributor

    I created a group policy preference for the Computer

    Preferences>Windows Settings > Folders > and delete

    C:\Windows\SystemApps\ContactSupport_cw5n1h2txyewy

    C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy

    C:\Windows\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy

     

    etc....

     

     

     

  • For customers which use Intune, I setup the business store, added the apps you want to remove to this business storen and have them synced to Intune.
    In Intune assign the apps with status remove and soon after enrolling in Intune, Intune will remove the apps.

  • sjthoms121's avatar
    sjthoms121
    Copper Contributor

    Really the best way I have found is to mount the wim and remove those packages manually. No its not great but it works the best. Once you have it documented, it doesn't take too long. 

Resources