From 41d00a2417de46aa090c18e20490a12df88126cf Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:45:40 -0500 Subject: [PATCH] Remove Unnecessary Edge Policy --- RemoveAi.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }