diff --git a/README.md b/README.md index 0f46fbe..f9ef0ab 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/Regfiles/Disable_Explorer_Sync_Notifications.reg b/Regfiles/Disable_Explorer_Sync_Notifications.reg new file mode 100644 index 0000000..1e566c8 --- /dev/null +++ b/Regfiles/Disable_Explorer_Sync_Notifications.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"ShowSyncProviderNotifications"=dword:00000000 \ No newline at end of file diff --git a/Regfiles/Disable_Windows_Suggestions.reg b/Regfiles/Disable_Windows_Suggestions.reg index 0fe6420..c4fba75 100644 Binary files a/Regfiles/Disable_Windows_Suggestions.reg and b/Regfiles/Disable_Windows_Suggestions.reg differ diff --git a/Regfiles/Enable_Explorer_Sync_Notifications.reg b/Regfiles/Enable_Explorer_Sync_Notifications.reg new file mode 100644 index 0000000..c197e2b --- /dev/null +++ b/Regfiles/Enable_Explorer_Sync_Notifications.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"ShowSyncProviderNotifications"=dword:00000001 \ No newline at end of file diff --git a/Regfiles/Enable_Windows_Suggestions.reg b/Regfiles/Enable_Windows_Suggestions.reg index dab3e21..7348a23 100644 Binary files a/Regfiles/Enable_Windows_Suggestions.reg and b/Regfiles/Enable_Windows_Suggestions.reg differ diff --git a/Win10Debloat.ps1 b/Win10Debloat.ps1 index a21cbe0..b072597 100644 --- a/Win10Debloat.ps1 +++ b/Win10Debloat.ps1 @@ -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)