Powershell Script To Remove Windows 11 Bloatware Now

# 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",

catch Write-Log "FAILED: Could not remove provisioned package $app - $ " -Color Red

Write-Log "Found $($bloatwareApps.Count) target applications for removal" -Color Yellow $removed = @() $failed = @() Remove apps for current user Write-Log "Removing bloatware for current user..." -Color Cyan foreach ($app in $bloatwareApps) try $package = Get-AppxPackage -Name $app -ErrorAction SilentlyContinue if ($package) Remove-AppxPackage -Package $package -ErrorAction Stop Write-Log "SUCCESS: Removed $app" -Color Green $removed += $app powershell script to remove windows 11 bloatware

# Telemetry and unwanted services "Microsoft.Wallet", "Microsoft.BingNews", "Microsoft.BingWeather", "Microsoft.BingSports", "Microsoft.BingFinance", "Microsoft.Microsoft3DViewer", "Microsoft.MicrosoftPowerBIForWindows", "Microsoft.MicrosoftTranslator" )

$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 # Productivity bloat (user-specific) "Microsoft

Write-Log "`nDisabling telemetry services..." -Color Cyan $telemetryServices = @( "DiagTrack", "dmwappushservice", "diagnosticshub.standardcollector.service" )

# Third-party bloat (manufacturer-specific) "Clipchamp.Clipchamp", "EclipseManager", "ActiproSoftwareLLC", "AdobeSystemsIncorporated.AdobePhotoshopExpress", "AdobeSystemsIncorporated.AdobeCreativeCloudExpress", powershell script to remove windows 11 bloatware

Write-Log "`nRemoving provisioned packages for new users..." -Color Cyan foreach ($app in $bloatwareApps) try Where-Object $ .DisplayName -eq $app if ($provisioned) Remove-AppxProvisionedPackage -Online -PackageName $provisioned.PackageName -ErrorAction Stop Write-Log "SUCCESS: Removed provisioned package $app" -Color Green