Skip to content

zoicware/RemoveWindowsAI

Repository files navigation

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.

AI-Explorer-icon

Script Features

  • 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 Nonremovable packages and WindowsWorkload
  • 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
  • Disable Rewrite AI Feature in Notepad
  • Remove Recall Tasks
    • Forceably removes all instances of Recall's scheduled tasks

Manual AI Disablement

  • Unfourtently, not all features and settings can be disabled via a script. This guide will show additional AI features to disable.

Disable Other AI Features

Read the Script Docs Here

Documentation


How to Use

Run From Powershell Console as Administrator


Launch with UI

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
Click to View UI Capture2

 

Command Line Options

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,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://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

Updates

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 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.

Donation

If you would like to support my work consider donating :)

"Buy Me A Coffee"

Join The Discord

Discord