A clean, safe, and fully idempotent PowerShell script designed to disable all intrusive Windows AI components (Windows Recall, Click to Do, Copilot), diagnostic telemetry services, background MSN news feeds, Start menu Bing integration, and scheduled data collection tasks on Windows 11.
Starting with Windows 11 24H2 and 26H2, Microsoft introduced deep neural engine and AI integration into the Windows kernel, specifically targeting Copilot+ PCs equipped with dedicated NPUs (AMD Ryzen AI 300, Snapdragon X Elite/Plus, Intel Core Ultra 200).
After major feature updates, Windows often automatically:
- Re-enables or deploys new background telemetry tasks (e.g.,
Microsoft Compatibility Appraiser Exp,SustainabilityTelemetry). - Activates proactive local AI caching and screen indexing (
WindowsAI\ClickToDo,Recall). - Keeps Widgets processes (
WidgetBoard.exe,WidgetService.exe) active in memory downloading MSN feeds even when the taskbar widget icon is hidden. - Pushes web search results and search highlights (Bing trending searches) into your local Start menu.
This project provides a single, verifiable, and 100% reversible script to lock down privacy and eliminate background bloat without breaking Windows Update, system drivers, or gaming performance.
- Windows Recall: Disabled via machine and user Group Policy (
DisableAIDataAnalysis = 1,TurnOffRecall = 1). Also uninstalls the Recall optional component package. - Click to Do: Terminates active context screen caching and prevents NPU background indexing.
- Windows Copilot: Completely blocked via Group Policy (
TurnOffWindowsCopilot = 1) and taskbar button removed. - AI Fabric Subsystem: Disables the
WSAIFabricSvcsystem service.
- DiagTrack (Connected User Experiences and Telemetry): Set to Disabled & stopped.
- dmwappushservice (WAP Push Routing Service): Set to Disabled & stopped.
- diagnosticshub.standardcollector.service: Set to Disabled & stopped.
- WerSvc (Windows Error Reporting): Set to Disabled & stopped.
- DataCollection Policy: Telemetry level set to
0(Security / Minimum).
- Bing Web Search: Prevents Start menu searches from sending queries to Microsoft Bing servers (
DisableWebSearch = 1,ConnectedSearchUseWeb = 0). - Search Highlights: Removes daily Bing doodles and trending web topics from the search box.
- Start Menu Ads: Disables "Recommended" promotions, account notifications, and suggested app installations (
DisableWindowsConsumerFeatures = 1).
- Widgets Engine: Completely blocked via Group Policy (
AllowNewsAndInterests = 0underHKLM\SOFTWARE\Policies\Microsoft\Dsh). - Memory Optimization: Terminates running
WidgetBoard.exeandWidgetService.exeprocesses (frees up 100–250 MB RAM). - Taskbar Clean-up: Hides the widget taskbar toggle.
Disables newly added and legacy diagnostic tasks, including:
\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser Exp(new in recent updates)\Microsoft\Windows\Sustainability\SustainabilityTelemetry(energy and carbon reporting)\Microsoft\Windows\Flighting\FeatureConfig\*(all feature A/B testing & usage data flushing tasks)\Microsoft\Windows\Customer Experience Improvement Program\*(Consolidator,UsbCeip)\Microsoft\Windows\Feedback\Siuf\*(DmClientfeedback queries)\Microsoft\Windows\Device Information\*andDiskFootprint\Diagnostics
- Disables Copilot sidebar button (
HubsSidebarEnabled = 0). - Disables Edge Copilot reading webpage context (
CopilotPageContext = 0). - Disables inline text rewrite assistant (
ComposeInlineEnabled = 0). - Enforces
DoNotTrack, disables shopping assistant, rewards promotions, and edge diagnostic reporting.
Open PowerShell or Windows Terminal as Administrator and run:
irm https://raw.githubusercontent.com/Dessection/win11-ai-debloat/main/debloat.ps1 | iex(Replace Dessection with your GitHub username once published).
- Clone the repository:
git clone https://github.com/Dessection/win11-ai-debloat.git cd win11-ai-debloat
- Run the script:
.\debloat.ps1
Note
The script includes Auto-Elevation. If you run it without administrator privileges, it will automatically prompt you with a standard Windows UAC confirmation dialog and relaunch itself elevated.
If you ever wish to restore Windows defaults (e.g. re-enable Copilot or default diagnostic data), simply run:
.\revert.ps1All modifications use standard Microsoft Group Policy keys and service startup parameters—nothing is permanently modified or destroyed.
| Operating System | Compatibility |
|---|---|
| Windows 11 26H2 | Full Support |
| Windows 11 24H2 | Full Support |
| Windows 11 23H2 / 22H2 | Full Support |
| Copilot+ PCs (AMD Ryzen AI 300 / Intel Lunar Lake / Snapdragon X) | Optimized |
This project is licensed under the MIT License - free to use, modify, and distribute.