opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Clean Windows 11 of built-in AI services
GitHub RepoImpressions65.8k

Project Description

View on GitHub

Scrubbing Windows 11 of Built-in AI: A PowerShell Script for the Privacy-Conscious

If you're running the latest Windows 11 builds, you've probably noticed Microsoft's AI features creeping into every corner of the OS—Copilot in the taskbar, Recall taking snapshots of your activity, and AI assistants embedded in apps you've used for years. Maybe you don't want any of that. Maybe you just want a clean operating system without telemetry-harvesting typing data or an AI fabric service running in the background. That's exactly what the RemoveWindowsAI script aims to do: strip out all the built-in AI components from Windows 11 in one shot.

This open-source PowerShell script targets the current 25H2 build and future versions, removing everything from Copilot and Recall to AI features in Paint, Notepad, and the Photos app. It's a debloating tool with a specific focus—AI services, not just general bloatware.

What It Does

RemoveWindowsAI is a PowerShell script that runs as an administrator and performs a systematic cleanup of AI-related components across your Windows 11 installation. It's not a single action but a collection of operations grouped into several categories:

  • Registry key disabling – Turns off Copilot, Recall, Input Insights (which harvests typing data), Copilot in Edge, AI Experiments in Paint, AI Fabric Service, AI Actions, Voice Access, AI Voice Effects, AI in Settings Search, Gaming Copilot, Copilot in Office apps, AI features in Photos, and Click to Do in Snipping Tool.
  • Package removal – Deletes all AI AppX packages, including nonremovable ones and Windows Workload components. It also removes AI packages from the Component-Based Servicing (CBS) store, which are typically hidden and locked.
  • Policy disabling – Modifies the IntegratedServicesRegionPolicySet.json to disable policies related to Copilot and Recall.
  • File cleanup – Does a full system sweep removing remaining AI installers, registry keys, and package files.
  • Task removal – Forcibly deletes all Windows AI scheduled tasks.
  • Update resilience – Creates a scheduled task that checks after Windows updates and removes any newly installed AI features.
  • Classic app replacement – Optionally replaces modern AI-infested versions of Notepad, Paint, Snipping Tool, and Photo Viewer with their classic counterparts, plus installs Photos Legacy.

The script also includes a manual guide for additional AI features that can't be automated—things you'll need to toggle yourself.

Why It's Cool

This script fills a specific gap that most debloating tools don't address. General debloaters might remove Candy Crush or OneDrive integration, but they rarely go after the deep AI integration Microsoft is baking into the OS. RemoveWindowsAI targets the stuff that's actually collecting data and running in the background.

  • It goes after nonremovable packages. Most users don't realize that many AI components are marked as nonremovable in Windows. This script removes them anyway, which is a significant technical challenge.
  • The update cleanup task is clever. Windows updates will reinstall AI features if you don't block them. The script's scheduled task approach means you don't have to re-run it manually every time Microsoft pushes a cumulative update.
  • CBS store cleanup is something most users can't do on their own. Those locked packages in the Component-Based Servicing store are invisible to normal uninstall tools, and this script removes them directly.
  • Classic app replacements are a nice touch. If you prefer the old Notepad without the "Rewrite with AI" button or the Snipping Tool that doesn't suggest AI actions, you get those back.
  • It's transparent about limitations. The README explicitly notes that not every AI feature can be disabled via script, and it links to a separate guide for manual steps. No false promises here.

The script also comes with a UI mode, so you're not forced into command-line flags if you prefer checkboxes and buttons.

How to Try It

You'll need to run this from Windows PowerShell (version 5.1, not PowerShell 7—the README warns that PowerShell 7 will cause issues). Launch PowerShell as Administrator, then use one of these commands:

With the UI interface:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))

Shortened version (via open-source link shortener):

& ([scriptblock]::Create((irm 'https://kutt.to/RWAI')))

Be aware that some third-party antivirus software will flag this script as malicious. The README calls this a false positive—which is common for system modification tools—and recommends testing in a virtual machine if you're unsure. You can also review the full script documentation on the repository's documentation page before running anything.

Final Thoughts

RemoveWindowsAI is a focused tool for a growing problem. If you're the type of user who values privacy, wants control over what runs on your machine, and doesn't appreciate AI features being forced into every application, this script gives you a systematic way to push back. It's not for everyone—if you actually use Copilot or Windows Recall, you'll obviously want to skip this. But for developers, privacy advocates, and anyone who just wants a clean OS without the AI layer, it's a practical, well-documented solution that goes deeper than most debloaters bother to try.

Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: c54eaf7b-1781-430a-bfdd-46b0fb8f8a32Last updated: December 14, 2025 at 05:36 PM