Powershell Script To Remove Windows 11 Bloatware //top\\ < WORKING • 2026 >
$removeOneDrive = Read-Host "`nDo you want to remove OneDrive? (Y/N)" if ($removeOneDrive -eq 'Y' -or $removeOneDrive -eq 'y') Write-Log "Removing OneDrive..." -Color Cyan try Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue Start-Sleep -Seconds 2 $onedriveSetup = "$env:SYSTEMROOT\SysWOW64\OneDriveSetup.exe" if (Test-Path $onedriveSetup) & $onedriveSetup /uninstall Write-Log "SUCCESS: OneDrive removed" -Color Green
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",
if ($failed.Count -gt 0) Write-Log "`nFailed applications:" -Color Yellow foreach ($app in $failed) Write-Log " - $app" -Color Yellow powershell script to remove windows 11 bloatware
Write-Log "`nRemoving provisioned packages for new users..." -Color Cyan foreach ($app in $bloatwareApps) try $provisioned = Get-AppxProvisionedPackage -Online catch Write-Log "FAILED: Could not remove provisioned package $app - $ " -Color Red
catch Write-Log "FAILED: Could not disable $service" -Color Red $removeOneDrive = Read-Host "`nDo you want to remove
else Write-Log "SKIPPED: $app not found" -Color Gray
# Third-party bloat (manufacturer-specific) "Clipchamp.Clipchamp", "EclipseManager", "ActiproSoftwareLLC", "AdobeSystemsIncorporated.AdobePhotoshopExpress", "AdobeSystemsIncorporated.AdobeCreativeCloudExpress", powershell script to remove windows 11 bloatware
# 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",