3.8 KiB
Remove Windows Ai
Why?
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.
Script Features
- 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
Manual AI Disablement
- Unfourtently, not all features and settings can be disabled via a script. This guide will show additional AI features to disable.
Read the Script Docs Here
How to Use
Run From Powershell Console as Administrator
Launch with UI
curl https://git.vichingo455.freeddns.org/Vichingo455/RemoveWindowsAI/raw/branch/main/RemoveWindowsAi.ps1 | powershell >nul
Command Line Options
Run in Non-Interactive Mode with All Options
& ([scriptblock]::Create((irm "https://git.vichingo455.freeddns.org/Vichingo455/RemoveWindowsAI/raw/branch/main/RemoveWindowsAi.ps1"))) -nonInteractive -AllOptions
Run with Specific Options Example
& ([scriptblock]::Create((irm "https://git.vichingo455.freeddns.org/Vichingo455/RemoveWindowsAI/raw/branch/main/RemoveWindowsAi.ps1"))) -nonInteractive -Options DisableRegKeys,RemoveNudgesKeys,RemoveAppxPackages
All 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://git.vichingo455.freeddns.org/Vichingo455/RemoveWindowsAI/raw/branch/main/RemoveWindowsAi.ps1"))) -nonInteractive -backupMode -AllOptions
Revert Changes
& ([scriptblock]::Create((irm "https://git.vichingo455.freeddns.org/Vichingo455/RemoveWindowsAI/raw/branch/main/RemoveWindowsAi.ps1"))) -nonInteractive -revertMode -AllOptions
Updates
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.
