From 5977591643f5e373853b4b759c1b96b9fe90b2bc Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Fri, 21 Jun 2024 21:38:53 -0400 Subject: [PATCH] Disable Copilot in Edge [fixes #1] --- RemoveAi.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RemoveAi.ps1 b/RemoveAi.ps1 index 858b294..d41ba15 100644 --- a/RemoveAi.ps1 +++ b/RemoveAi.ps1 @@ -13,6 +13,11 @@ foreach ($hive in $hives) { } Reg.exe add 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' /v 'ShowCopilotButton' /t REG_DWORD /d '0' /f *>$null Reg.exe add 'HKCU\Software\Microsoft\input\Settings' /v 'InsightsEnabled' /t REG_DWORD /d '0' /f *>$null +#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