From c881858f32251fae7e47b346714ae1501052236c Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Sat, 16 Aug 2025 01:36:00 +0200 Subject: [PATCH] Add option to disable ads, newsfeed and AI in MS Edge --- Assets/Menus/DefaultSettings | 1 + Assets/Menus/Info | 2 ++ Get.ps1 | 2 ++ README.md | 3 +++ Regfiles/Disable_Edge_AI_Features.reg | 11 +++++++++++ Regfiles/Disable_Edge_Ads_And_Suggestions.reg | Bin 0 -> 494 bytes Regfiles/Disable_Telemetry.reg | Bin 3484 -> 4082 bytes Regfiles/Sysprep/Disable_Edge_AI_Features.reg | 11 +++++++++++ .../Disable_Edge_Ads_And_Suggestions.reg | Bin 0 -> 494 bytes Regfiles/Sysprep/Disable_Telemetry.reg | Bin 3502 -> 4100 bytes Regfiles/Undo/Enable_Edge_AI_Features.reg | 11 +++++++++++ .../Undo/Enable_Edge_Ads_And_Suggestions.reg | Bin 0 -> 440 bytes Regfiles/Undo/Enable_Telemetry.reg | Bin 3690 -> 4258 bytes Win11Debloat.ps1 | 18 +++++++++++++++--- 14 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 Regfiles/Disable_Edge_AI_Features.reg create mode 100644 Regfiles/Disable_Edge_Ads_And_Suggestions.reg create mode 100644 Regfiles/Sysprep/Disable_Edge_AI_Features.reg create mode 100644 Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg create mode 100644 Regfiles/Undo/Enable_Edge_AI_Features.reg create mode 100644 Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg diff --git a/Assets/Menus/DefaultSettings b/Assets/Menus/DefaultSettings index 1c128db..f9e36a4 100644 --- a/Assets/Menus/DefaultSettings +++ b/Assets/Menus/DefaultSettings @@ -2,6 +2,7 @@ Win11Debloat will make the following changes: - Remove the default selection of apps, the list can be found in the 'Appslist.txt' file. - Disable telemetry, diagnostic data, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications and more. +- Disable ads and the MSN news feed in Microsoft Edge. - Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper) - Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Microsoft Copilot. (W11 only) diff --git a/Assets/Menus/Info b/Assets/Menus/Info index bf2c2b8..3985bfd 100644 --- a/Assets/Menus/Info +++ b/Assets/Menus/Info @@ -12,6 +12,7 @@ App Removal Telemetry, Tracking & Suggested Content - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions & ads across Windows. +- Disable ads and the MSN news feed in Microsoft Edge. - Disable the 'Windows Spotlight' desktop background option. Bing Web Search, Copilot & AI Features @@ -63,6 +64,7 @@ The default mode applies the changes that are recommended for most users. This i - Remove the default selection of apps, the list can be found in the 'Appslist.txt' file. - Disable telemetry, diagnostic data, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications and more. +- Disable ads and the MSN news feed in Microsoft Edge. - Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper) - Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Microsoft Copilot. (W11 only) diff --git a/Get.ps1 b/Get.ps1 index 277c34f..a436a32 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -23,6 +23,7 @@ param ( [switch]$DisableDesktopSpotlight, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, + [switch]$DisableEdgeAds, [switch]$DisableSettings365Ads, [switch]$DisableSettingsHome, [switch]$ShowHiddenFolders, @@ -40,6 +41,7 @@ param ( [switch]$DisableRecall, [switch]$DisablePaintAI, [switch]$DisableNotepadAI, + [switch]$DisableEdgeAI, [switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableChat, [switch]$HideChat, [switch]$EnableEndTask, diff --git a/README.md b/README.md index a91046a..cc63492 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. +- Disable ads and the MSN news feed in Microsoft Edge. - Disable the 'Windows Spotlight' desktop background option. #### Bing Web Search, Copilot & AI Features @@ -109,6 +110,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Microsoft Copilot. (W11 only) - Disable Windows Recall snapshots. (W11 only) +- Disable AI Features in Edge (W11 only) - Disable AI Features in Paint (W11 only) - Disable AI Features in Notepad (W11 only) @@ -164,6 +166,7 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t - Remove the default selection of bloatware apps. (See below for full list) - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. +- Disable ads and the MSN news feed in Microsoft Edge. - Disable & remove Bing web search, Bing AI and Cortana from Windows search. - Disable & remove Microsoft Copilot. (W11 only) - Disable Fast Start-up to ensure a full shutdown. diff --git a/Regfiles/Disable_Edge_AI_Features.reg b/Regfiles/Disable_Edge_AI_Features.reg new file mode 100644 index 0000000..14d347c --- /dev/null +++ b/Regfiles/Disable_Edge_AI_Features.reg @@ -0,0 +1,11 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] +"CopilotCDPPageContext"=dword:00000000 +"CopilotPageContext"=dword:00000000 +"HubsSidebarEnabled"=dword:00000000 +"EdgeEntraCopilotPageContext"=dword:00000000 +"EdgeHistoryAISearchEnabled"=dword:00000000 +"ComposeInlineEnabled"=dword:00000000 +"GenAILocalFoundationalModelSettings"=dword:00000001 +"NewTabPageBingChatEnabled"=dword:00000000 diff --git a/Regfiles/Disable_Edge_Ads_And_Suggestions.reg b/Regfiles/Disable_Edge_Ads_And_Suggestions.reg new file mode 100644 index 0000000000000000000000000000000000000000..f0e6c5418426d16b4091f631d72773c82eb34424 GIT binary patch literal 494 zcmaiw-Acni5QWdR;5#gR0I?U|C|;B{lHy-!ibaf+wn<8`>`D?TzP$SFw7o0HGMkw> znRCw0@6TMdyb1;F)XHh9QX6`$IyL&HlYrJ#f!gT>yaBDLJ@u6?bjdl_nZ*sgkQr+YA zRSP}nSwju@F3=v3ry8S?C|3q{r42U~PI!{JI3 z?uZS|V@KwBW5RvhL7|>*dC|`N7rM5c#l0O*e8Xwh6ki3LBcg)w3%4E0ft_SvQLp`n Izi+Pp0L9T$egFUf literal 0 HcmV?d00001 diff --git a/Regfiles/Disable_Telemetry.reg b/Regfiles/Disable_Telemetry.reg index 3ec544cd13b487a03ff99f7bbbf247fbd3ce8b8f..dd922521d52e5d93ef550e56e5f103207a12a0d9 100644 GIT binary patch delta 356 zcmZutI|{-;6daL&A4GzUAd07cV7aWoQ zrWMU0`3;X|Pey0L+;l3o17mzy;_pNMR4+K6@hYj8Rm`(8HjjG0S$xPG4b;#xzT>$w P*6!qCwweo>ZE5%cRkBEv delta 7 Ocmew)KSz4Q99{qpECV6{ diff --git a/Regfiles/Sysprep/Disable_Edge_AI_Features.reg b/Regfiles/Sysprep/Disable_Edge_AI_Features.reg new file mode 100644 index 0000000..14d347c --- /dev/null +++ b/Regfiles/Sysprep/Disable_Edge_AI_Features.reg @@ -0,0 +1,11 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] +"CopilotCDPPageContext"=dword:00000000 +"CopilotPageContext"=dword:00000000 +"HubsSidebarEnabled"=dword:00000000 +"EdgeEntraCopilotPageContext"=dword:00000000 +"EdgeHistoryAISearchEnabled"=dword:00000000 +"ComposeInlineEnabled"=dword:00000000 +"GenAILocalFoundationalModelSettings"=dword:00000001 +"NewTabPageBingChatEnabled"=dword:00000000 diff --git a/Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg b/Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg new file mode 100644 index 0000000000000000000000000000000000000000..f0e6c5418426d16b4091f631d72773c82eb34424 GIT binary patch literal 494 zcmaiw-Acni5QWdR;5#gR0I?U|C|;B{lHy-!ibaf+wn<8`>`D?TzP$SFw7o0HGMkw> znRCw0@6TMdyb1;F)XHh9QX6`$IyL&HlYrJ#f!gT>yaBDLJ@u6?bjdl_nZ*sgkQr+YA zRSP}nSwju@F3=v3ry8S?C|3q{r42U~PI!{JI3 z?uZS|V@KwBW5RvhL7|>*dC|`N7rM5c#l0O*e8Xwh6ki3LBcg)w3%4E0ft_SvQLp`n Izi+Pp0L9T$egFUf literal 0 HcmV?d00001 diff --git a/Regfiles/Sysprep/Disable_Telemetry.reg b/Regfiles/Sysprep/Disable_Telemetry.reg index f34363d47b4906cb3d1e1142361a2debc7962486..c3d79eb2915124ccd6b2df6e1bfd7173a604bd52 100644 GIT binary patch delta 384 zcmZutI|{;35S$c>A4J4P5HVO-*@y?Qvb3?YP>A^>7%@??vhfD*9^#3t1h3)jh7>}I zyzI{Go0)yj{=2oX?qZHBmU>B0gJ|a&?CrPa#Ai<{2s~F+{vTB33Eo6AIkaKA`PI z`tl1By`AjGP delta 7 OcmZosSSP(<9WMY2t^(Nr diff --git a/Regfiles/Undo/Enable_Edge_AI_Features.reg b/Regfiles/Undo/Enable_Edge_AI_Features.reg new file mode 100644 index 0000000..d944ecb --- /dev/null +++ b/Regfiles/Undo/Enable_Edge_AI_Features.reg @@ -0,0 +1,11 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] +"CopilotCDPPageContext"=- +"CopilotPageContext"=- +"HubsSidebarEnabled"=- +"EdgeEntraCopilotPageContext"=- +"EdgeHistoryAISearchEnabled"=- +"ComposeInlineEnabled"=- +"GenAILocalFoundationalModelSettings"=- +"NewTabPageBingChatEnabled"=- diff --git a/Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg b/Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg new file mode 100644 index 0000000000000000000000000000000000000000..5b07ad734373bdefb2e8f246bd4b46939fe3f285 GIT binary patch literal 440 zcmaKoO-sW-6h+Tk@IQp^6*sQLMX8mDU!^G)F;cW`O0Y~Mjfj6haCCsvzO{5F#=CKv-WJp zwP)vY8d(jMN?Xm<4lTHG6704KDtAjgGc{teOx|m9i~M$ntyK-Yh(+fIaxP7J&x|W> z8PNAX)4T6J=R%JmC56~I6Q<6`X);nXYR#>sYULk!%k%~@?_+Z7sTR{t(k(}>5gVk8 oox9*2hpso(DfwJigsbKkHAe{)5PiDvf^YeiGa-dp}8F@f;AQMY~a;ZQy*i8eO zP{dFMvZo%%1ZhoTs05NA36K$)Kr$UH3UUU>aF|F2kW~ycJ|Ad6CD{5jptWUSekM>H zVj9dL$v| Disabling tips, tricks, suggestions and ads across Windows..." "Disable_Windows_Suggestions.reg" continue } + 'DisableEdgeAds' { + RegImport "> Disabling ads and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg" + continue + } {$_ -in "DisableLockscrTips", "DisableLockscreenTips"} { RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg" continue @@ -1608,6 +1616,10 @@ switch ($script:Params.Keys) { RegImport "> Disabling Windows Recall snapshots..." "Disable_AI_Recall.reg" continue } + 'DisableEdgeAI' { + RegImport "> Disabling AI features in Microsoft Edge..." "Disable_Edge_AI_Features.reg" + continue + } 'DisablePaintAI' { RegImport "> Disabling AI features in Paint..." "Disable_Paint_AI_Features.reg" continue