https://github.com/Raphire/Win11Debloat
ID: 14253 | Model: gemini-3-flash-preview
Persona: Senior Systems Administrator and IT Infrastructure Analyst
Abstract: Win11Debloat is an open-source, lightweight PowerShell utility designed for the systematic optimization and decluttering of Windows 10 and 11 environments. The script automates the removal of pre-installed bloatware, the deactivation of telemetry and data-tracking services, and the customization of OS interface elements. It provides multiple execution pathways—ranging from automated remote downloads to manual local execution—and includes advanced functionality for IT professionals, such as support for Windows Audit mode and the ability to apply configurations across different user profiles or the system-wide Default user profile via Sysprep.
Technical Summary and Key Takeaways:
-
Project Overview and Core Utility:
- Win11Debloat serves as an automated solution for reducing OS footprint by eliminating non-essential software and intrusive background services.
- The script is designed to be non-destructive, allowing for the reversal of changes or the reinstallation of removed applications through the Microsoft Store.
-
Deployment Methodologies:
- Quick Method: Execution via a single PowerShell command using
Invoke-RestMethod(irm) to pull the script directly fromhttps://debloat.raphi.re/. - Traditional Method: Manual download of the repository with execution handled by a
Run.batfile to trigger the necessary administrative privileges. - Advanced Method: Local execution of
Win11Debloat.ps1requiring a manual execution policy override (Set-ExecutionPolicy Unrestricted -Scope Process).
- Quick Method: Execution via a single PowerShell command using
-
Privacy and Telemetry Hardening:
- Disables diagnostic data collection, activity history, app-launch tracking, and targeted advertisements.
- Deactivates location services, "Find My Device" tracking, and MSN-driven news feeds/spotlight features.
-
AI and Copilot Deactivation:
- Provides specific toggles to remove Microsoft Copilot and disable Windows Recall (exclusive to W11).
- Stops the
WSAIFabricSvc(AI service) from automatic startup and removes AI-integrated features from Paint, Notepad, and Edge.
-
System and Performance Optimization:
- Disables "Fast Start-up" to ensure complete system shutdowns and prevents BitLocker automatic device encryption.
- Optimizes networking by disabling connectivity during Modern Standby to preserve battery life.
- Modifies update behaviors to prevent automatic restarts while users are signed in and disables Delivery Optimization (peer-to-peer update sharing).
-
UI and File Explorer Customization:
- Restores the Windows 10 style legacy context menu and aligns taskbar icons to the left.
- Enables "End Task" functionality in the taskbar right-click menu and "Last Active Click" behavior for efficient window switching.
- Adjusts File Explorer to show hidden files and extensions, while removing redundant entries like "Gallery," "3D Objects," or duplicate removable drive icons.
-
Application Management:
- Automates the removal of OEM-specific software (e.g., Lenovo/Dell apps) and pinned bloatware on the Start Menu.
- Includes specific cleaning for third-party browsers like Brave to remove AI and cryptocurrency-related bloat.
-
Administrative and Advanced Features:
- Multi-User Support: Changes can be targeted at specific users or applied globally.
- Sysprep/Audit Mode: Integrated support for image deployment, ensuring new user profiles created on the system inherit the debloated configuration automatically.
- Subsystem Integration: Options to enable Windows Sandbox and Windows Subsystem for Linux (WSL) directly through the script interface.