How to Uninstall Windows 11 Default Apps Using PowerShell

4 Ways to Uninstall Windows 11 Apps With PowerShell (& Alternatives)

Reading time icon 7 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • To uninstall system apps from your computer, you must run the Windows PowerShell app with administrator privileges.
  • The guide mentions the commands to remove apps from a specific user account, all user profiles, or a new user account.
remove Windows 11 apps PowerShell
A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Windows 11 has many pre-installed apps, including Mail, Cortana, Phone Link, Xbox, and Weather. These built-in apps could be helpful for some but can act as bloatware for others.

In this guide, we will discuss removing these default Windows apps using a single command via Windows PowerShell to declutter your Windows 11 devices.

How do I uninstall Windows 11 apps using PowerShell?

Before proceeding with any steps for uninstalling the program, go through the following preliminary checks:

1. Get the list of apps

  1. Press the Windows key, type powershell, and click Run as administrator to launch Windows Terminal as PowerShell.Powershell 2 remove Windows 11 apps powershell
  2. On the Windows Terminal window, type the following command to list all apps, including third-party apps and system apps on your Windows 11 computer, and press Enter: Get-AppxPackage powershell_Get-AppxPackage remove apps on Windows 11
  3. You will get the list of installed apps with details such as Name, FullPackageName, Publisher, Version, InstallLocation, Architecture, ResourceId, and more.
  4. In case you don’t want to get all the details but just the name and full package name for the program installed for the current user profile, copy & paste the following command and hit Enter: Get-AppxPackage | Select Name, PackageFullNameGet-AppxPackage | Select Name, PackageFullName
  5. Type the following command to get the list of apps for the specific user after replacing Name with the user account name, and press Enter: Get-AppXPackage -User NAME | Select Name, PackageFullName
  6. To get the list of apps for all the user profiles, copy & paste the following command and hit Enter: Get-AppxPackage -AllUsers

2. Uninstall an app

To uninstall an app, you need either the AppName or the PackageFullName, and to find that follow these steps:

  1. Once you get the list of apps, you can go to the title bar of the Windows Terminal window, right-click and select Edit, then Find.Edit, then Find remove apps Windows 11 PowerShell
  2. On the Find dialog box, type the app name you want to uninstall and click Find Next. The app name will be highlighted, locate PackageFullName, and copy down the value in front of it.powershell_Find Next.

Now that you have the AppName or PackageName handy check out the commands to delete system apps:

  1. Type the following command and replace the PackageFullName with the value you copied or saved to uninstall a single app and press Enter: Remove-AppxPackage <PackageFullName>Get-AppxPackage | Remove-AppxPackage Powershell Windows 11 remove apps
  2. If you want to remove the program from the current user account, copy & paste the following command after replacing the App_Name with the name of the app and hit Enter: Get-AppxPackage <App_Name> | Remove-AppxPackagepowershell_Get-AppxPackage | Remove-AppxPackage
  3. To remove the app from all the user accounts on your computer, type the following command after replacing [App Name] with the name of the app, and press Enter: Remove-AppxPackage -allusers [App Name]
  4. If you don’t want a system app to preload in a new user account on Windows 11, type this command after replacing the AppName with the application name and hit Enter: Get-AppxProvisionedPackage –online | where-object {$_.packagename –like "AppName"} | Remove-AppxProvisionedPackage –onlinedoesnt load pre-installed apps on a new user account

3. Delete all system apps

  1. Copy & paste the following command to remove all the pre-installed apps from the current user on Windows 11 using single command and press Enter: Get-AppxPackage | Remove-AppxPackagepowershell_7Get-AppxPackage | Remove-AppxPackage Deleting all system apps on Windows 11
  2. To uninstall all the system apps from all the user profiles, type the following command and hit Enter: Get-AppxPackage -allusers | Remove-AppxPackagepowershell_uninstall app from all user account
  3. If you want to delete all the default apps from a specific user account, use this command after replacing the <Username> with the user account name and hit Enter: Get-AppxPackage -user | Remove-AppxPackage

4. Use Wildcards to uninstall multiple programs from the same publisher

If you don’t want to look for an app name in the list or want to delete multiple programs from the same keyword, you can use wildcards (*) and add a keyword in the command.

  1. Type the following command after replacing the common word with the keyword, and hit Enter: For example, if you want to remove all apps related to Web experience, you use it as a keyword. Get-AppxPackage *Common word* | Uninstall-Packagepowershell_remove an app Windows 11
  2. To remove them from a user account, copy & paste the following command after replacing <UserName> with the account’s name, AppName with the app’s name or keyword with wildcards, and press Enter: Get-AppxPackage -user <UserName> <AppName> | Remove-AppxPackagepowershell_wildcards
  3. To uninstall apps from all accounts, type the following command after replacing the <AppName> with the app name or keyword with wildcards and hit Enter: Get-AppxPackage -alluser <AppName> | Remove-AppxPackage

While removing multiple apps, sometimes your Windows PowerShell may not stop responding, so to prevent that, make sure you don’t launch any other resource-intensive apps simultaneously.

How do I use the DISM command to uninstall apps?

  1. Press the Windows key, type powershell, and click Run as administrator.Powershell 2 remove Windows 11 apps powershell
  2. To get the list of system apps on your computer, type the following command and hit Enter: DISM /Online /Get-ProvisionedAppxPackages | select-string Packagenamepowershell_use the DISM command to uninstall apps
  3. Locate the bloatware you want to remove, note down the PackageName, then copy & paste the following command after replacing PACKAGENAME with the name you copied and press Enter: DISM /Online /Remove-ProvisionedAppxPackage /PackageName:PACKAGENAMEpowershell_remove apps Windows 11 DISM command

How can I remove apps using the Winget command?

  1. Press the Windows key, type store, and click Open to launch Microsoft Store.Microsoft Store -
  2. Go to the Search bar, type app installer, and check if it is installed. If not, click Get. GET App installer
  3. Once installed, press the Windows key, type command prompt, and click Run as administrator.CMD elevated remove Windows 11 apps PowerShell
  4. Copy & paste the following command to get the list of all apps installed on your device, and hit Enter: winget listcmd_winget list
  5. If prompted to agree on the terms, type Y to proceed. Once you get the list, locate the app you want to remove and copy the app name.
  6. Type the following command after replacing AppName with the app’s name and press Enter: Winget uninstall AppNamecmd_remove apps Windows 11 winget
  7. If there are other apps with the same name as the app you try to uninstall, you should note the ID instead of the name. Copy & paste the following command to replace the ApplicationID with the one you noted down and hit Enter: winget uninstall --id=ApplicationIDcmd_Use ID on Windows 11 to remove apps using winget PowerShell

How do I reinstall system apps on Windows 11?

  • Open PowerShell as administrator, then type the following command to get list of system apps available in Windows image: Get-AppxPackage -allusers | Select Name, PackageFullName
  • Note down the PackageFullName for the app you want to restore and use this command after replacing the PackageFullName with the one you copied: Add-AppxPackage -register "C:\Program Files\WindowsApps\PackageFullName\appxmanifest.xml" -DisableDevelopmentMode
  • To reinstall all apps, type the following command: Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Reinstalling default apps could help you when you are not able to open a Windows app, as it has been corrupted or deleted by mistake.

Removing Windows 11 default apps using PowerShell, Winget, or DISM can help you eliminate unwanted programs, thereby reducing clutter, improving system performance, and recovering disk space.

Before executing any commands to uninstall an app, ensure you know about the app and its role in your system functionalities to avoid any trouble.

Before you leave, please find out how to install programs for all users so you don’t have to download them separately across profiles.

If you have any questions or suggestions related to app management on Windows 11, feel free to mention them in the comments section below.

More about the topics: PowerShell, Uninstall issues and guides, Windows 11

User forum

0 messages