Windows AI - 禁用
本页由 tools/devdocs-generator.ps1 生成,请修改源配置或函数后重新生成。目录保留历史 URL,实际分类以本页为准。
- 稳定 ID:
WPFTweaksWindowsAI - 当前分类:z__高级优化 - 谨慎
- 源配置:
config/tweaks.json - 源配置 SHA-256:
09ebd3bfcdbb4a45f67506a5c926f7f468d1da38a2a95e8accaa0d9f7e062fa9
移除或禁用所有 AI 功能与组件(如 Copilot、Recall)。
本页描述实现,不代表推荐勾选。历史恢复仅覆盖工具实际记录的设置;配置中的 OriginalValue / OriginalType 不等于这台电脑的修改前状态。应用、文件及脚本其他改动不保证可恢复。
配置定义
{
"WPFTweaksWindowsAI": {
"Content": "Windows AI - 禁用",
"Description": "移除或禁用所有 AI 功能与组件(如 Copilot、Recall)。",
"category": "z__高级优化 - 谨慎",
"panel": "1",
"registry": [
{
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
"Name": "SettingsPageVisibility",
"Value": "hide:aicomponents",
"Type": "String",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKLM:\\SOFTWARE\\Policies\\WindowsNotepad",
"Name": "DisableAIFeatures",
"Value": "1",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
}
],
"InvokeScript": [
"\r\n $Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName\r\n $Sid = (Get-LocalUser $Env:UserName).Sid.Value\r\n\r\n New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force\r\n\r\n Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers\r\n Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers\r\n Remove-AppxPackage $Appx\r\n\r\n Set-Service -Name WSAIFabricSvc -StartupType Disabled\r\n Disable-WindowsOptionalFeature -FeatureName Recall -Online -NoRestart\r\n\r\n Write-Host \"Windows AI Disabled\"\r\n "
],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/windowsai"
}
}