Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

How to Remove Windows 10 Bloatware With PowerShell

Madalina DinitaApril 29, 2021 Comments (3)
remove-windows-10-bloatware-with-powershell

Windows 10 comes with a long list of preinstalled apps that users never asked for. All these apps that Microsoft is trying to shove down your throat are called bloatware. Since you don’t really need them, the best approach is to simply uninstall them from your computer. One way to do that is to manually locate and delete them. But some of these apps are so deeply rooted in your system that the only way to remove them is to run a series of specific PowerShell commands.

Contents

  • 1 How Do I Remove Preinstalled Windows 10 Apps With Powershell?
    • 1.1 Use DISM Command to Delete Bloatware
    • 1.2 Hide Your Apps
    • 1.3 Use a Whitelist Approach
    • 1.4 Conclusion

How Do I Remove Preinstalled Windows 10 Apps With Powershell?

First things first, type PowerShell in the Windows search bar and right-click on the PowerShell app. Select Run as administrator to ensure you have permission to edit or delete the apps you identified as bloatware.

run-powershell-as-admin

Use DISM Command to Delete Bloatware

If you really want to delete bloatware apps from your computer, you need to use the DISM command in PowerShell.

  1. First, run the DISM /Online /Get-ProvisionedAppxPackages | select-string Packagename command to list all the bloatware installed on your computer.powershell dism
  2. Locate the name of the app you want to delete and run the DISM /Online /Remove-ProvisionedAppxPackage /PackageName:PACKAGENAME command to complete the process.

Replace PACKAGENAME with the app’s complete name. In other words, copy the entire string of characters as they appear after the PackageName line.

For example, if you want to delete Bing Weather, run this command: DISM /Online /Remove-ProvisionedAppxPackage /PackageName: Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe.

Hide Your Apps

You can use the Get-AppxPackage *AppName* | Remove-AppxPackage command to hide bloatware from sight. Keep in mind that this command doesn’t permanently remove the respective apps from your system. It simply hides them allowing you to easily restore them later on if you need them back.

If you want to hide all the preinstalled apps for all the user accounts created on your computer, you can run this PowerShell command: Get-AppxPackage -AllUsers | Remove-AppxPackage.hide bloatware powershell

On the other hand, if you only want to hide specific apps, you need to run this command: Get-AppxPackage *AppName* | Remove-AppxPackage. Of course, you need to replace AppName with the name of the app you want to hide. For example, let’s say you want to remove Solitaire. The command you need to run is this: Get-AppxPackage *solitairecollection* | Remove-AppxPackage.

If you simply want to see what apps are installed on your machine, run this command: Get-AppxPackage -allusers | Select Name, PackageFullName.

Use a Whitelist Approach

Other users suggested using a whitelist approach to solve this issue. You can create your own script and update it with new apps whenever necessary. You can then automatically load the script at logon via GPO (Group Policy Object).

Here’s an example:

$excludedApps = ‘.*photos.*|.*sticky.*|.*zunevideo.*’

$unwantedApps = Get-AppxPackage -PackageTypeFilter Bundle | Where-Object {$_.Name -notmatch $excludedApps}

If ($unwantedApps) {

$unwantedApps | Remove-AppxPackage
}

If you need to use one of the apps you previously removed, you can always reinstall it on your machine. Just make sure to remove it from the $excludedApps list.

Alternatively, you can use Windows10Debloater to get the job done. This is a ready-made script that you can download from GitHub.

Even if you remove all bloatware from your Windows 10 computer, the OS may still reinstall the apps when you upgrade to a newer version. Microsoft rolls out two major Windows 10 updates every year. This means that, at least theoretically, you may need to repeat the steps above twice a year. In the best-case scenario, you only need to update your PowerShell script to include the new apps on the list.

Conclusion

If you want to get rid of Windows 10’s bloatware, you can use PowerShell to remove the unwanted apps. Depending on your needs, you can only hide these apps or permanently delete them using the DISM command.

Hit the comments below and rate how much you hate bloatware (on a scale from 1 to 10). Feel free to share additional tips and tricks to keep Windows 10 bloatware under control.

Categories: Windows

Author Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies -- AI and DNA computing in particular.

You Might Also Like

  • Windows 10, 8 & 7 Enable or Disable Superfetch

    Windows 11: Enable or Disable Superfetch

    Mitch BartlettWindows
  • Fix: Windows Print Spooler Service Won’t Stay Started

    Mitch BartlettWindows
  • Fix-Error-0x80070490-We-Couldnt-Find-Your-Settings

    Fix Error 0x80070490: We Couldn’t Find Your Settings

    Madalina DinitaWindows
  • windows-error-0x80070003

    Fix Error 0x80070003: Some Update Files Are Missing

    Madalina DinitaWindows

Comments

  1. Anon says:
    November 21, 2021 at 8:52 am

    This did not completely remove bing weather for me. It did remove the app from the list that the get-provisionedappxpackages command sets out. I’m so annoyed that I cannot get rid of it!!

  2. Anon says:
    November 21, 2021 at 8:40 am

    Thanks. Finally found the solution here. Will all this bloatware be reinstalled in OS updates? How can I prevent that from happening?

  3. T.S. says:
    November 4, 2021 at 3:05 pm

    Any suggestions for scripted removal of non-ADMX OEM software that isn’t required by the OS?

    For example, HP includes a bunch of their own crap and tends to also slip Office 365 installs as well. Looking for something semi universal that I could potentially deploy via intune so I have relatively a clean OS when using Autopilot. Fresh Start would be great if it could run during whiteglove/initial enrollment but it seems that’s only for devices that have already been in use.

    Thanks

Leave a Reply

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

  • error 400 when signing in

    Encountered Error 400 When Signing In to Microsoft? Here’s What You Can Do 

  • unable to create notebook error in onenote

    We Were Unable to Create Your Notebook Error in OneNote – Common Fixes 

  • error code 0x800704f8 fix

    Error Code 0x800704f8 – How to Fix 

  • back button in browsers doesnt work

    What to Do if the Back Button in Browser Doesn’t Work 

  • could not find this item

    “Could Not Find This Item” When Trying to Remove Files

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on April 29, 2021 by Mitch Bartlett