mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Add option to disable ads, newsfeed and AI in MS Edge
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
2
Get.ps1
2
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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
11
Regfiles/Disable_Edge_AI_Features.reg
Normal file
11
Regfiles/Disable_Edge_AI_Features.reg
Normal file
@@ -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
|
||||
BIN
Regfiles/Disable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Disable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
Binary file not shown.
11
Regfiles/Sysprep/Disable_Edge_AI_Features.reg
Normal file
11
Regfiles/Sysprep/Disable_Edge_AI_Features.reg
Normal file
@@ -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
|
||||
BIN
Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Sysprep/Disable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
Binary file not shown.
11
Regfiles/Undo/Enable_Edge_AI_Features.reg
Normal file
11
Regfiles/Undo/Enable_Edge_AI_Features.reg
Normal file
@@ -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"=-
|
||||
BIN
Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg
Normal file
BIN
Regfiles/Undo/Enable_Edge_Ads_And_Suggestions.reg
Normal file
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user