From a8583720f1df88aa78eea7eff6c30da67757166b Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Thu, 8 Sep 2022 16:38:14 +0200 Subject: [PATCH] The disable bing option now also disables cortana in windows search. Shortened the 'DisableBingSearches' argument to 'DisableBing', the old argument 'DisableBingSearches' will continue to work. --- README.md | 10 +++++----- Regfiles/Disable_Bing_Cortana_In_Search.reg | Bin 0 -> 624 bytes Regfiles/Disable_Bing_Searches.reg | Bin 306 -> 0 bytes ...es.reg => Enable_Bing_Cortana_In_Search.reg} | Bin 306 -> 594 bytes Run.ps1 | 4 ++-- Win10Debloat.ps1 | 15 ++++++++++----- 6 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 Regfiles/Disable_Bing_Cortana_In_Search.reg delete mode 100644 Regfiles/Disable_Bing_Searches.reg rename Regfiles/{Enable_Bing_Searches.reg => Enable_Bing_Cortana_In_Search.reg} (51%) diff --git a/README.md b/README.md index 1e81b3d..91f0f15 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ You can pick and choose exactly which modifications you want the script to make, ### The windows 10 default settings will: - Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default). - Disable telemetry, diagnostic data & targeted ads. -- Disable bing in windows search. +- Disable bing & cortana in windows search. - Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper to the windows default) - Disable tips, tricks and suggestions in the startmenu and settings, and sync provider ads in windows explorer. - Hide the Chat (meet now) & Widget (news and interests) icons from the taskbar. @@ -18,7 +18,7 @@ You can pick and choose exactly which modifications you want the script to make, ### The windows 11 default settings will: - Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default). - Disable telemetry, diagnostic data & targeted ads. -- Disable bing in windows search. +- Disable bing & cortana in windows search. - Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper to the windows default) - Disable tips, tricks and suggestions in the startmenu and settings, and sync provider ads in windows explorer. - Hide the Chat & Widget icons from the taskbar. @@ -44,7 +44,7 @@ This method gives you the option to run the script with certain arguments to tai 2. Open powershell as an administrator. 3. Enable powershell execution by entering the following command: Set-ExecutionPolicy Unrestricted -Force 4. In powershell, navigate to the directory where the files were extracted. Example: cd c:\\Win10Debloat -5. Enter this into powershell to run the script: .\Win10Debloat.ps1 To run the script without any user input you can add arguments at the end, for example: .\Win10Debloat.ps1 -RemoveApps -DisableBingSearches +5. Enter this into powershell to run the script: .\Win10Debloat.ps1 To run the script without any user input you can add arguments at the end, for example: .\Win10Debloat.ps1 -RemoveApps -DisableBing | Argument | Description | | --------- | ----------- | @@ -52,7 +52,7 @@ This method gives you the option to run the script with certain arguments to tai | -RunWin11Defaults | Run the script with windows 11 default settings. | | -RemoveApps | Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default). | | -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. | -| -DisableBingSearches | Disable bing in windows search. | +| -DisableBing | Disable bing & cortana in windows search. | | -DisableLockscreenTips | Disable tips & tricks on the lockscreen. | | -DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings, and sync provider ads in windows explorer. | | -DisableChat | Hide the chat (meet now) icon on the taskbar. | @@ -135,7 +135,7 @@ By default, this script only removes apps that most people are unlikely to ever ## Declutter Windows 10/11 This script can also make various changes to declutter windows 10/11, such as: - Disable telemetry, diagnostic data & targeted ads. -- Disable bing in windows search. +- Disable bing & cortana in windows search. - Disable tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default) - Disable tips, tricks and suggestions in the startmenu and settings, and sync provider ads in windows explorer. - Hide the chat (meet now) icon on the taskbar. diff --git a/Regfiles/Disable_Bing_Cortana_In_Search.reg b/Regfiles/Disable_Bing_Cortana_In_Search.reg new file mode 100644 index 0000000000000000000000000000000000000000..27f904559c8d6e4e33eaa51885f6233522176b69 GIT binary patch literal 624 zcmbV}T}uK%6o%jHp#L!V1Hvx4DY{TIk~Cx0B-#jD*KI*|V|Qci&!^9vlClel7=|>v<=5*_y9z_9t@KKs*WeVtW!lFufJ47 z=kTem+FYl`!t?lC$9uU%mQ|rAWB-LtUqcAB)Q8Lf+kspUQeERS)FsTO#67?N^4aC( Y(Ea^eTUIUjd4e?)c#c~Q`)M?_0Ylttm;e9( literal 0 HcmV?d00001 diff --git a/Regfiles/Disable_Bing_Searches.reg b/Regfiles/Disable_Bing_Searches.reg deleted file mode 100644 index d19e02112974455eb4f6cfbfdc0cf93881cbf460..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 306 zcmY+9QA+|*5QV?zp#QM=1H>MB33}0lAdJ{jiB`n)x-EnodyUmUuYG&#C5GYNb7tnu zobzc;#f}X%Es>0zKq(j5({Pj-TdhR3IAdnLv090D;%oX0j7u(3zH!fkGp{TeF;y=Y zJ@O)+^6WpS@U7XZ*|JhC$UMn>s=79V`UR7O8u|FwUGV?fLbU^5&ULqScP-KlJ?@;1 sYQI|xZVPG8nh%Ed9%R0CS*A^Udpj?Y9=CdJliG%xuYp5{Jt-MEYfTwD%^UqJI-JC&95HN*@O7+S zb#6w&fDt||VL~YMrS%v}T`-Z>WlAhQDw(nN=PG21yVs7(W-Cz_wR2?uG-O#Gauv+= Mti%7R=F-ID4WZ*L(EtDd delta 9 Qcmcb_vWaOz(8QJp02C+$VgLXD diff --git a/Run.ps1 b/Run.ps1 index 1b384d5..b04cb68 100644 --- a/Run.ps1 +++ b/Run.ps1 @@ -12,7 +12,7 @@ PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command "& {Start-Process P -ExecutionPolicy Unrestricted -File ""$PSScriptRoot\Win10Debloat.ps1"" -RemoveApps - -DisableBingSearches' + -DisableBing' -Verb RunAs}"; Supported Arguments: @@ -20,7 +20,7 @@ Supported Arguments: -RunWin11Defaults | Run the script with windows 11 default settings. -RemoveApps | Remove all bloatware apps from the list found in README.md. -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. --DisableBingSearches | Disable bing in windows search. +-DisableBing | Disable bing & cortana in windows search. -DisableLockscreenTips | Disable tips & tricks on the lockscreen. -DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings, and ads in windows explorer. -DisableOnedrive | Hide the onedrive folder in the windows explorer sidepanel. diff --git a/Win10Debloat.ps1 b/Win10Debloat.ps1 index 61a3669..be1d157 100644 --- a/Win10Debloat.ps1 +++ b/Win10Debloat.ps1 @@ -6,6 +6,7 @@ param [Parameter(ValueFromPipeline=$true)][switch]$RemoveApps, [Parameter(ValueFromPipeline=$true)][switch]$DisableTelemetry, [Parameter(ValueFromPipeline=$true)][switch]$DisableBingSearches, + [Parameter(ValueFromPipeline=$true)][switch]$DisableBing, [Parameter(ValueFromPipeline=$true)][switch]$DisableLockscreenTips, [Parameter(ValueFromPipeline=$true)][switch]$DisableWindowsSuggestions, [Parameter(ValueFromPipeline=$true)][switch]$DisableChat, @@ -153,7 +154,7 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (( Write-Output "-------------------------------------------------------------------------------------------" $PSBoundParameters.Add('RemoveApps', $RemoveApps) $PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry) - $PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches) + $PSBoundParameters.Add('DisableBing', $DisableBing) $PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips) $PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions) $PSBoundParameters.Add('DisableChat', $DisableChat) @@ -171,7 +172,7 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (( Write-Output "-------------------------------------------------------------------------------------------" $PSBoundParameters.Add('RemoveApps', $RemoveApps) $PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry) - $PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches) + $PSBoundParameters.Add('DisableBing', $DisableBing) $PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips) $PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions) $PSBoundParameters.Add('DisableChat', $DisableChat) @@ -194,9 +195,9 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (( $PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry) } - if($( Read-Host -Prompt "Disable bing in windows search? (y/n)" ) -eq 'y') + if($( Read-Host -Prompt "Disable bing & cortana in windows search? (y/n)" ) -eq 'y') { - $PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches) + $PSBoundParameters.Add('DisableBing', $DisableBing) } if($( Read-Host -Prompt "Disable tips & tricks on the lockscreen? (y/n)" ) -eq 'y') @@ -283,7 +284,11 @@ switch ($PSBoundParameters.Keys) } 'DisableBingSearches' { - RegImport "> Disabling bing in windows search..." $PSScriptRoot\Regfiles\Disable_Bing_Searches.reg + RegImport "> Disabling bing & cortana in windows search..." $PSScriptRoot\Regfiles\Disable_Bing_Cortana_In_Search.reg + } + 'DisableBing' + { + RegImport "> Disabling bing & cortana in windows search..." $PSScriptRoot\Regfiles\Disable_Bing_Cortana_In_Search.reg } 'DisableLockscreenTips' {