Skip to content

Windows AI - Disable

config/tweaks.json
934  "WPFTweaksWindowsAI": {
935    "Content": "Windows AI - Disable",
936    "Description": "Removes or disables all ai features and packages",
937    "category": "z__Advanced Tweaks - CAUTION",
938    "panel": "1",
939    "registry": [
940      {
941        "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
942        "Name": "SettingsPageVisibility",
943        "Value": "hide:aicomponents",
944        "Type": "String",
945        "OriginalValue": "<RemoveEntry>"
946      },
947      {
948        "Path": "HKLM:\\SOFTWARE\\Policies\\WindowsNotepad",
949        "Name": "DisableAIFeatures",
950        "Value": 1,
951        "Type": "DWord",
952        "OriginalValue": "<RemoveEntry>"
953      }
954    ],
955    "InvokeScript": [
956      "
957      $Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
958      $Sid = (Get-LocalUser $Env:UserName).Sid.Value
959
960      New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
961
962      Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
963      Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
964      Remove-AppxPackage $Appx
965
966      Set-Service -Name WSAIFabricSvc -StartupType Disabled
967      Disable-WindowsOptionalFeature -FeatureName Recall -Online
968
969      Write-Host \"Windows AI Disabled\"
970      "
971    ],

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.

You can find information about the registry on Wikipedia and Microsoft’s Website.