Powershell Script To Remove Windows 11 Bloatware May 2026
Write-Log "`nDisabling telemetry services..." -Color Cyan $telemetryServices = @( "DiagTrack", "dmwappushservice", "diagnosticshub.standardcollector.service" )
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",
function Write-Log param($Message, $Color = "White") $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" $logMessage = "[$timestamp] $Message" Add-Content -Path $logFile -Value $logMessage Write-Host $logMessage -ForegroundColor $Color powershell script to remove windows 11 bloatware
catch Write-Log "FAILED: Could not remove $app - $_" -Color Red $failed += $app
else Write-Log "SKIPPED: $app not found" -Color Gray Write-Log "`nDisabling telemetry services
Write-Log "Starting Windows 11 Bloatware Removal Script" -Color Cyan Write-Host " nWARNING: This will remove bloatware applications from your system." -ForegroundColor Yellow Write-Host "A system restore point is recommended before proceeding. n" -ForegroundColor Yellow $confirmation = Read-Host "Do you want to continue? (Y/N)"
catch Write-Log "FAILED: Could not disable $service" -Color Red function Write-Log param($Message
# Productivity bloat (user-specific) "Microsoft.MixedReality.Portal", "Microsoft.GetHelp", "Microsoft.Getstarted", "Microsoft.MicrosoftOfficeHub", "Microsoft.MicrosoftSolitaireCollection", "Microsoft.MicrosoftStickyNotes", "Microsoft.MSPaint", "Microsoft.Office.OneNote", "Microsoft.People", "Microsoft.SkypeApp", "Microsoft.Windows.DevHome", "Microsoft.WindowsAlarms", "Microsoft.WindowsCamera", "Microsoft.WindowsCommunicationsApps", "Microsoft.WindowsFeedbackHub", "Microsoft.WindowsMaps", "Microsoft.WindowsSoundRecorder", "Microsoft.YourPhone", "Microsoft.ZuneMusic", "Microsoft.ZuneVideo",