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 0000000..27f9045 Binary files /dev/null and b/Regfiles/Disable_Bing_Cortana_In_Search.reg differ diff --git a/Regfiles/Disable_Bing_Searches.reg b/Regfiles/Disable_Bing_Searches.reg deleted file mode 100644 index d19e021..0000000 Binary files a/Regfiles/Disable_Bing_Searches.reg and /dev/null differ diff --git a/Regfiles/Enable_Bing_Searches.reg b/Regfiles/Enable_Bing_Cortana_In_Search.reg similarity index 51% rename from Regfiles/Enable_Bing_Searches.reg rename to Regfiles/Enable_Bing_Cortana_In_Search.reg index cd5072c..9434d75 100644 Binary files a/Regfiles/Enable_Bing_Searches.reg and b/Regfiles/Enable_Bing_Cortana_In_Search.reg differ 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' {