Added setting to remove windows explorer ads & Improved 'Disable Windows Suggestions' setting

This commit is contained in:
Raphire
2022-08-28 22:17:32 +02:00
parent 6a34bc53ff
commit 2ddcfeddfb
6 changed files with 20 additions and 1 deletions

View File

@@ -16,6 +16,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 bing in windows search.
- Disable sync provider ads in windows explorer.
- 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.
@@ -51,6 +52,7 @@ This method is a bit more complicated, but it gives you the option to run the sc
| -Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer. |
| -DisableMusic | Hide the music folder under 'This pc' in windows explorer. |
| -DisableBingSearches | Disable bing in windows search. |
| -DisableExplorerSyncAds | Disable sync provider ads in windows explorer. |
| -DisableLockscreenTips | Disable tips & tricks on the lockscreen. |
| -DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings. |
| -DisableIncludeInLibrary | Disable the 'Include in library' option in the context menu. |
@@ -121,6 +123,7 @@ This script can also make various changes to declutter windows 10/11, such as:
- Hide the 3D objects folder under 'This pc' in windows explorer.
- Hide the music folder under 'This pc' in windows explorer.
- Disable bing in windows search.
- Disable sync provider ads in windows explorer.
- 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.
- Disable the 'Include in library' option in the context menu.

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSyncProviderNotifications"=dword:00000000

View File

@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSyncProviderNotifications"=dword:00000001

View File

@@ -8,6 +8,7 @@ param
[Parameter(ValueFromPipeline=$true)][switch]$Disable3dObjects,
[Parameter(ValueFromPipeline=$true)][switch]$DisableMusic,
[Parameter(ValueFromPipeline=$true)][switch]$DisableBingSearches,
[Parameter(ValueFromPipeline=$true)][switch]$DisableExplorerSyncAds,
[Parameter(ValueFromPipeline=$true)][switch]$DisableLockscreenTips,
[Parameter(ValueFromPipeline=$true)][switch]$DisableWindowsSuggestions,
[Parameter(ValueFromPipeline=$true)][switch]$DisableIncludeInLibrary,
@@ -142,6 +143,7 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
$PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects)
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
$PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds)
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
$PSBoundParameters.Add('DisableIncludeInLibrary', $DisableIncludeInLibrary)
@@ -154,8 +156,9 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
Write-Output "-------------------------------------------------------------------------------------------"
Write-Output " Win10Debloat Script - Windows 11 Default Configuration"
Write-Output "-------------------------------------------------------------------------------------------"
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
$PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds)
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
}
@@ -191,6 +194,11 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
}
if($( Read-Host -Prompt "Disable sync provider ads in windows explorer? (y/n)" ) -eq 'y')
{
$PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds)
}
if($( Read-Host -Prompt "Disable tips & tricks on the lockscreen? (y/n)" ) -eq 'y')
{
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)