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 } }