Powershell Script To Remove Windows 11 Bloatware Extra Quality May 2026

catch Write-Log "FAILED: Could not remove OneDrive - $_" -Color Red

if ($confirmation -ne 'Y' -and $confirmation -ne 'y') Write-Log "Script cancelled by user" -Color Red exit $bloatwareApps = @( # Gaming bloat "Microsoft.BingSolitaire", "Microsoft.MicrosoftMahjong", "Microsoft.MicrosoftMinesweeper", "Microsoft.MicrosoftSudoku", "Microsoft.MicrosoftJigsaw", "Microsoft.Xbox.TCUI", "Microsoft.XboxApp", "Microsoft.XboxGameCallableUI", "Microsoft.XboxGamingOverlay", "Microsoft.XboxIdentityProvider", "Microsoft.XboxSpeechToTextOverlay", powershell script to remove windows 11 bloatware

else Write-Log "SKIPPED: $app not found" -Color Gray catch Write-Log "FAILED: Could not remove OneDrive -

# Social media bloat "Facebook", "Twitter", "Instagram", "TikTok", powershell script to remove windows 11 bloatware

catch Write-Log "FAILED: Could not disable $service" -Color Red

catch Write-Log "FAILED: Could not remove $app - $_" -Color Red $failed += $app

if ($failed.Count -gt 0) Write-Log "`nFailed applications:" -Color Yellow foreach ($app in $failed) Write-Log " - $app" -Color Yellow