Files
winutil/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/WindowsAI.md
T

55 lines
1.9 KiB
Markdown
Raw Normal View History

2026-05-12 13:03:01 -05:00
---
2026-06-22 13:52:03 -05:00
title: "Windows AI - Disable And Remove"
2026-05-12 13:03:01 -05:00
description: ""
---
2026-07-01 12:14:00 -05:00
```json {filename="config/tweaks.json",linenos=inline,linenostart=887}
2026-05-12 13:03:01 -05:00
"WPFTweaksWindowsAI": {
2026-06-22 13:52:03 -05:00
"Content": "Windows AI - Disable And Remove",
"Description": "Removes and disables all AI features/packages",
2026-05-12 13:03:01 -05:00
"category": "z__Advanced Tweaks - CAUTION",
"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",
2026-05-28 13:14:28 -05:00
"Value": "1",
2026-05-12 13:03:01 -05:00
"Type": "DWord",
"OriginalValue": "<RemoveEntry>"
}
],
"InvokeScript": [
"
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
2026-06-22 13:52:03 -05:00
Get-AppxPackage -AllUsers \"*Copilot*\" | Remove-AppxPackage -AllUsers
2026-05-12 13:03:01 -05:00
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
2026-06-29 10:32:35 -05:00
if ($Appx) {
Remove-AppxPackage $Appx
}
2026-05-12 13:03:01 -05:00
Set-Service -Name WSAIFabricSvc -StartupType Disabled
2026-06-08 09:45:11 -05:00
Disable-WindowsOptionalFeature -FeatureName Recall -Online -NoRestart
2026-05-12 13:03:01 -05:00
Write-Host \"Windows AI Disabled\"
"
],
```
## Registry Changes
Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place.
2026-05-26 15:17:54 -05:00
You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).