Remove bloatware from Microsoft Windows 10/11

This script deletes a list of unwanted applications for Windows 10/11 machines.

The list (contained in the $AppsList variable) is editable, so you can add or remove applications as required, just make sure you enter the correct application name.

this is the result of script execution:

make sure you run the script in administrator mode first.

Here’s the script:

 Set-ExecutionPolicy RemoteSigned -Force

$AppsList = 'Microsoft.3DBuilder',
'Microsoft.BingFinance',
'Microsoft.BingNews',
"Microsoft.News",
'Microsoft.BingSports',
'Microsoft.MicrosoftSolitaireCollection',
'Microsoft.People',
"Microsoft.SkypeApp",
"Microsoft.StorePurchaseApp",
'microsoft.windowscommunicationsapps',
'Microsoft.WindowsPhone',
'Microsoft.WindowsSoundRecorder',
"Microsoft.Xbox.TCUI",
'Microsoft.XboxApp',
"Microsoft.XboxGameOverlay",
"Microsoft.XboxGamingOverlay",
"Microsoft.XboxGameCallableUI",
"Microsoft.XboxIdentityProvider",
"Microsoft.XboxSpeechToTextOverlay",
'Microsoft.ZuneMusic',
'Microsoft.ZuneVideo',
'Microsoft.Getstarted',
'Microsoft.WindowsFeedbackHub',
'Microsoft.MicrosoftOfficeHub',


#Sponsored Windows 10/11 AppX Apps
"*EclipseManager*",
"*ActiproSoftwareLLC*",
"*AdobeSystemsIncorporated.AdobePhotoshopExpress*",
"*Duolingo-LearnLanguagesforFree*",
"*PandoraMediaInc*",
"*CandyCrush*",
"*BubbleWitch3Saga*",
"*Wunderlist*",
"*Flipboard*",
"*Twitter*",
"*Facebook*",
"*Spotify*",
"*Minecraft*",
"*Royal Revolt*",
"*Sway*",
"*Speed Test*",
"*Netflix*",
"*Roblox*",
"*TikTok*"



ForEach ($App in $AppsList)
{
    $PackageFullName = (Get-AppxPackage $App).PackageFullName
    $ProPackageFullName = (Get-AppxProvisionedPackage -online | Where-Object {$_.Displayname -eq $App}).PackageName
    write-host $PackageFullName
    Write-Host $ProPackageFullName
    if ($PackageFullName)
    {
        Write-Host "Removing Package: $App" -ForegroundColor Green
        remove-AppxPackage -package $PackageFullName
    }
    if ($ProPackageFullName)
    {
        Write-Host "Removing Provisioned Package: $ProPackageFullName" -ForegroundColor Green
        Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName
    }
    
} 

Thanks

Aymen EL JAZIRI (Microsoft MVP)
Aymen EL JAZIRI (Microsoft MVP)

Hi, I’m Aymen El Jaziri , a passionate System Administrator and Microsoft MVP, with years of hands-on experience in managing and securing modern IT infrastructures.
This blog is where I share technical guides, automation scripts, product reviews, and real-world solutions that help IT professionals simplify their day-to-day work and stay ahead in a fast-evolving cloud ecosystem.
Whether you’re here to troubleshoot an issue, improve your automation game, or learn new best practices , welcome in my blog !
Let’s build a stronger, smarter IT community together.
Feel free to connect with me on LinkedIn for more content, discussions, or collaboration opportunities.

Thanks

Aymen

Articles: 154