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 0000000..f0e6c54 Binary files /dev/null and b/Regfiles/Disable_Edge_Ads_And_Suggestions.reg differ diff --git a/Regfiles/Disable_Telemetry.reg b/Regfiles/Disable_Telemetry.reg index 3ec544c..dd92252 100644 Binary files a/Regfiles/Disable_Telemetry.reg and b/Regfiles/Disable_Telemetry.reg differ 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 0000000..f0e6c54 Binary files /dev/null and b/Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg differ diff --git a/Regfiles/Sysprep/Disable_Telemetry.reg b/Regfiles/Sysprep/Disable_Telemetry.reg index f34363d..c3d79eb 100644 Binary files a/Regfiles/Sysprep/Disable_Telemetry.reg and b/Regfiles/Sysprep/Disable_Telemetry.reg differ 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 0000000..5b07ad7 Binary files /dev/null and b/Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg differ diff --git a/Regfiles/Undo/Enable_Telemetry.reg b/Regfiles/Undo/Enable_Telemetry.reg index be13347..7be4240 100644 Binary files a/Regfiles/Undo/Enable_Telemetry.reg and b/Regfiles/Undo/Enable_Telemetry.reg differ diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 6f0cd0a..86c1a43 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -25,6 +25,7 @@ param ( [switch]$DisableDesktopSpotlight, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, + [switch]$DisableEdgeAds, [switch]$DisableSettings365Ads, [switch]$DisableSettingsHome, [switch]$ShowHiddenFolders, @@ -42,6 +43,7 @@ param ( [switch]$DisableRecall, [switch]$DisablePaintAI, [switch]$DisableNotepadAI, + [switch]$DisableEdgeAI, [switch]$DisableWidgets, [switch]$HideWidgets, [switch]$DisableChat, [switch]$HideChat, [switch]$EnableEndTask, @@ -885,8 +887,9 @@ function DisplayCustomModeOptions { Write-Output "" - if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer and lockscreen? (y/n)" ) -eq 'y') { + if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer, lockscreen and edge? (y/n)" ) -eq 'y') { AddParameter 'DisableSuggestions' 'Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer' + AddParameter 'DisableEdgeAds' 'Disable ads and the MSN news feed in Microsoft Edge' AddParameter 'DisableSettings365Ads' 'Disable Microsoft 365 ads in Settings Home' AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen' } @@ -906,7 +909,7 @@ function DisplayCustomModeOptions { Write-Host "Options:" -ForegroundColor Yellow Write-Host " (n) Don't disable any AI features" -ForegroundColor Yellow Write-Host " (1) Disable Microsoft Copilot and Windows Recall snapshots" -ForegroundColor Yellow - Write-Host " (2) Disable Microsoft Copilot, Windows Recall snapshots and AI features in Paint and Notepad" -ForegroundColor Yellow + Write-Host " (2) Disable Microsoft Copilot, Windows Recall snapshots and AI features in Microsoft Edge, Paint and Notepad" -ForegroundColor Yellow $DisableAIInput = Read-Host "Do you want to disable any AI features? This applies to all users (n/1/2)" } while ($DisableAIInput -ne 'n' -and $DisableAIInput -ne '0' -and $DisableAIInput -ne '1' -and $DisableAIInput -ne '2') @@ -920,6 +923,7 @@ function DisplayCustomModeOptions { '2' { AddParameter 'DisableCopilot' 'Disable & remove Microsoft Copilot' AddParameter 'DisableRecall' 'Disable Windows Recall snapshots' + AddParameter 'DisableEdgeAI' 'Disable AI features in Edge' AddParameter 'DisablePaintAI' 'Disable AI features in Paint' AddParameter 'DisableNotepadAI' 'Disable AI features in Notepad' } @@ -1397,7 +1401,7 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS Read-Host | Out-Null } - $DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup' + $DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup' PrintHeader 'Default Mode' @@ -1572,6 +1576,10 @@ switch ($script:Params.Keys) { RegImport "> 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