Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Uninstall Built-in UWP (APPX) Apps on Windows 10 or 11

June 6, 2024

How to Uninstall Built-in UWP (APPX) Apps on Windows 10 or 11

Windows 10 and 11 ships with a set of pre-installed Microsoft Store applications (UWP/APPX apps). These are Calculator, Calendar, Mail, Cortana, Maps, News, OneNote, Groove Music, Camera, etc. These apps are automatically installed from the built-in package store in the Windows image into each user’s profile the first time they log in (provisioned apps). Most business users don’t use these built-in MS Store apps. So, to free up disk space and remove unused items from the Start menu, you can uninstall these native UWP apps.

Contents:
  • Remove the Built-in Windows Store App from the Settings GUI
  • Removing Preinstalled (Native) Windows App with PowerShell
  • How to Force Uninstall All Built-in UWP Apps on Windows

Remove the Built-in Windows Store App from the Settings GUI

The user can remove a built-in universal application from their profile from the Settings panel. Navigate to Settings -> Apps -> Installed apps. Find the app in the list and click Uninstall.

Remove native Windows apps from Settings

This will only remove the native UWP app from the current user’s profile. When a new user logs in, this application is automatically installed from the system storage.

Also, some native pre-installed apps simply don’t have an Uninstall button (it is greyed out).

How to uninstall greyed out Windows apps

You can uninstall these built-in Windows system apps only from the PowerShell CLI.

Removing Preinstalled (Native) Windows App with PowerShell

There are two types of UWP apps on Windows:

  • user applications (can be found in C:\Program Files\WindowsApps\ )
  • system apps ( C:\Windows\SystemApps\ )

When a new user logs into Windows for the first time, some built-in user applications are installed in their profile (AppX provisioned packages). Each user can then install additional apps from the Microsoft Store or the APPX/MSIX packages.

You can use PowerShell to list the Microsoft Store applications that are installed for the current user:

Get-AppxPackage | select Name,NonRemovable,PackageUserInformation,PackageFullName

Get-AppxPackage - list all installed APPX/MSIX/UWP Store apps on Windows

An app won’t appear in this list if you uninstall it via the Settings app GUI.

The built-in WinGet package manager can also be used to remove the Store application by the package name:

winget uninstall Microsoft.BingWeather_8wekyb3d8bbwe

remove store app using winget

List the installed Store apps for all users and export the results to a text file (for an easier search):

Get-AppxPackage -AllUsers | Format-List -Property Name, PackageFullName >c:\ps\all_installed_uwp_apps.txt

Export installed Microsoft Store apps to txt file

Search for an application by name and see the names and SIDs of users who have it installed (in this example, we’re searching for the Weather app):

Get-AppxPackage -AllUsers | select Name, PackageFullName, PackageUserInformation| where-object {$_.Name -like "*Weather*"} | FL

Get-AppxPackage - view installed UWP apps for all users

Note that some UWP apps have Staged status. This means that the application is stored in the Windows image and will be automatically installed the first time the new user account logs in.

To uninstall an app for the current user, copy the PackageFullName and specify it as a parameter of the Remove-AppxPackage command

Remove-AppxPackage Microsoft.BingWeather_4.53.60911.0_x64__8wekyb3d8bbwe

To remove an app for all users on a machine, add the AllUsers parameter:

Get-AppxPackage *BingWeather* -AllUsers| Remove-AppPackage –AllUsers  -verbose

If you want to uninstall a certain app for a specific local user, specify their name in the -User <user_name> parameter.

The previous command on Windows 11 removes the app from all user profiles and system storage. However, in Windows 10, such apps will remain in the system in a Staged state (and actually will remain on the drive in the C:\Program Files\WindowsApps directory).

List staged Store apps that are built into the Windows image and are automatically installed to all new users:

Get-AppxProvisionedPackage -online |select DisplayName,PackageName

View Appx Provisioned Packages on Windows

To completely remove a specific provisioned app from a Windows image, use the Remove-AppxProvisionedPackage command:

Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like "*Microsoft.ZuneVideo*"} | Remove-AppxProvisionedPackage -online –Verbose

Remove-AppxProvisionedPackage

This de-provisioned application is no longer automatically installed for new users.

How to Force Uninstall All Built-in UWP Apps on Windows

Of course, removing the built-in apps one by one is a tedious task. Use a simple PowerShell script to automatically remove pre-installed apps from a Windows image.

Important. Do not remove all UWP apps at once with a command such as:

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online

Don’t uninstall system apps such as Microsoft.VCLibs, Microsoft.NET.Native.Framework, Microsoft.NET.Native.Runtime, Microsoft.WindowsStore.

Some UWP apps in Windows 10 and 11 implement various system control panels. For example, windows.immersivecontrolpanel is a modern Settings panel, Microsoft.SecHealthUI is a GUI interface for Windows Security (Defender), etc.

A list of essential system UWP apps in Windows that should not be uninstalled without a good reason can be obtained as follows:

Get-AppxPackage| ? { $_.SignatureKind -eq "System" }|select Name,InstallLocation

List system UWP apps on Windows with PowerShell

The list of unwanted applications will vary depending on which build of Windows you are using. In this example, I’m going to uninstall the built-in applications that I never used on Windows 11 23H2.

Open PowerShell ISE as an administrator, copy and paste the specified code, and run the script (F5).

$UWPAppstoRemove = @(
"Microsoft.BingNews",
"Microsoft.GamingApp",
"Microsoft.MicrosoftSolitaireCollection",
"Microsoft.WindowsCommunicationsApps",
"Microsoft.WindowsFeedbackHub",
"Microsoft.XboxGameOverlay",
"Microsoft.XboxGamingOverlay",
"Microsoft.XboxIdentityProvider",
"Microsoft.XboxSpeechToTextOverlay",
"Microsoft.YourPhone",
"Microsoft.ZuneMusic",
"Microsoft.ZuneVideo",
"MicrosoftTeams",
"Microsoft.OutlookForWindows",
"Microsoft.Windows.DevHome",
"Microsoft.MicrosoftOfficeHub",
"Microsoft.MicrosoftStickyNotes",
"Microsoft.People",
"Microsoft.ScreenSketch",
"microsoft.windowscommunicationsapps",
"Microsoft.WindowsFeedbackHub",
"Microsoft.WindowsMaps"
)
# Remove preinstalled Microsoft Store applications for all users and from the Windows image
foreach ($UWPApp in $UWPAppstoRemove) {
Get-AppxPackage -Name $UWPApp -AllUsers | Remove-AppxPackage -AllUsers -verbose
Get-AppXProvisionedPackage -Online | Where-Object DisplayName -eq $UWPApp | Remove-AppxProvisionedPackage -Online -verbose
}

PowerShell script to remove built-in Store apps on Windows 10/11

Hint. If you receive error 0x80073CFA when removing a UWP app on Windows, it means that the app is protected. You can uninstall such an APPX package according to this guide: https://woshub.com/remove-appxpackage-0x80073cfa-removal-failed/.

As a result, all new accounts will be created without the built-in Windows apps (the creation of new user profiles will be faster). You can also create your own Windows installation image with the built-in apps removed.

3 comments
12
Facebook Twitter Google + Pinterest
PowerShellWindows 10Windows 11
previous post
Creating a Keytab File for Kerberos Authentication in Active Directory
next post
Enabling DNS over HTTPS (DoH) on Windows 11

Related Reading

How to Repair Windows Boot Manager, BCD and...

March 11, 2024

Fix: The Computer Restarted Unexpectedly or Encountered an...

May 16, 2024

PowerShell: Get Folder Size on Windows

April 2, 2024

How to Download Offline Installer (APPX/MSIX) for Microsoft...

March 12, 2024

Windows Doesn’t Automatically Assign Drive Letters

March 15, 2024

How to Clean Up System Volume Information Folder...

March 17, 2024

Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)

March 17, 2024

Managing Administrative Shares (Admin$, IPC$, C$) on Windows

March 15, 2024

3 comments

Sergey February 14, 2016 - 5:33 pm

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online
Not work.
The name “Get-AppXProvisionedPackage” is not recognized as the name of a cmdlet, function, script file or executable program. Check your spelling, as well as the presence and the path is correct, then try again.
line: 1 char: 27
+ Get-AppXProvisionedPackage <<<<  –Path K:\__W10_CONSTRUCTOR_x64__\Mount1 | Remove-AppxProvisionedPackage –Path K:\__W10_CONSTRUCTOR_x64__\Mount1
    + CategoryInfo          : ObjectNotFound: (Get-AppXProvisionedPackage:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Reply
Sergey February 14, 2016 - 5:34 pm

Sorry,
Get-AppXProvisionedPackage –Path c:\offline | Remove-AppxProvisionedPackage –Path c:\offline

Reply
greg spears July 16, 2023 - 2:56 am

My long search has paid off! Thanks to you and this awesome website! I’ve tried so much advice on the web for removing UWP apps and they all fail — ’til I tried yours. Wow. Thank you and thank you and thank you again.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
  • How to Download Offline Installer (APPX/MSIX) for Microsoft Store App
  • Configuring Port Forwarding in Windows
  • Start Menu or Taskbar Search Not Working in Windows 10/11
  • Get-ADUser: Find Active Directory User Info with PowerShell
  • Adding Drivers into VMWare ESXi Installation Image
  • Tracking and Analyzing Remote Desktop Connection Logs in Windows
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top