Skip to content

Windows

How to remove pre-installed apps (bloatware) from Windows safely

Remove unwanted pre-installed apps on Windows 10 and 11 with a script you can read first, after a restore point.

A new PC often comes with apps you never asked for: games, trial software and extra Microsoft apps. They take up space and some run in the background. You can remove most of them yourself.

Before you start

  1. Create a restore point. Search for "Create a restore point", choose your system drive, click Create, and give it a name.
  2. Close your programs and save your work.
  3. Do not run this on a business computer that you have not tested it on first.

The easy way: Settings

Open Settings → Apps → Installed apps, find an app you do not use, click the three dots and choose Uninstall. This is the safest option and enough for most people.

The faster way: a PowerShell script you read first

Do not run a script from the internet by pasting a one-line command that downloads and runs it straight away. You cannot see what it does, and the file can change. Instead, save a script you have read, then run it.

  1. Open Notepad and paste this. Remove the names of any apps you want to keep:
$apps = @(
  "Microsoft.3DBuilder", "Microsoft.BingNews", "Microsoft.GetHelp", "Microsoft.Getstarted",
  "Microsoft.MicrosoftOfficeHub", "Microsoft.MicrosoftSolitaireCollection", "Microsoft.MixedReality.Portal",
  "Microsoft.OneConnect", "Microsoft.People", "Microsoft.SkypeApp", "Microsoft.WindowsFeedbackHub",
  "Microsoft.WindowsMaps", "Microsoft.ZuneMusic", "Microsoft.ZuneVideo", "Microsoft.XboxApp",
  "Microsoft.XboxGamingOverlay", "Microsoft.Xbox.TCUI", "Microsoft.YourPhone"
)
foreach ($app in $apps) {
  Write-Host "Removing: $app"
  Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -ErrorAction SilentlyContinue
  Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq $app } | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
}
Write-Host "Done."
  1. Save it as debloat.ps1 in a folder such as C:\Temp (choose All files as the type).
  2. Right-click Start, choose Terminal (Admin) or PowerShell (Admin), and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; C:\Temp\debloat.ps1

The Bypass setting lasts only for that window.

What to know

  • The script removes the listed apps for all users, and stops them returning for new accounts.
  • It leaves out the apps most people use (Calculator, Photos, Store, Notepad, Sticky Notes, To Do, Alarms and the Sound Recorder).
  • Some removed apps can be put back from the Microsoft Store, but not all. Only remove what you are sure about.
  • Windows updates may bring a few apps back. Run the script again if that happens.

If something stopped working

Open Create a restore point → System Restore and go back to the point you made.

Need a hand? Open a ticket and tell us which apps you want to keep.

Updated 2026-12-06

← All articles · Need a hand? Contact me.