How to Uninstall Pre-Installed Apps in Windows 10 Using Powershell

 

Windows 10 comes pre-installed with a number of modern apps, including but not limited to Maps, People, Xbox, Photos, and Groove music. For these pre-installed apps, Windows 10 doesn’t provide any point-and-click way to uninstall them. But you can easily uninstall all those apps using a simple Powershell command. So, if you ever want to, here is how you can uninstall the Windows 10 modern apps either individually or as a whole.

Note:

  1. Before doing anything, consider creating a manual Restore Point so that you can roll back if anything bad happens.
  2. Although you can remove almost all of the preinstalled apps, some mandatory apps like Cortana, Edge browser, Contact support, Feedback, etc. cannot be removed.

Using Powershell, you can easily uninstall individual apps in Windows 10.

To start, search for PowerShell in your Start menu, right-click on it and select the option “Run as Administrator.” Alternatively, open the Command Prompt as administrator (press “Win + X” and then press “A”), type start powershell and press the Enter button.

uninstall-win10-apps-start-powershell

Once you are in the Powershell, use the below command to get a list of all the installed apps of the current user in your Windows 10 system.

If you want to get a list of all the apps of all the users, then use the below command.

In my case, I’m using the current user command so that I don’t mess up the other user account. As you can see, Powershell nicely lists all your apps with its short name and the full package name.

uninstall-win10-apps-list-of-all-installed-apps-min

Now, find the app you want to uninstall from the displayed list and jot down the name of the app from “PackageFullName.”

In my case, I want to uninstall the Xbox app, so the name of the app would be “Xboxapp.” Since we can use wildcards (*) before and after the app name in the Powershell, you don’t need the full package name as long as part of the app name is correct.

uninstall-win10-apps-find-app

Once you have the app name, paste the below command and press the Enter button to uninstall the app.

uninstall-win10-apps-individual-app-removed

Of course, modify the above command according to what app you want to remove. All you have to do is swap the app name between the wildcards (*) or just enter the full package name.

Besides the individual apps, if you just want to get rid of all the pre-installed apps, then you can do that as well. Just open the Powershell as administrator, paste the below command in it and press the Enter button.

The above action will initialize the uninstallation of all the pre-installed apps for all the users. The Powershell window may display a bunch of errors with bright red text all over the screen. Just don’t freak out, as it is displaying errors regarding the apps it cannot uninstall.

uninstall-win10-apps-powershell-app-removed

Once uninstalled, your Start menu will look more cleaner then ever.

uninstall-win10-apps-removed

3rd option is better in handy..

For anyone looking to prevent certain apps from installing for new users use this in a powershell admin console or script with admin rights (You can add or remove apps as you please. I intentionally left out the calculator and photo viewer. You may want to keep the store. I didn’t):

$Applist = Get-AppXProvisionedPackage -online

$Applist | WHere-Object {$_.packagename -like “*3DBuilder*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*Appconnector*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*BingFinance*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*BingNews*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*BingSports*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*BingWeather*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*CommsPhone*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*ConnectivityStore*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*Getstarted*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*Messaging*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*MicrosoftOfficeHub*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*MicrosoftSolitaireCollection*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*OneNote*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*Sway*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*People*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*SkypeApp*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*WindowsAlarms*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*WindowsCamera*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*windowscommunicationsapps*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*WindowsMaps*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*WindowsPhone*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*WindowsSoundRecorder*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*XboxApp*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*ZuneMusic*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*ZuneVideo*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*xbox*”} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like “*contact support*”} | Remove-AppxProvisionedPackage -online

4th Option

that’ll be easier in one line
Get-AppxProvisionedPackage –online | where {$_.packagename –notlike “*store*”} | Remove-AppxProvisionedPackage -online

5th Option

This below fix command is extremely disaster .. means once you execute this command it will wipe out all apps .

That being said, even though you’ve uninstalled all the apps for all the users, every time you create a new user, the default apps will be reinstalled for that new user. You can stop this default behavior of Windows by executing the below command in the Powershell.

It is that simple to remove pre-installed apps in Windows 10.

 

Bonus References

After removing all apps, rename “WindowsApps” folder in “C:\Program Files\” and remove particular app folder from “%userprofile%\appdata\local\Packages”.

How to Uninstall Pre-Installed Apps in Windows 10 Using PowerShell


https://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/#
https://www.askvg.com/guide-how-to-reinstall-all-default-built-in-apps-in-windows-10/

 

 

Leave a comment