1.    28 Aug 2015 #1
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    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 System SpecsSystem Spec

  2.    28 Aug 2015 #2
    Join Date : Oct 2013
    Posts : 15,600
    64-bit Windows 10 Pro build 14951


    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

    Apps - Uninstall in Windows 10
      My System SpecsSystem Spec

  3.    28 Aug 2015 #3
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    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 System SpecsSystem Spec

  4.    28 Aug 2015 #4
    Join Date : Oct 2013
    Posts : 15,600
    64-bit Windows 10 Pro build 14951

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

  5.    28 Aug 2015 #5
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    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 System SpecsSystem Spec


Similar Threads
Thread Forum
Windows Apps greyed out with Users folder relocated
During Windows 10 clean installation from bootable USB drive - using http://www.tenforums.com/tutorials/1964-users-folder-move-location-windows-10-a.html - I've relocated Users folder into D:\ directory. Operation went smooth but now I've...
Software and Apps
Uninstalling Windows 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.
Software and Apps
Disable a specific update or all updates for specific software
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...
Windows Updates and Activation
Setting the manual update of the Store apps for all users
Hi In Windows 10, how do I set the manual update of the Store apps for all users? Thanks Bye
Software and Apps
Desktop Apps in Windows 10 Store? Users Say Yes
Windows 10 News
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 15:30.
Find Us
Twitter Facebook Google+

Windows 10 Forums