Use Windows PowerShell to Uninstall Bloatware

When you purchase a new Windows computer, or perform a fresh installation of the operating system, you expect a clean, highly responsive machine. Unfortunately, modern Windows deployments are heavily saturated with “bloatware”—unnecessary pre-installed applications ranging from unwanted mobile games and social media clients to heavily integrated, resource-draining utilities like Cortana and Your Phone. While you can remove standard software via the Settings menu, Microsoft deliberately hides the “Uninstall” button for these deeply embedded system apps, forcing them to remain on your hard drive and consume background memory. To truly clean your system, you must bypass the graphical interface. By learning how to use Windows PowerShell to uninstall pre-installed bloatware, you can leverage administrative command-line scripts to forcefully strip these unwanted packages directly from the operating system core.

In this advanced system optimization guide, we will walk you through the process of launching an elevated administrative environment. We will explain how to list all hidden AppX packages currently installed on your machine and provide the exact commands required to permanently eradicate stubborn applications that refuse to be deleted conventionally.

Understanding Windows AppX Packages

To successfully remove this bloatware, you must understand how Windows categorises it. These modern applications (often downloaded through the Microsoft Store) are packaged differently than traditional `.exe` software. They are known as AppX packages.

Because they are integrated into the modern Windows ecosystem, they are deeply tied to specific user accounts. The PowerShell commands we will use are designed to target these AppX packages directly, breaking their dependencies and forcefully removing their files from your system drive.

Step 1: Launching PowerShell as an Administrator

Because you are attempting to modify core system packages that Microsoft has deemed “essential,” a standard user terminal will instantly deny your requests. You must grant the terminal administrative privileges.

  1. Click the Start button (or press the Windows key).
  2. Type powershell into the search bar.
  3. In the right-hand panel of the search results, click Run as administrator.
  4. A User Account Control (UAC) prompt will appear asking if you want to allow the app to make changes. Click Yes.
  5. A blue terminal window will open. Ensure the path at the top of the window begins with C:\Windows\System32. If it does not, you lack the required privileges.

Step 2: Listing the Installed Bloatware

Before you can delete an application, you must know its exact technical package name, which rarely matches its friendly graphical name. For example, the 3D Viewer app is technically named Microsoft3DViewer.

  1. In the blue PowerShell window, type the following command to generate a list of every installed app on your user account:
    Get-AppxPackage | Select Name, PackageFullName
  2. Press Enter.
  3. The terminal will output a massive list. The left column shows the simplified Name (e.g., Microsoft.YourPhone), and the right column shows the lengthy, version-specific PackageFullName.

Pro Tip: To make the list easier to read, you can export it to a text file on your desktop by typing: Get-AppxPackage | Select Name > "$env:userprofile\Desktop\apps.txt"

Step 3: Forcefully Uninstalling Specific Apps

Once you have identified the technical name of the bloatware you wish to remove, you can execute the removal command. The syntax requires using the wildcard asterisk symbol (*) so you do not have to type the incredibly long, version-specific package name.

The standard removal command structure is:

Get-AppxPackage *AppName* | Remove-AppxPackage

Common Bloatware Removal Commands

Here are the exact commands to copy and paste to remove some of the most stubborn and widely disliked pre-installed Windows applications. Press Enter after pasting each one.

  • Remove Cortana:
    Get-AppxPackage *549981C3F5F10* | Remove-AppxPackage
  • Remove Your Phone (Phone Link):
    Get-AppxPackage *Microsoft.YourPhone* | Remove-AppxPackage
  • Remove the Xbox Game Bar & Services:
    Get-AppxPackage *XboxApp* | Remove-AppxPackage
  • Remove the 3D Viewer:
    Get-AppxPackage *3DViewer* | Remove-AppxPackage
  • Remove the Feedback Hub:
    Get-AppxPackage *FeedbackHub* | Remove-AppxPackage

Step 4: Removing Bloatware from All Future Users

The commands above remove the applications from your current user account. However, Windows keeps a hidden installation cache. If you create a new user profile on your computer tomorrow, Windows will automatically reinstall all the bloatware for that new user. To permanently scorch the earth and remove the installer files entirely, you must use the Remove-AppxProvisionedPackage command.

For example, to permanently prevent the Xbox app from ever installing on new accounts on this machine, use the following syntax:

Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like "*XboxApp*"} | Remove-AppxProvisionedPackage -Online

This command instructs PowerShell to scan the core operating system image and permanently delete the provisioning packages associated with that bloatware.

A Warning on Core System Dependencies

While it is incredibly satisfying to clean your system, you must exercise caution. Do not blindly delete applications if you do not know what they do. Deleting the Microsoft Store package (*WindowsStore*) will completely break your ability to download legitimate apps in the future, and removing critical framework packages (like .NET or VCLibs) will cause third-party software to crash instantly.

Accepting a bloated, sluggish operating system is entirely unnecessary. By mastering how to use Windows PowerShell to uninstall pre-installed bloatware, you reclaim absolute administrative control over your hardware, guaranteeing that your computer’s RAM and processing power are dedicated strictly to the applications you actually choose to use.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.

Receive our best articles and tips delivered straight to your inbox.