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.
- Disable Registry Keys
- Disable Copilot
- Disable Recall
- Disable Input Insights and typing data harvesting
- Copilot in Edge
- Image Creator in Paint
- Remove AI Fabric Service
- Disable AI Actions
- Disable AI in Paint
- Disable Voice Access
- Disable AI Voice Effects
- Disable AI in Settings Search
- Prevent Reinstall of AI Packages
- Installs custom Windows Update package to prevent reinstall of AI packages in the CBS (Component-Based Servicing) store
- Disable Copilot policies
- Disables policies related to Copilot and Recall in IntegratedServicesRegionPolicySet.json
- Remove AI Appx Packages
- Removes all AI appx packages including
Nonremovablepackages and WindowsWorkload
- Removes all AI appx packages including
- Remove Recall Optional Feature
- Remove AI Packages in CBS
- This will remove hidden and locked AI packages in the CBS (Component-Based Servicing) store
- Remove AI Files
- This will do a full system cleanup removing all remaining AI installers, registry keys, and package files
- Hide AI Components
- This will hide the settings page
AI Components
- This will hide the settings page
- Disable Rewrite AI Feature in Notepad
- Remove Recall Tasks
- Forceably removes all instances of Recall's scheduled tasks
- Unfourtently, not all features and settings can be disabled via a script. This guide will show additional AI features to disable.
Warning
Some third party anti-viruses will falsely detect the script as malicious, obviously this is a false positive and the anti-virus will need to be temporarily disabled or set the script as an exclusion.
Due to the nature of making advanced changes to the system many debloat tools/scripts will be falsely detected as malware... if you are unsure about the script I always recommend testing any software in a virtual machine first
Warning
Running the script with PowerShell 7 can cause issues, to avoid this ensure you are running Windows PowerShell (5.1)
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))Link shortened using open source link shortener: https://kutt.it/
& ([scriptblock]::Create((irm 'https://kutt.it/RWAI')))
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.
You can view the newest updates to the script here: https://github.com/zoicware/RemoveWindowsAI/commits/main/
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.
If you would like to support my work consider donating :)


