Disable Copilot, Recall, and all AI-enhanced built-in apps on a Windows 11 machine in a single script run.
Block AI packages from being reinstalled after Windows Updates using the bundled update blocker and scheduled task.
Roll back the script's changes using the built-in backup mode if you decide to restore AI features later.
Must run as Administrator in Windows PowerShell 5.1 specifically, not PowerShell 7, which is not supported.
RemoveWindowsAI is a PowerShell script that removes or disables the AI features Microsoft ships with Windows 11. Starting with the 25H2 build, Windows 11 includes features like Copilot, Recall, input tracking, and various AI enhancements scattered across built-in apps. This script targets all of them and gives users a way to opt out in bulk. The script works through several layers. First, it modifies Windows Registry keys to disable individual AI features, including Copilot (both the system integration and the Edge browser version), Recall (Microsoft's screenshot-and-search memory feature), voice effects, AI in the Settings search, AI features in Photos, Paint, Notepad, and Snipping Tool, gaming Copilot, and Copilot in Office apps. Second, it removes the actual software packages: AI-related Appx packages (including ones marked as non-removable) and packages stored in the CBS (Component-Based Servicing) store, which is the low-level Windows component registry. Third, it installs a custom Windows Update blocker to prevent the AI packages from being reinstalled during future updates. A scheduled task is also created to check after each Windows Update and remove any newly added AI features. There is a backup mode that records what was changed so you can revert later. The script runs through a graphical PowerShell console UI, but also supports command-line flags for non-interactive or automated use. It must be run as Administrator in Windows PowerShell 5.1, not PowerShell 7. Some antivirus programs flag it as malicious, which the README describes as a false positive common to system-modification scripts. Classic versions of Notepad, Paint, Snipping Tool, and Photos can optionally be reinstalled to replace the AI-enhanced versions.
← zoicware on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.