With this script, I was able to remove most of the bloatware from my system. I rebooted my laptop, and the difference was like night and day. My system was cleaner, faster, and more responsive.
if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) Write-Host "ERROR: This script requires Administrator privileges!" -ForegroundColor Red Write-Host "Please right-click PowerShell and select 'Run as Administrator'" -ForegroundColor Yellow pause exit
Prevents the app from re-installing when you create a new Windows user. powershell script to remove windows 11 bloatware
This PowerShell script safely removes pre-installed bloatware applications from Windows 11, improving system performance, reducing background processes, and reclaiming storage space. The script targets Microsoft Store apps, third-party vendor bloat, and telemetry components while preserving critical system functionality.
While you can uninstall apps one by one through Settings, using PowerShell is the most efficient way to deeply clean your system. This guide provides a safe, comprehensive PowerShell approach to removing Windows 11 bloatware. Why Use PowerShell for Bloatware Removal? With this script, I was able to remove
# Telemetry and unwanted services "Microsoft.Wallet", "Microsoft.BingNews", "Microsoft.BingWeather", "Microsoft.BingSports", "Microsoft.BingFinance", "Microsoft.Microsoft3DViewer", "Microsoft.MicrosoftPowerBIForWindows", "Microsoft.MicrosoftTranslator"
Standard uninstallation often leaves behind registry keys and background folders. PowerShell allows you to: if (-NOT ([Security
$logFile = "$env:USERPROFILE\Desktop\Bloatware_Removal_Log_$(Get-Date -Format 'yyyyMMdd_HHmmss').txt"
catch Write-Log "FAILED: Could not disable $service" -Color Red