Remove apps from Windows 10

Installed vs. provisioned apps

To make a long story short there are different types of Windows 10 “Apps”, as explained here. When we talk about pre-installed apps, such as Candy Crush or Bing Weather, we are either talking about “provisioned apps” or “installed apps”. So what is the difference?

Provisioned apps

As Microsoft put’s it, provisioned apps are “installed the first time you sign into Windows. They lurk in the background and is only installed when a new user account is made. Generally these apps only include Windows original apps such as “Alarms & Clock”, Calculator, or “Paint 3D”.

Installed apps

As Microsoft put’s it, installed apps are “installed as part of the OS”. These apps can be uninstalled through the UI. Here are some examples: Remote Desktop, PowerBI, Code Writer, Eclipse Manager, Pandora, Photoshop Express, Duolingo, Network Speed Test and Paid Wi-FI.

App suggestions

It is also worth mentioning that you might spot some apps in Start that are neither of these two categories. This is because they are “app suggestions” which means that they are only installed once you click on them. If you have activated windows you can turn off this feature.


List apps in Windows 10

List provisioned apps for all users:

Get-AppxProvisionedPackage -Online | Select DisplayName, PackageName

List not-provisioned apps for all users:

Get-AppxPackage -AllUsers | Select Name, PackageFullName

List not-provisioned apps for all users (except system vital apps):

Get-AppxPackage -AllUsers | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | select PackageFullName

List not-provisioned apps for a spesific user:

Get-AppxPackage –User UserName | Select Name, PackageFullName

Remove apps one by one

Remove a spesific provisioned app (for all users):

Remove-AppXProvisionedPackage -Online -PackageName <PackageName>

Microsoft.Microsoft3DViewer_3.1802.26012.0_neutral_~_8wekyb3d8bbwe is the an example of a PackageName.

Remove any provisioned package that contains e.g Print3D (for all users):

Get-AppxProvisionedPackage -online | where-object {$_.packagename -like "*Print3D*"} | Remove-AppxProvisionedPackage -online

Remove specific not-provisioned app (from current user):

Get-AppxPackage *BubbleWitch3Saga* | Remove-AppxPackage

Remove a not-provisioned app (from all users):

Get-AppxPackage -allusers *BubbleWitch3Saga* | Remove-AppxPackage

Remove all apps, but keep some

It would probably make more sense to white list the apps you actually want to have installed and remove the rest with a PowerShell command that removes all apps that so not match your criteria.

Remove most* provisioned apps (for all users):

Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$_.packagename -notlike "*Microsoft.StorePurchaseApp*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCamera*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | Remove-AppxProvisionedPackage -online

*This will leave Windows Store, Windows Camera, StorePurchaseApp, Windows Store, StickyNotes, Windows Calculator and apps that ensure good system performance.

Remove most* regular apps (all users):

Get-AppxPackage -AllUsers | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | where-object {$ -notlike "*Microsoft.WindowsStore*"} | where-object {$ -notlike "*Microsoft.WindowsCamera*"} | where-object {$ -notlike "*Microsoft.StorePurchaseApp*"} | where-object {$ -notlike "*Microsoft.WindowsStore*"} | where-object {$ -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$ -notlike "*Microsoft.WindowsCalculator*"} | where-object {$ -notlike "*Microsoft.MicrosoftEdge*"} | Remove-AppxPackage 

*This will leave Windows Store, Windows Camera, StorePurchaseApp, Windows Store, StickyNotes, Windows Calculator, Edge and apps that ensure good system performance.

Make sure to reboot as some apps will have leftovers in the Start Menu.

Remove all apps

If you really just want to remove all apps (including Windows Store) you can use the commands below.

Remove all not-provisioned apps from all users:

Get-AppxPackage -allusers | Remove-AppxPackage

Remove all provisioned apps (for all users):

Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online

Warning: This command also “unprovisions” the Windows Store app.
{: .notice–danger}

Cortana, Edge and Windows Feedback cannot and should not be removed from Windows 10.
{: .notice–warning}

Apps are gone, but still got Candy Crush in Start?

If you have checked that the app is not in the list of provisioned apps, installed apps or in the Apps & Features list then it is most likely just a leftover start menu item, even if it says that you can uninstall it. You can use Jose Espitias way of making a default start menu for new users.

Here is a basic one:

<LayoutModificationTemplate xmlns:defaultlayout="" xmlns:start="" Version="1" xmlns="">
  <LayoutOptions StartTileGroupCellWidth="6" />
      <defaultlayout:StartLayout GroupCellWidth="6">
        <start:Group Name="">
          <start:Tile Size="4x2" Column="0" Row="2" AppUserModelID="Microsoft.WindowsStore_8wekyb3d8bbwe!App" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
          <start:Tile Size="2x2" Column="0" Row="0" AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />

It looks like this:

alt text

Put it in: C:\Users\Default\AppData\Local\Microsoft\Windows\Shell and name it DefaultLayouts.xml

This will only work for new users. If you already have a user you will have to cleanup yourself.

App suggestions in Start

If you still see some dirt make sure you have turned off App Suggestions in Start. It may only be symbolic tiles.

To turn off app suggestions you will have to activate Windows. Then go to Settings -> Personalization -> Start -> Occasionally show suggestions in Start. Or you can use the command:

reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d "0" /f

You can also “Turn off Microsoft consumer experiences” in gpedit.msc but Iam not sure what the difference is. You can do this by going to Computer Configuration > Administrative Templates > Windows Components > Cloud Content. Enable the “Turn off Microsoft consumer experiences” policy here. You’ll have to sign out and sign back in after making this change.

So how can you tell a “app suggestion” from an app that is actually installed on the computer?

Easy, just open “Apps & features”. The apps installed will display there, the suggested apps will not. Note that the installed apps will not be displayed in the classic control panels “Programs and Features”.