Remove built-in Windows apps with PowerShell (Remove-AppxPackage)

PowerShell removes preinstalled Microsoft Store apps that have no Uninstall button, for your account or for every account on the PC.

Time
A few minutes
Level
Medium
You need
An administrator account for the all-users commands.

Before you start

  • Try the normal way first: Uninstall a program or app in Windows. Many built-in apps can be uninstalled from Settings.
  • Remove only apps you know. Do not remove Microsoft Store, App Installer or other system components: Windows features depend on them.

Windows 11 and 10

Steps written for Windows 11 and Windows 10 (the commands are the same).

  1. Open PowerShell as administrator

    Right-click Start and select Terminal (Admin). Select Yes when Windows asks for permission.

  2. Find the package name

    List the installed apps with the command below. To narrow the list, put part of the name between asterisks, for example Get-AppxPackage *Weather* | Select-Object Name, PackageFullName.

    Get-AppxPackage | Select-Object Name, PackageFullName
    PowerShell listing Microsoft.BingWeather with its full package name
    The Name column is the name you use in the next command. Screenshot: Windows 11 26H2
  3. Remove the app

    Run the command below with the name you found. It removes the app for your account.

    Get-AppxPackage *Microsoft.BingWeather* | Remove-AppxPackage
  4. Check that it is gone

    Run the search again. If it prints nothing, the app is removed.

    Get-AppxPackage *Microsoft.BingWeather*
  5. Remove it for all users (optional)

    To remove the app from every account on the PC, run:

    Get-AppxPackage -AllUsers *Microsoft.BingWeather* | Remove-AppxPackage -AllUsers
  6. Stop it coming back for new users (optional)

    Windows installs provisioned apps for every new account. This removes the app from that list:

    Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like "*BingWeather*" | Remove-AppxProvisionedPackage -Online
Steps checked against Microsoft Learn: Remove-AppxPackage and Remove-AppxProvisionedPackage; our screenshot (Windows 11 Pro 26H2) on Oct 3, 2026.

If the command shows an error

Some packages are part of Windows and cannot be removed; PowerShell then shows a red error and the app stays. That is expected: leave it. An error about permissions means PowerShell is not running as administrator.

Get an app back

Open Microsoft Store, search for the app by name and select Get or Install.

Used in guides

No guide links to this procedure yet.

Sources

  1. Microsoft Learn: Remove-AppxPackage (read Oct 3, 2026)
  2. Microsoft Learn: Get-AppxPackage (read Oct 3, 2026)
  3. Microsoft Learn: Remove-AppxProvisionedPackage (read Oct 3, 2026)

Questions and experiences

Ask about this page: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

4,322 members already hereThey read, write, comment and vote. 0 verified · 31 joined this year

Cookies

We use essential cookies to run the platform. Analytics and marketing cookies are only turned on once you consent — you can change your choice at any time.