From bc4d9f5e219dc41d8024c26aa1f175f9ebc48f81 Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Thu, 16 Oct 2025 21:58:58 -0400 Subject: [PATCH] remove ai stuff from update checks --- RemoveWindowsAi.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RemoveWindowsAi.ps1 b/RemoveWindowsAi.ps1 index 7d3ee84..10cdcf6 100644 --- a/RemoveWindowsAi.ps1 +++ b/RemoveWindowsAi.ps1 @@ -1185,6 +1185,13 @@ function Remove-AI-Files { } Remove-Item $uri -Recurse -Force -ErrorAction SilentlyContinue } + + #remove ai app checks in updates (not sure if this does anything) + Reg.exe delete 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components' /v 'AIX' /f *>$null + Reg.exe delete 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components' /v 'CopilotNudges' /f *>$null + Reg.exe delete 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components' /v 'AIContext' /f *>$null + $command = "Reg.exe delete 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\MicrosoftWindows.Client.CoreAI_cw5n1h2txyewy' /f" + Run-Trusted -command $command -psversion $psversion } }