zoicware/RemoveWindowsAI
zoicware/RemoveWindowsAI has 13,610 GitHub stars and 477 forks. GitHot measured +12 stars in 24 hours and +66 in 7 days. Last checked 2026-11-07 15:58 UTC. Last push 2026-10-29.
强制移除 Windows 11 中的 Copilot、Recall 及更多功能
可以做什么
- Disable Copilot
- Disable Input Insights and typing data harvesting
- Copilot in Edge
- Disable AI Experiments Program in Paint
实测星标增长
- 24小时
- +12
- 7天
- +66
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Remove Windows Ai
Why?
In Windows 11 22H2 Microsoft began adding AI features like Copilot and Recall. Since then, additional AI driven components have been added, many of which have never been publicly documented. This script aims to remove ALL of these features to improve user experience, privacy and security.
Script Features
Disable Registry Keys
- Disable Copilot
- Disable Recall
- Disable Input Insights and typing data harvesting
- Copilot in Edge
- Disable AI Experiments Program in Paint
- Remove AI Fabric Service
- Disable AI Actions
- Disable Voice Access
- Disable AI Voice Effects
- Disable AI in Settings Search
- Disable Gaming Copilot
- Disable Copilot in All Office Apps
- Disable AI Features in Photos App
- Disable Click to Do in Snipping Tool
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
Nonremovablepackages and WindowsWorkload
- Removes all AI appx packages including
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
- This will hide the settings page
Disable Rewrite AI Feature in Notepad
Remove Windows AI Tasks
- Forcibly removes all instances of Windows AI scheduled tasks
Update Cleanup Check
- Creates scheduled task to check if Windows has been updated and if it has, newly installed AI features will be removed
Disable Defender AI
- Disables the Defender AI Platform host process and settings
Disable NPU Device
- Disables the NPU (Neural Processing Unit) on relevant hardware.
Install Classic Apps
- These options will allow you to replace the modern AI infested apps with their classic version
- Options: Replace Notepad, Paint, Snipping Tool, Photo Viewer, and Install Photos Legacy
Manual AI Disabling
- Unfortunately, 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
[!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
How to Use
Run From Powershell Console as Administrator
[!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)
Launch with UI
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
Compact Command:
Link shortened using open source link shortener: https://kutt.to/
& ([scriptblock]::Create((irm 'https://kutt.to/RWAI')))
Click to View UI
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,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
DisableDefenderAI
DisableNPUDevice
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 revert
This 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
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 :)
Join The Discord
YT Guide
How to Remove ALL Windows AI Features
Trophies
探索相关项目
trimstray/the-book-of-secret-knowledge
汇集各类启发灵感的清单、手册、速查表、博客、技巧、单行命令、CLI/Web 工具等内容。
256,695 星标Hack-with-Github/Awesome-Hacking
面向黑客、渗透测试人员与安全研究人员的各类 Awesome 清单合集。
124,920 星标swisskyrepo/PayloadsAllTheThings
一份用于 Web 应用安全以及渗透测试/CTF 的实用 payload 与绕过方法列表。
82,444 星标caddyserver/caddy
快速、可扩展的跨平台 HTTP/1-2-3 Web 服务器,支持自动 HTTPS
78,857 星标
