Reclaim your privacy and performance. The definitive script to remove AI components from Windows 11, including Copilot and Recall.
Windows 11 (25H2+) integrates increasing AI components. Remove Windows AI is an open-source script that provides a way to remove these features for improved performance, privacy, and security.
Installs custom Windows Update package to prevent reinstall of AI packages in the CBS (Component-Based Servicing) store.
Disables policies related to Copilot and Recall in IntegratedServicesRegionPolicySet.json.
Removes all AI appx packages including Nonremovable packages and WindowsWorkload.
This will remove hidden and locked AI packages in the CBS (Component-Based Servicing) store.
This will do a full system cleanup removing all remaining AI installers, registry keys, and package files.
This will hide the settings page AI Components.
Forceably removes all instances of Recall's scheduled tasks.
Unfortunately, not all features and settings can be disabled through the script. This guide will cover other AI features that can be disabled manually.
Click to Read the Guide →⚠️ 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.
Run from Windows PowerShell 5.1 as Administrator.
Warning
PowerShell 7 may cause issues. Use version 5.1. Some anti-viruses may show false positives.
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
& ([scriptblock]::Create((irm 'https://kutt.it/RWAI')))
Non-Interactive (All Options)
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -AllOptions
Specific Options Example
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -Options DisableRegKeys,RemoveNudgesKeys,RemoveAppxPackages
Available Parameters
Reversion
Use -backupMode during removal to enable -revertMode later.
... -nonInteractive -backupMode -AllOptions
... -nonInteractive -revertMode -AllOptions