/build/static/layout/Breadcrumb_cap_w.png

Systems Deployment Question


Removing Bloatware/Default Add ins - Windows 10 Pro

09/27/2017 3367 views

Hey Guys,

I am having some trouble not with removing the apps, but replicating across all new accounts. When I use test domain accounts, the applications reinstall and show via a folder in the start menu called 'Other' and each app appears as 'ms-resource://Microsoft.getstarted...'. About 15 of these depending on the name of the app. See pic below:

MgNIYt.png

I have been using Powershell commands to remove these apps (get-appxpackage -allusers | remove-appx ; get-appxpackage -allusers | remove-appx -allusers ; get-appxpackage *appname* -allusers | remove appx-package; get-appxprovisionedpackage -online | remove-appxprovisionedpackage -online).

I have deleted app keys from the appx manifest in the registry, disabled the WindowsStore auto-download for apps. However, each user I test with sees the messages above or something similar.

Has anyone been successful in removing the bloatware or replicating such changes across all or at least all new accounts?

Thanks, Mark


Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

1
I will not consider those bloatware, when using Powershell to remove apps, you have to be careful not to delete key provisioned apps, or else you will have deployment issues and sysprep issues.

You would want to Remove most provisioned apps and keep basic tools:

#Remove Most Provisioned Apps - Keep Basic Tools
Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -notlike "*windows*"} |Where-Object {$_.PackageName -notlike "*store*"} | Remove-AppxProvisionedPackage -Online

#Remove Most Apps - Keep Basic Tools
Get-AppxPackage -AllUsers  | Where-Object {$_.PackageFullName -notlike "*windows*"} |Where-Object {$_.PackageFullName -notlike "*store*"} |Remove-AppxPackage

I use this to prepare our golden images, as you can see I am trying to avoid messing with any App "windows" or "store" labeled.

When you run them, it is normal to see some errors, powershell must be in Elevated rights.

Remember provisioned apps are not the same as regular apps.
See: https://blog.danic.net/provisioned-apps-in-windows-10-pro/
Answered 09/28/2017 by: Channeler
Red Belt

  • Great, thanks for your advice. I will give this a go and see how it goes.
    So you would run these commands in admin, then sysprep and capture? And this then applies these changes to the default profile? Or if there anything else I need to modify so that this applies to the default profile?
    That link was very helpful also, thanks.
    • Correct, once your golden image is ready, open Poweshell with admin rights, and run those two commands.
      then Sysprep
      then capture the image

      It should affect that user and any other that logs in.
      • The commands above worked really well after capturing the image, thanks a mil.
        Have you any tips for removing the Microsoft 'Calendar' and 'Mail' or will this interfere with sysprep? We use Exchange and ideally would like to have these removed. However, we could do it when users log in for the first time.
        I have tried and while removing them doesn't break sysprep, the apps were there after capturing. Thanks again.
      • @maherfed I have not tried to remove those two, I think they are part of the OS.

        If you are joined to a domain, you can push GPO policies to disable the mail app

        https://social.technet.microsoft.com/Forums/windows/en-US/53dbf5a2-69b7-4ba0-b030-28aeee8c94ec/windows-10-mail-disable-via-gpo-not-working?forum=win10itprosetup
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ