guide · usbwin
Windows 11 Debloat Script: Run Win11Debloat Safely
How to use a Windows 11 debloat script safely: what Win11Debloat removes, the restore point step, the one-liner risk, and how to undo every change.
A Windows 11 debloat script removes the apps, suggestions, and telemetry settings that Microsoft and PC makers add to a fresh install. The most widely used free option is Win11Debloat, an open-source PowerShell script. It is fast, reversible, and safe enough for a normal PC — if you create a restore point and run the real copy.
This guide explains what the script changes, how to run it from the official repository, why the popular one-liner is the riskiest way to use it, and how to undo anything you do not like.
What Win11Debloat removes and changes
The script groups its changes into categories you can pick one by one:
- Preinstalled apps. It uninstalls dozens of bundled apps such as News, Weather, Solitaire, Clipchamp, Teams, and Xbox components. Removed Store apps can be reinstalled later.
- Telemetry and privacy settings. It turns off optional diagnostic data, activity history, ad targeting, and tailored experiences.
- Suggestions and ads. It disables Start menu recommendations, lock screen tips, and "suggested content" in Settings.
- AI and search features. Depending on the version and options, it can hide Copilot, widgets, and Bing results in Start search.
- Interface tweaks. It can restore the classic right-click menu, show file extensions, left-align the taskbar, and turn off transparency effects.
The script creates a System Restore point before changing anything, and it includes .reg undo files for the registry tweaks. App removals are reversible through the Microsoft Store.
Before you run it
- Create a restore point. Search for "Create a restore point", select the system drive, and click Create. The script can also do this, but having your own point is safer.
- Read the list of changes. The interactive menu shows each category. Use Custom mode instead of accepting every default; skip anything you rely on, such as the Xbox app, Teams, or the Store.
- Close other work. The script restarts Explorer and may restart the PC.
- Use an administrator account. The script needs elevation to change system settings.
How to run Win11Debloat from GitHub (recommended)
This is the method to use on a machine you care about, because you can read the code before it runs.
- Open the official repository: github.com/Raphire/Win11Debloat.
- Download the latest release ZIP from the Releases page.
- Extract it to a folder you can find.
- Right-click
Run.batand choose "Run as administrator". - Choose Custom mode, review the categories, and apply only what you want.
- Restart when the script finishes.
The repository README documents every option and the current version. If a download page shows a different script with the same name, close it and go back to GitHub.
The one-liner: fast, but the riskiest option
Many guides show this command:
& ([scriptblock]::Create((irm "https://debloat.raphi.re/")))
It downloads and runs the script in one step. It is convenient, but it executes remote code without you reading it first, and it depends on a redirect staying under the author's control. On a machine you can restore in minutes, that is an acceptable trade. On a work laptop or a PC with irreplaceable files, use the ZIP method instead.
How to undo changes
- Reinstall removed apps from the Microsoft Store. Search for the app by name.
- Restore the registry with the
.regundo files included in the release, or use the restore point you created. - Re-enable a setting in the Settings app if you only want to reverse one tweak.
- Roll back with System Restore if something breaks badly. This returns system files and settings, not your personal documents.
Debloating is not a one-time permanent state. Feature updates can reinstall some apps and reset some privacy settings, so re-check after major updates.
Alternatives to Win11Debloat
| Tool | What it is | Official page |
|---|---|---|
| WinUtil | PowerShell utility by Chris Titus Tech; installs apps and applies tweaks | github.com/ChrisTitusTech/winutil |
| Winhance | Open-source GUI for debloating, optimizing, and customization | github.com/memstechtips/Winhance |
| Settings app | Manual removal of apps and suggestions, no script | Settings → Apps → Installed apps |
Manual removal is slower but has the smallest blast radius. A script is worth it when you want the same clean baseline on several PCs.
Is a Windows 11 debloat script safe?
A reputable open-source script plus a restore point is low risk. The danger comes from fake download sites that wrap the script in an installer, and from forks that add "extra optimizations" you cannot inspect. Never run a script you cannot read, and never disable Windows Defender to make a debloat tool work.
If a site shows a big Download button, pop-ups, or a "fast downloader", close it. The only file you need is the ZIP from the project's GitHub Releases page.
Frequently asked questions
Does a debloat script break Windows Update?
Win11Debloat does not disable Windows Update by default. Some aggressive forks do; check the options before applying them.
Will removed apps come back after an update?
Some might. Feature updates can reinstall certain apps and reset privacy settings. Re-run the script or remove them manually after a major update.
Can I use a debloat script on Windows 10?
Win11Debloat supports Windows 10 and Windows 11. Check the README for the current support list.
Do I need to reinstall Windows first?
No. Run it on your current install. A clean install is a separate, bigger job and is not required.
Is the one-liner safe?
It runs remote code without review. Use the GitHub ZIP method on any machine you cannot easily restore.