DEV Community

How to Remove Windows 11 Bloatware with One Open-Source Script

This article was drafted with AI assistance and fact-checked against the project's README.

Windows 11 ships with apps and settings you never asked for. Win11Debloat is a lightweight PowerShell script that lets you declutter and customize Windows, with no installation required. It is open source under the MIT license and has 60.4k stars on GitHub.

Before you start

The README is direct about it: "use at your own risk!" Make a restore point first.

Step 1: Open PowerShell as administrator

Open PowerShell or Terminal as an administrator. Accept the Windows UAC prompt; the README says admin rights are required for the script to function.

Step 2: Paste the one-line command from the README

& ([scriptblock]::Create((irm "https://debloat.raphi.re/")))

Wait for the script to download and launch Win11Debloat automatically. Want to read it first? The full script is public on GitHub.

Step 3: Read every on-screen instruction

The README asks you to carefully read through and follow the on-screen instructions. Among the options it lists:

  • Disable and remove Microsoft Copilot, Windows Recall and Click to Do
  • Disable telemetry, diagnostic data, activity history, app-launch tracking and targeted ads
  • Disable tips, tricks, suggestions and ads across Windows, the lock screen and Microsoft Edge
  • Disable Xbox Game Bar integration and game/screen recording

It works on both Windows 10 and Windows 11.

How to undo it

Per the README, all of the changes can easily be reverted, and almost all of the apps can be reinstalled through the Microsoft Store.

Source - Project: github.com/Raphire/Win11Debloat

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.