The current 25H2 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
- Prevent Windows Update from Reinstalling AI Packages
- Unfourtently, not all features and settings can be disabled via a script. This guide will show additional AI features to disable.
& ([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 -AllOptionsRun with Specific Options Example
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -Options DisableRegKeys,RemoveNudgesKeys,RemoveAppxPackagesAll Possible Options:
DisableRegKeys
PreventAIPackageReinstall
DisableCopilotPolicies
RemoveAppxPackages
RemoveRecallFeature
RemoveCBSPackages
RemoveAIFiles
HideAIComponents
DisableRewrite
RemoveRecallTasks
Run with Backup Mode Enabled
Note
Backup Mode needs to be enabled to be able to fully revert
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -backupMode -AllOptionsRevert Changes
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -revertMode -AllOptionsGiven 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.

