Powershell — Windows 11 Bloatware Removal
$bloatware = @( "*Spotify*" "*Disney*" "*TikTok*" "*Facebook*" "*Netflix*" "*CandyCrush*" "*Pandora*" "*Twitter*" "*BubbleWitch*" "*LinkedIn*" "*Hulu*" "*Instagram*" "*XboxApp*" # The main Xbox app (keeps core gaming services) "*XboxGameCall*" # Game bar plugins "*XboxIdentity*" # Safe to remove if not using Xbox "*XboxSpeechToText*" "*Microsoft.MixedReality.Portal*" ) foreach ($app in $bloatware) Remove-AppxPackage -ErrorAction SilentlyContinue Get-AppxProvisionedPackage -Online To uninstall an app for every existing user on the PC:
Get-AppxPackage -AllUsers -Name *xbox* | Remove-AppxPackage -AllUsers This script targets non-essential apps while preserving Windows security and functionality: windows 11 bloatware removal powershell
Get-AppxProvisionedPackage -Online | Select DisplayName, PackageName Example: Remove Spotify windows 11 bloatware removal powershell
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like "*spotify*" | Remove-AppxProvisionedPackage -Online Here’s a safe block list for common bloatware (copy and paste into PowerShell as Admin): windows 11 bloatware removal powershell
Get-AppxPackage *spotify* | Remove-AppxPackage For provisioned apps (removes for future users too):