diff --git a/RemoveAi.ps1 b/RemoveAi.ps1 index a20b800..bd0ffe7 100644 --- a/RemoveAi.ps1 +++ b/RemoveAi.ps1 @@ -35,7 +35,6 @@ Reg.exe add 'HKCU\Software\Microsoft\input\Settings' /v 'InsightsEnabled' /t REG #disable copilot in edge Reg.exe add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'CopilotCDPPageContext' /t REG_DWORD /d '0' /f *>$null Reg.exe add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'CopilotPageContext' /t REG_DWORD /d '0' /f *>$null -Reg.exe add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'DiscoverPageContextEnabled' /t REG_DWORD /d '0' /f *>$null Reg.exe add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'HubsSidebarEnabled' /t REG_DWORD /d '0' /f *>$null #force policy changes gpupdate /force >$null @@ -156,4 +155,4 @@ Remove-Item -Path "$env:LOCALAPPDATA\CoreAIPlatform*" -Force -Recurse -ErrorActi $input = Read-Host 'Done! Press Any Key to Exit' -if ($input) { exit } \ No newline at end of file +if ($input) { exit }