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
Prevent Reinstall of AI Packages
Disable Copilot policies
Remove AI Appx Packages
Nonremovable packages and WindowsWorkloadRemove Recall Optional Feature
Remove AI Packages in CBS
Remove AI Files
Hide AI Components
AI ComponentsDisable Rewrite AI Feature in Notepad
Remove Windows AI Tasks
Update Cleanup Check
[!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 is no longer supported and it WILL 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")))
& ([scriptblock]::Create((irm 'https://kutt.to/RWAI')))
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,RemoveAppxPackages,DisableCopilotPolicies
Run with Specific Options Excluded Example
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -ExcludeOptions -Options DisableRegKeys,RemoveAppxPackages,DisableCopilotPolicies
All Possible Options:
DisableRegKeys
PreventAIPackageReinstall
DisableCopilotPolicies
RemoveAppxPackages
RemoveRecallFeature
RemoveCBSPackages
RemoveAIFiles
HideAIComponents
DisableRewrite
RemoveWindowsAITasks
UpdateCleanupCheck
Run Install Classic Apps
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -InstallClassicApps photoviewer,mspaint,snippingtool,notepad
All Possible Options:
photoviewer
mspaint
snippingtool
notepad
photoslegacy
Run with Backup Mode Enabled
[!NOTE]
Backup Mode needs to be enabled to be able to fully revertThis creates a restore point for you
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -backupMode -AllOptions
Revert Changes
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -revertMode -AllOptions
Given 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 FeatureIf 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 :)