PSA: Removing Windows 10 'Bloatware'

jbartus went on a bit of a rant said
20

I figured this probably warranted its own topic as many of the people likely to find it useful might not care to read the other Windows 10 thread.

With Windows 10 Microsoft included a large number of ‘features’ in the form of unsolicited apps, some can be removed (from your profile but not others) with a simple right click -> Uninstall whereas others cannot be removed so easily. Luckily, there is a way to remove most of these offending apps using the command line!

WARNING: Some of these are what some would describe as ‘core features’ of Windows like the Calculator, be sure to read over the various entries before removing them. One I would suggest keeping is the Store app (last in the script) as it’s the easiest way to get marketplace apps.

Removing Apps

To get rid of the bloatware, just do the following:

  1. Open the Start Menu.
  2. Type ‘PowerShell’ into the search.
  3. Look for ‘Windows PowerShell’ (NOT ISE) and right click on it.
  4. Run ‘Windows PowerShell’ as an Administrator
  5. Copy and paste the following commands (you can paste it all at once and it will run them in sequence) into the PowerShell window.:

If you only want to remove a couple of these apps just paste the individual lines into PowerShell or paste the entire thing into Notepad and remove the lines you don’t want before pasting it into PowerShell

Get-AppxPackage -allusers *3dbuilder* | Remove-AppxPackage
Get-AppxPackage -allusers *getstarted* | Remove-AppxPackage
Get-AppxPackage -allusers *zunemusic* | Remove-AppxPackage
Get-AppxPackage -allusers *zunevideo* | Remove-AppxPackage
Get-AppxPackage -allusers *xboxapp* | Remove-AppxPackage
Get-AppxPackage -allusers *candycrush* | Remove-AppxPackage
Get-AppxPackage -allusers *solitairecollection* | Remove-AppxPackage
Get-AppxPackage -allusers *sway* | Remove-AppxPackage
Get-AppxPackage -allusers *onenote* | Remove-AppxPackage
Get-AppxPackage -allusers *officehub* | Remove-AppxPackage
Get-AppxPackage -allusers *people* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsphone* | Remove-AppxPackage
Get-AppxPackage -allusers *messenging* | Remove-AppxPackage
Get-AppxPackage -allusers *messaging* | Remove-AppxPackage
Get-AppxPackage -allusers *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage -allusers *windowscamera* | Remove-AppxPackage
Get-AppxPackage -allusers *skypeapp* | Remove-AppxPackage
Get-AppxPackage -allusers *twitter* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsmaps* | Remove-AppxPackage
Get-AppxPackage -allusers *bingnews* | Remove-AppxPackage
Get-AppxPackage -allusers *bingfinance* | Remove-AppxPackage
Get-AppxPackage -allusers *bingsports* | Remove-AppxPackage
Get-AppxPackage -allusers *bingweather* | Remove-AppxPackage
Get-AppxPackage -allusers *photos* | Remove-AppxPackage
Get-AppxPackage -allusers *soundrecorder* | Remove-AppxPackage
Get-AppxPackage -allusers *windowscalculator* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsalarms* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsstore* | Remove-AppxPackage

I have tried to group them logically by category and likelihood to be something you want to keep. Personally I kept the Calculator, Sound Recorder, Photos, Weather, News, and Map apps on most client machines.

Reinstalling Apps

You have two options for reinstall, individual or wholesale.

Individual:

Get-AppxPackage -allusers "windowsstore" | Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”

Just change “windowsstore” to the matching name from the list above for the app you want to remove.

Wholesale:

Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

This will reinstall all default apps.

That’s about all there is to it, I hope some of you found this helpful. If you have any questions ask them here and I will do my best to answer them.


The enterprising among you might realize from this that you can probably succeed with doing the following:

Get-AppxPackage -AllUsers| Foreach {Remove-AppxPackage}

I do not recommend trying this. I haven’t tried it because there are over fifty default apps and other than the ones that clutter the start menu up I haven’t got a clue what the rest of them do and the potential for breaking something is pretty high. My commands above remove the clutter for the most part, anything more than that is going to risk breaking Windows 10 in some manner.