移除Windows AI
RemoveWindowsAI

原始链接: https://github.com/zoicware/RemoveWindowsAI

## RemoveWindowsAI:摘要 `RemoveWindowsAI` 脚本旨在全面移除 Windows 11 (25H2 及未来版本) 中的 AI 功能,以增强用户隐私、安全,并可能提升系统性能。它针对 Copilot、Recall、输入洞察等组件,以及 Paint 和设置等应用中的 AI 功能。 该脚本通过禁用注册表项、移除关联的应用程序包(包括通常被认为无法移除的包)、删除 AI 相关文件,以及通过 Windows 更新阻止这些组件的未来重新安装来工作。它提供多种执行模式——交互式、包含所有选项的非交互式,或特定选项选择——并包含备份/还原功能。 **重要提示:** * 杀毒软件可能会错误地将该脚本标记为恶意软件;可能需要临时禁用或添加排除项。 * 不建议使用 PowerShell 7 运行。请使用 Windows PowerShell (5.1)。 * 该脚本会不断更新,以应对微软添加的新 AI 功能。 * 用户可以通过报告未发现的 AI 组件来贡献。 更多详细信息和脚本本身请在此处查找:[https://github.com/zoicware/RemoveWindowsAI](https://github.com/zoicware/RemoveWindowsAI)

一个名为RemoveWindowsAI的新GitHub项目在Hacker News上引发了争论。该项目旨在禁用最近添加到Windows 11的人工智能组件。 一位评论员质疑该项目的目的,建议担心微软控制或安全性的用户应该直接更换操作系统。其他人则为Windows辩护,认为它在开发和游戏方面具有优势(尽管Linux有所改进,例如Steam Deck),或者建议使用虚拟机作为替代方案。 讨论强调了区分设备端人工智能处理和云端人工智能的必要性,并建议使用单独的脚本来解决每个问题。一些人对该项目的动机表示怀疑,质疑它是否是一项真正的安全努力,或者是一项潜在的冒险行为。最终,对话的中心是用户控制、隐私以及不同操作系统和人工智能实现的权衡。
相关文章

原文

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

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 Powershell Console as Administrator


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")))
& ([scriptblock]::Create((irm 'https://kutt.it/RWAI')))
Click to View UI Capture2

 

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

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.

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

"Buy Me A Coffee"

Discord

联系我们 contact @ memedata.com