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.
This commit is contained in:
Jeffrey
2022-09-08 16:38:14 +02:00
parent 9b77ff4072
commit a8583720f1
6 changed files with 17 additions and 12 deletions

View File

@@ -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: <code>Set-ExecutionPolicy Unrestricted -Force</code>
4. In powershell, navigate to the directory where the files were extracted. Example: <code>cd c:\\Win10Debloat</code>
5. Enter this into powershell to run the script: <code>.\Win10Debloat.ps1</code> To run the script without any user input you can add arguments at the end, for example: <code>.\Win10Debloat.ps1 -RemoveApps -DisableBingSearches</code>
5. Enter this into powershell to run the script: <code>.\Win10Debloat.ps1</code> To run the script without any user input you can add arguments at the end, for example: <code>.\Win10Debloat.ps1 -RemoveApps -DisableBing</code>
| 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.

Binary file not shown.

Binary file not shown.

View File

@@ -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.

View File

@@ -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'
{