CLI tool
Raphire/Win11Debloat avatar
Raphire/Win11Debloat

Win11Debloat: A PowerShell Script for Stripping Windows 10 and 11 Down to Essentials

Win11Debloat is a lightweight PowerShell script that removes pre-installed apps, disables telemetry, and declutters Windows 10 and 11 without installation.

57,156 stars2,444 forksPowerShellMIT

At a glance

What is it?
Win11Debloat is a lightweight PowerShell script that removes preinstalled apps, disables telemetry, and tweaks Windows 10 and 11 settings. It offers a command-line interface, audit mode, and settings export/import, but carries the usual risks of system modification scripts.
Who is it for?
Win11Debloat is for users and administrators who want a scriptable, repeatable way to strip unwanted apps and privacy-invasive features from Windows 10 or 11. It is not for those who need a GUI-driven tool or who are uncomfortable running third-party scripts that modify system settings.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 5 days ago.
What is it written in?
Mainly PowerShell, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 14, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What Win11Debloat Actually Does

Win11Debloat is a PowerShell script that automates the removal of preinstalled Windows apps, disables telemetry and tracking, and applies a wide range of system and interface tweaks. It targets both Windows 10 and Windows 11, which is useful for organizations or individuals managing mixed environments. The script is designed for users who do not want to click through dozens of settings dialogs or uninstall apps one by one. It also includes features for system administrators, such as a command-line interface, support for Windows Audit mode, and the ability to apply changes to other user accounts on the same machine.

How the Script Works: From Download to Execution

The quickest way to run Win11Debloat is to open PowerShell and execute a one-liner that downloads and launches the script: `& ([scriptblock]::Create((irm "https://debloat.raphi.re/")))`. This command uses `Invoke-RestMethod` to fetch the script from a URL, then creates a script block and executes it. The traditional method involves downloading a ZIP from the releases page, extracting it, and double-clicking `Run.bat`, which triggers a UAC prompt for administrator rights. The advanced method is to run `Win11Debloat.ps1` directly from an elevated PowerShell session, after temporarily setting the execution policy with `Set-ExecutionPolicy Bypass -Scope Process -Force`. The script presents an interactive menu, but also accepts command-line parameters for unattended or customized runs, as documented in the wiki.

Key Features: App Removal, Privacy, and AI Toggles

The feature list is broad. Under app removal, the script can uninstall a wide variety of preinstalled apps, with details in the wiki. Privacy settings include disabling telemetry, diagnostic data, activity history, app-launch tracking, and targeted ads. It also turns off tips, suggestions, and ads across Windows, the lock screen, and Edge. Location services, app location access, and Find My Device tracking can be disabled. The script can hide Microsoft 365 ads on the Settings home page or hide the Home page entirely. For AI features, it disables and removes Microsoft Copilot, Windows Recall, and Click to Do, and prevents the AI service (WSAIFabricSvc) from starting automatically. It also disables AI features in Edge, Paint, and Notepad. These are concrete toggles that go beyond simple app removal, making the script useful for privacy-focused users.

System and Interface Tweaks: More Than Just Debloating

Beyond privacy, Win11Debloat changes system behavior and appearance. It can restore the old Windows 10 style context menu, disable the drag tray for sharing, and turn off mouse acceleration. It disables Sticky Keys shortcuts, Storage Sense, fast startup, and BitLocker automatic device encryption. It can also disable network connectivity during Modern Standby to reduce battery drain. On the update side, it prevents Windows from fetching updates immediately, stops automatic restarts after updates, and disables Delivery Optimization. Appearance options include enabling dark mode, disabling transparency and animations, and hiding the desktop spotlight shortcut. Start menu, taskbar, and File Explorer tweaks are numerous: remove pinned apps, hide recommendations, disable Phone Link integration, turn off Bing search, change taskbar alignment, hide widgets, enable the End Task option, and show file extensions or hidden files. This is a comprehensive tool for customizing the Windows experience, not just removing bloatware.

Reversibility and Safety: The Claimed Revert Path

The README states that all changes made by Win11Debloat can be easily reverted and that almost all removed apps can be reinstalled through the Microsoft Store. A wiki page dedicated to reverting changes is referenced. This is a critical feature because system modification scripts can break functionality if they remove a component that other features depend on. The script's warning says that great care was taken to avoid unintentionally breaking OS functionality, but it still advises using the script at your own risk. The ability to revert is not guaranteed for every single change, and the README says 'almost all' apps can be reinstalled, leaving a gap for a few. Users should verify the revert process on their specific Windows version before relying on it in production. The script requires administrator rights, which means it has the potential to make system-wide changes, so testing in a VM is prudent.

Limitations and When It Is the Wrong Tool

Win11Debloat is not a one-size-fits-all solution. It is a PowerShell script, so it requires some comfort with command-line execution and reading on-screen instructions. It does not provide a graphical interface beyond the interactive menu, which may be intimidating for less technical users. The script modifies system settings that can affect stability, performance, or security if misused. For example, disabling BitLocker automatic encryption could leave a device without full-disk encryption, and disabling Windows Update delivery could delay critical security patches. The script is also Windows-only, so it is irrelevant for macOS or Linux environments. If an organization needs to enforce a consistent configuration across many machines, a script like this can work, but it lacks the centralized management features of enterprise tools like Group Policy or Intune. For a single user who just wants to remove a few apps, a manual uninstall might be simpler than running a script that changes dozens of settings at once.

Alternatives and How They Differ

A common alternative is the open-source project 'Windows 10 Debloater' (by Sycnex), which also uses PowerShell to remove bloatware and disable telemetry. The key difference is that Win11Debloat offers a more structured command-line interface, support for Windows Audit mode, and the ability to export and import settings for reuse across systems. Another alternative is 'Tron Script', a comprehensive tool that includes debloating as part of a larger cleanup and repair suite. Tron is far more aggressive and is designed for rescue scenarios, not for routine customization. Unlike Win11Debloat, Tron runs a long sequence of automated tasks and is not focused on user-friendly feature selection. For users who prefer a GUI, tools like 'O&O AppBuster' allow selective app removal with a visual interface, but they do not handle telemetry or system tweaks. Win11Debloat's advantage is its scriptability and the ability to apply the same configuration to multiple machines via export/import, which is a different approach from one-off GUI tools.

Maintenance, Licensing, and Upgrade Considerations

Win11Debloat is licensed under the MIT License, which permits free use, modification, and distribution with attribution. The repository is actively maintained, with releases dated 2026.08.24, 2026.07.11, and 2026.06.24, indicating a regular release cadence. This is important because Windows updates can change the behavior of settings or introduce new apps, so a script that is not updated may become ineffective or even harmful. The script's command-line interface and settings export/import feature make it possible to version-control your configuration and apply it to new machines, but you must keep the script itself updated to match the latest Windows changes. There is no built-in update mechanism mentioned, so users must manually download new releases. The wiki is the primary source for details on parameters and reverting changes, and it should be consulted before each major use. The script's reliance on a URL (`debloat.raphi.re`) for the quick method introduces a supply-chain consideration: you are executing code from that URL, so verify the URL's integrity and the script's contents before running it in a sensitive environment.

Editorial conclusion

Win11Debloat is for users and administrators who want a scriptable, repeatable way to strip unwanted apps and privacy-invasive features from Windows 10 or 11. It is not for those who need a GUI-driven tool or who are uncomfortable running third-party scripts that modify system settings. Before using it, verify the script's current state in the repository, review the wiki's revert instructions, and test it in a virtual machine or on a non-critical system. The script's own warning says use at your own risk, and the ability to revert changes is a key feature to confirm before running.

Official sources

  1. Official README
  2. Project repository
  3. Release notes
Community notes

Community notes