The current 24H2 build of Windows 11 and future builds will include increasingly more AI features and components. This script aims to remove ALL of these features to improve user experience, privacy and security.

- Registry
- Disable Copilot, Recall, Input Insights, CoPilot in Edge, Image Creator in Paint, Remove AI Fabric Service
- Remove all AI appxpackages and force remove the files
- Disable Copilot policies in IntegratedServicesRegionPolicySet.json
- Remove Recall Optional Feature
- Remove all hidden Copilot installers
- Disable Rewrite for Notepad
- Delete any screenshots and data stored by Recall
- Remove Recall Scheduled Task
- Remove Machine Learning DLL's
- Remove Hidden AI CBS Packages
Important
HELP WANTED
Currently, the script contains appx packages installed on Copilot+ PCs however, there could be more on different configurations as well as other features
If you have one of these PCs submit an issue so we can check if the script is missing anything
Launch with UI
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
Run in Non-Interactive Mode with All Options
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -AllOptions
Run with Specific Options Example
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -Options DisableRegKeys,RemoveNudgesKeys,RemoveAppxPackages
All Possible Options:
DisableRegKeys
RemoveNudgesKeys
DisableCopilotPolicies
RemoveAppxPackages
RemoveRecallFeature
RemoveCBSPackages
RemoveAIFiles
HideAIComponents
DisableRewrite
RemoveRecallTasks
Given that Microsoft are continually updating and adding new AI features this script will attempt to stay updated for the newest stable build.
Note
Any feature added to an insider build will not be added to this script till it's added to the latest stable release
Tip
Submitting An AI Feature
If you find an AI feature or registry key that is not currently removed or disabled by the script submit an issue with as much information as possible and I will add it to the script.