Skip to content

Win11Debloat: A 40k-Star PowerShell Script for Stripping Bloatware, Telemetry, and AI Features from Windows

Tool Spotlight Windows Open Source Mar 04, 2026

Win11Debloat: A 40k-Star PowerShell Script for Stripping Bloatware, Telemetry, and AI Features from Windows

A lightweight PowerShell script that removes pre-installed bloatware, disables telemetry and tracking, kills Copilot and Recall, and cleans up the Windows 10/11 interface. One command, no installation required. 40.5k stars and 15 releases say the demand is real.

Raphire / Win11Debloat

A simple, lightweight PowerShell script to remove pre-installed apps, disable telemetry, as well as perform various other changes to customize, declutter and improve your Windows experience.

PowerShell 99% Batchfile 1% ★ 40.5k stars MIT 1.6k forks 344 commits 23 contributors

A fresh Windows installation in 2026 comes with Copilot, Recall, Click to Do, Bing web search baked into the Start menu, telemetry phoning home, widgets on the taskbar, ads in the Settings app, Candy Crush in the Start menu, and a collection of pre-installed apps that most people never asked for. Microsoft continues to add features that blur the line between operating system and advertising platform, and users continue to look for ways to undo it.

Win11Debloat is the most popular open-source answer to this problem. It's a single PowerShell script that strips out bloatware, disables telemetry, removes AI features, and cleans up the interface — all through an interactive menu or command-line parameters. No installation, no dependencies beyond PowerShell, fully reversible. At 40.5k stars, it's one of the highest-starred Windows utility repos on GitHub.

Win11Debloat System Tweaks interface showing categorized settings for Privacy, AI, Appearance, System, File Explorer, Start Menu, Taskbar, and more

// What It Does

🗑️
Bloatware Removal
Removes 60+ pre-installed Microsoft and third-party apps: Clipchamp, Solitaire, Teams, Cortana, Spotify, Netflix, Candy Crush, TikTok, Instagram, and more.
🔒
Telemetry & Tracking
Disables telemetry, diagnostic data, activity history, app-launch tracking, targeted ads, and tips/suggestions/ads across Windows and Edge.
🤖
AI & Copilot Removal
Disables and removes Copilot, Windows Recall, Click to Do, Bing AI in search, and AI features in Edge, Paint, and Notepad.
🎨
Interface Cleanup
Taskbar alignment, old context menu restore, File Explorer tweaks, widget removal, search box customization, dark mode, and more.

// How to Run It

The quickest method is a single PowerShell command that downloads and runs the script automatically:

Open PowerShell (admin) Paste one-liner Interactive menu Select options Done

Alternatively, download the ZIP from the releases page and double-click Run.bat. For automation and deployment, the script supports command-line parameters: -RunDefaults applies recommended settings and removes the default app selection, while -RunDefaultsLite applies the same settings without removing any apps. Individual features can be toggled via parameters for fully unattended operation.

// Feature Breakdown

CategoryWhat It Covers
App Removal60+ Microsoft and third-party apps, customizable selection, start menu pin clearing
TelemetryDiagnostic data, activity history, app-launch tracking, targeted ads, Windows Spotlight
AI / CopilotCopilot, Recall, Click to Do, Bing AI in search, Cortana, AI in Edge/Paint/Notepad
TaskbarLeft alignment, button labels, search icon, taskview, widgets, End Task option
File ExplorerDefault location, hidden files, extensions, Gallery/Home removal, OneDrive/3D Objects hiding
PersonalizationDark mode, disable animations, mouse acceleration off, sticky keys off, old context menu
Start MenuRecommended section, Phone Link integration
OtherXbox Game Bar, Fast Start-up, Modern Standby network drain

// What It Doesn't Remove (by Default)

🛡️ Safe Defaults
The script is careful about what it touches by default. Apps like Calculator, Camera, Photos, Notepad, Terminal, Paint, Microsoft Store, Phone Link, and gaming-related Xbox components are preserved unless you explicitly select them. The Microsoft Store in particular cannot be reinstalled if removed.

This is an important detail that separates Win11Debloat from more aggressive debloating tools. The default removal list targets genuinely unwanted apps (Candy Crush, Solitaire, Clipchamp, defunct Bing apps, third-party promotional installs) while leaving functional system apps alone. Users can opt into removing additional apps through the interactive menu or custom app lists.

// Advanced / Enterprise Features

Beyond consumer use, the script includes features for sysadmins and deployment scenarios. Sysprep mode applies changes to the Windows Default user profile, so all new users on the machine inherit the debloated settings automatically. You can also apply changes to a different user account instead of the currently logged-in one. Combined with the command-line parameters for unattended operation, this makes Win11Debloat viable for imaging workflows and fleet deployments.

// Reversibility

All changes made by Win11Debloat can be reverted. Registry tweaks are standard key modifications that can be undone, and almost all removed apps can be reinstalled from the Microsoft Store (with the exception of the Microsoft Store itself and Xbox Speech-to-Text Overlay). The project wiki includes a full guide on reverting changes. This reversibility lowers the risk significantly compared to tools that make irreversible system modifications.

// Considerations

⚠️ Use at Your Own Risk
While the script is designed not to break OS functionality, modifying system settings and removing pre-installed apps always carries risk. Test on non-production machines first, and be aware that Windows updates may re-enable some settings or reinstall some apps.

Windows updates can undo changes. Major Windows feature updates have a history of re-enabling telemetry settings, reinstalling removed apps, and resetting interface customizations. You may need to re-run the script after significant updates. This isn't a Win11Debloat limitation — it's a Windows behavior.

Not a security hardening tool. Win11Debloat focuses on bloatware removal, privacy settings, and interface cleanup. It doesn't harden the OS against attacks, configure firewalls, or implement security baselines. For enterprise security hardening, look at tools like Microsoft Security Compliance Toolkit or CIS Benchmarks.

Some removals have dependencies. A few apps that can be optionally removed have subtle dependencies. The Xbox UI framework (Xbox.TCUI) is required by the Microsoft Store and some games. The Get Help app is needed for certain Windows 11 troubleshooters. The script documents these relationships, but users should read the descriptions before removing optional apps.

PowerShell execution policy. Running the script requires either administrator privileges to execute unsigned PowerShell scripts, or temporarily setting the execution policy to Unrestricted. The one-liner method handles this automatically, but the manual method requires Set-ExecutionPolicy Unrestricted -Scope Process. This is standard for PowerShell scripts but worth noting for security-conscious users.

// Bottom Line

Win11Debloat does exactly what its name says, and it does it well. The interactive menu makes it accessible to non-technical users, the command-line parameters make it automatable for sysadmins, and the safe defaults mean you're unlikely to break anything if you just run it with the recommended settings. The AI/Copilot removal features are particularly timely as Microsoft continues to push these features more aggressively with each update.

With 40.5k stars, 15 releases, and active maintenance through late 2025, it's the most battle-tested debloating script in the Windows ecosystem. If you've ever spent 30 minutes after a fresh Windows install manually uninstalling Candy Crush, disabling Bing search, and hiding widgets, Win11Debloat does all of that in one command.

Latest