Windows 10: Uninstalling Specific Apps for All Users

  1.    28 Aug 2015 #1

    Uninstalling Specific Apps for All Users

    Hey guys,

    I am interested in setting up some company-wide commands to remove a lot of the built-in crap from Windows 10. Employees don't need to be using the Xbox app, and we don't need Get Office, Get Skype etc as we already have those installed using the administrator account before the user logs in.

    I was looking at Brink's useful tutorial here, and the option that would pertain to this is "To uninstall all Windows apps for only new added accounts afterwards"

    I notice that uses Get-AppXProvisionedPackages instead of just Get-AppxPackage.

    The thing is, I don't want to remove *all* the apps, some of them are actually useful, such as the photo gallery and calculator. I'd rather specify them manually...

    I did some tinkering around with Remove-AppxProvisionedPackage, but cannot get it to work. I get errors similar to this:
    Click image for larger version. 

Name:	WUf0sy3.png 
Views:	3 
Size:	38.7 KB 
ID:	34390

    Can somebody help me do this? Or is it simply not possible in Windows 10? I know there was a way to do it in 8 and 8.1, as I found some TechNet blog articles about it, with examples.

    Related question: can PowerShell commands be deployed over Group Policy? I know you can do cmd ones, and we already have a cmd file that's executed when the user logs on for the first time.
    If not, I can just make a note to do it using the admin account before joining the domain.
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 33,021
    64-bit Windows 10 Pro build 18252
       28 Aug 2015 #2

    Hello, :)

    It looks like you didn't include the PackageFullName for the app in the command using step 4 in OPTION THREE below.

    remove-AppxProvisionedPackage PackageFullName
      My ComputersSystem Spec

  3.    28 Aug 2015 #3

    Ah, OK. I was thinking you needed that -online flag...

    I also found this via some searching:
    Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*officehub*”} | remove-appxprovisionedpackage –online

    That seems to work too.

    Question about the package names: do they change based on hardware or is it always the same? If the packages get new versions as they get updated, it might be safer to search for it, no?
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 33,021
    64-bit Windows 10 Pro build 18252
       28 Aug 2015 #4

    The package name is based on the app itself. Usually, it'll stay the same for the app after updates though.
      My ComputersSystem Spec

  5.    28 Aug 2015 #5

    Is there any harm in using the search method though?

    Also, is there an equivalent to a .bat file for PowerShell commands? I know you can save it as a certain type of script, but then that has to be imported and it's a bit of a pain.

    Edit: never mind. I found out how to deploy a PowerShell script over Group Policy.
    Last edited by drfsupercenter; 31 Aug 2015 at 11:47.
      My ComputerSystem Spec


Related Threads
During Windows 10 clean installation from bootable USB drive - using - I've relocated Users folder into D:\ directory. Operation went smooth but now I've...
Uninstalling Windows apps in Software and Apps
Hello guys, how can I uninstall all these apps I don't need? The tutorial Apps - Uninstall in Windows 10 - Windows 10 Forums is not working. As the folder of the app actually remains.
I have been regularly receiving an update titled "Hewlett-Packard - Imaging - Null Print - HP Deskjet 3510 series" that is for my printer. After attempting the update it always displays Error 0x8024200b. I do not need this update, and would like it...
Hi In Windows 10, how do I set the manual update of the Store apps for all users? Thanks Bye
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:22.
Find Us