Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Scripts » Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10
  • Watchguard Firewall 180504 100511 1
    WatchGuard Firebox XTM Device Image Backup Network | Monitoring
  • MAP virtual disk error
    Install Workstation Pro 17: Fix failed to initialise library for mounting and unmounting virtual disks Virtualization
  • image 36
    Keepalive Settings: Understanding keepalive configuration Linux
  • cisco switches 2
    How to disable Spanning-Tree Globally Network | Monitoring
  • Disable BitLocker
    Disable BitLocker: How to correctly disable MBAM-encrypted devices Windows
  • screenshot 2020 04 07 at 21.02.45
    Trend Micro WorryFree Business Security Server Setup Anti-Virus Solution
  • ext
    The DriveLock server returned an invalid or unrecognized response Security | Vulnerability Scans and Assessment
  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages via Cygwin in Windows Windows Server

Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10

Posted on 16/12/202006/09/2023 Christian By Christian No Comments on Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10
Windows 10

Windows 10 includes a series of pre-installed apps that you can’t uninstall by selecting Uninstall options on their Start menu context menus. You may be encounter this issue from time to time that you are unable to uninstall certain applications via the graphical user interface. Below are some steps to help resolve this issue. See this guide on how to check if Windows Updates were Installed on your Computer using was, program and features, DISM and wmic, etc, and how to find the AUMID of an installed UWP App.

PowerShell is a task-based command line shell and scripting language, built on .NET. By using PowerShell, system administrators can automate tasks and processes using the command line.

Removing pre-provisioned apps from Windows Image

Pre-provisioned apps can be useless for some organizations. Oftentimes, these apps are deleted when there are new updates from Microsoft prompting you to upgrade your Operating System (OS). Most times, after these OS are upgraded to the latest version of Windows, these preinstalled apps appear again. To mitigate this issue, this appx must be removed from the Windows Image before installing the OS.

How to uninstall a program via Command Prompt (CMD) in Windows. Also see how to remove Windows 10 Apps with DISM: How to remove pre-provisioned apps from Windows Image and how to determine Apps UWP and remove pre-provisioned appx in Windows 10.

We need to list all installed app first in order to determine the names to find the application we wish to delete.
– Open PowerShell with administrative privileges and press Enter.

Get-AppxPackage | Select-Object -Property Name
Uninstall programs

To display the full package name which is currently missing in the image above, we will have to use the command below.

Get-AppxPackage | Select Name, PackageFullName
PowerShell

Now that we are able to display the “Package name” and “Package full-name”, we will be needing the package name in order to delete the application on a running Windows 10 device. Now that we have the apps, we would like to utilize PowerShell to remove some of the built-in apps.

Removing Built-in UWP Apps from Windows PC

We will be removing the built-in UWP apps from all your PC or user account. To do this follow the steps discussed below.
1– Remove UWP apps from a single user account: Here you do not need to specify additional switches, run the command below by replacing it with your desired package name you wish to remove.

Get-AppxPackage -Name Microsoft.Xbox.TCUI | Remove-AppxPackage
PowerShell

However, to uninstall the app from all user accounts you need to include -allusers by entering the following command:

Get-AppxPackage -allusers PackageFullName | Remove-AppxPackage
Builtin programs

As you can se below, the application is no more available. Use the following command “Get-AppxPackage | Select Name, PackageFullName” to display the inbuilt and package full name.

Uninstall builtin programs using PowerShell in Windows

You can alternatively use PsInfo from Sysinternals to list all the installed software. If you use the -s flag when you run it. For more on SysInternal, see the following guides on how to download and use Windows SysInternals tools locally and how to use SysInternals Live Tools. For more information on Sysinternals tools, visit this link.

C:> psinfo -s > software.txt

You can also use -c to output it as a CSV file to use in Excel as shown below.

C:> psinfo -s -c > software.csv

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session. I welcome you to follow me on Twitter and Facebook.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Scripts Tags:DISM, PowerShell, PowerShell version 7, Programs, Windows 10, Windows Apps

Post navigation

Previous Post: How to update Printer Drivers on your Windows device
Next Post: Get a list of installed applications on Windows

Related Posts

  • powershell01
    How to create a KDS root key using PowerShell Scripts
  • WinReg
    Unable to import Windows Reg File: The specified file is not a registry script Scripts
  • powershell logo
    Connecting to a remote server failed and WinRM cannot process the request: Error code 0x8009030e occurred while using Kerberos authentication, and a specified logon session does not exist Scripts
  • windows 10 hert
    Windows Management Instrumentation Commands Scripts
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts
  • SASS in VsCode
    How to Install SASS on VsCode Scripts

More Related Articles

powershell01 How to create a KDS root key using PowerShell Scripts
WinReg Unable to import Windows Reg File: The specified file is not a registry script Scripts
powershell logo Connecting to a remote server failed and WinRM cannot process the request: Error code 0x8009030e occurred while using Kerberos authentication, and a specified logon session does not exist Scripts
windows 10 hert Windows Management Instrumentation Commands Scripts
wacxx Test Network Connection to Windows Admin Center Gateway Scripts
SASS in VsCode How to Install SASS on VsCode Scripts

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Watchguard Firewall 180504 100511 1
    WatchGuard Firebox XTM Device Image Backup Network | Monitoring
  • MAP virtual disk error
    Install Workstation Pro 17: Fix failed to initialise library for mounting and unmounting virtual disks Virtualization
  • image 36
    Keepalive Settings: Understanding keepalive configuration Linux
  • cisco switches 2
    How to disable Spanning-Tree Globally Network | Monitoring
  • Disable BitLocker
    Disable BitLocker: How to correctly disable MBAM-encrypted devices Windows
  • screenshot 2020 04 07 at 21.02.45
    Trend Micro WorryFree Business Security Server Setup Anti-Virus Solution
  • ext
    The DriveLock server returned an invalid or unrecognized response Security | Vulnerability Scans and Assessment
  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages via Cygwin in Windows Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,827 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.