diff --git a/README.md b/README.md index 38d2a43..81c47d7 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,15 @@ # Win10Debloat -Win10Debloat is a simple and lightweight powershell script that removes pre-installed windows 10/11 bloatware apps and declutters the experience by disabling or removing intrusive interface elements and context menu items. The script is specifically designed to be simple, quick and most importantly safe to run, it does not touch any essential windows files, settings or programs that could cause issues in the future. +Win10Debloat is a simple and lightweight powershell script that removes pre-installed windows 10/11 bloatware apps, disables telemetry and declutters the experience by disabling or removing intrusive interface elements, ads and context menu items. No need to painstakingly go through all the settings yourself, or removing apps one by one. Win10Debloat makes te process quick and simple! -You can pick and choose exactly which modifications you want the script to make, but the default settings should be fine for most people. All of the changes can be reverted using the registry files that are included in the 'Regfiles' folder, and all of the apps that are removed by default can easily be reinstalled from the microsoft store. +You can pick and choose exactly which modifications you want the script to make, but the default settings should be fine for most people. All of the changes can be easily reverted using the registry files that are included in the 'Regfiles' folder, and all of the apps that are removed by default can be reinstalled from the microsoft store. ### 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 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 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. - Hide the 3D objects folder under 'This pc' in windows explorer. - Disable the 'Include in library' from context menu. - Disable the 'Give access to' from context menu. @@ -16,11 +17,11 @@ 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 telemetry, diagnostic data & targeted ads. -- 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 bing 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. ### Or select the 'Advanced' option in the menu to customize the script to your needs. @@ -52,10 +53,11 @@ This method gives you the option to run the script with certain arguments to tai | -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. | -| -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. | -| -DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar. | +| -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. | +| -DisableWidgets | Hide the widget (news and interests) icon on the taskbar. | +| -DisableOnedrive | Hide the onedrive folder in the windows explorer sidepanel. | | -Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer. | | -DisableMusic | Hide the music folder under 'This pc' in windows explorer. | | -DisableIncludeInLibrary | Disable the 'Include in library' option in the context menu. | @@ -124,10 +126,11 @@ By default, this script will remove most, but not all of the pre-installed windo 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 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. -- Hide the onedrive folder in the windows explorer sidebar. +- 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. +- Hide the widget (news and interests) icon on the taskbar. +- Hide the onedrive folder in the windows explorer sidepanel. - Hide the 3D objects folder under 'This pc' in windows explorer. - Hide the music folder under 'This pc' in windows explorer. - Disable the 'Include in library' option in the context menu. diff --git a/Regfiles/Disable_Bing_Searches.reg b/Regfiles/Disable_Bing_Searches.reg index 92b856c..d19e021 100644 Binary files a/Regfiles/Disable_Bing_Searches.reg and b/Regfiles/Disable_Bing_Searches.reg differ diff --git a/Regfiles/Disable_Chat_Taskbar.reg b/Regfiles/Disable_Chat_Taskbar.reg new file mode 100644 index 0000000..630c171 Binary files /dev/null and b/Regfiles/Disable_Chat_Taskbar.reg differ diff --git a/Regfiles/Disable_Explorer_Sync_Notifications.reg b/Regfiles/Disable_Explorer_Sync_Notifications.reg deleted file mode 100644 index 1e566c8..0000000 --- a/Regfiles/Disable_Explorer_Sync_Notifications.reg +++ /dev/null @@ -1,4 +0,0 @@ -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_Lockscreen_Tips.reg b/Regfiles/Disable_Lockscreen_Tips.reg index 0f825c0..24bfa17 100644 Binary files a/Regfiles/Disable_Lockscreen_Tips.reg and b/Regfiles/Disable_Lockscreen_Tips.reg differ diff --git a/Regfiles/Disable_Share_from_context_menu.reg b/Regfiles/Disable_Share_from_context_menu.reg index 4e70206..6279163 100644 Binary files a/Regfiles/Disable_Share_from_context_menu.reg and b/Regfiles/Disable_Share_from_context_menu.reg differ diff --git a/Regfiles/Disable_Widgets_Taskbar.reg b/Regfiles/Disable_Widgets_Taskbar.reg new file mode 100644 index 0000000..e1e3541 Binary files /dev/null and b/Regfiles/Disable_Widgets_Taskbar.reg differ diff --git a/Regfiles/Disable_Windows_Suggestions.reg b/Regfiles/Disable_Windows_Suggestions.reg index c4fba75..9456ada 100644 Binary files a/Regfiles/Disable_Windows_Suggestions.reg and b/Regfiles/Disable_Windows_Suggestions.reg differ diff --git a/Regfiles/Enable_Bing_Searches.reg b/Regfiles/Enable_Bing_Searches.reg index 09c7f19..cd5072c 100644 Binary files a/Regfiles/Enable_Bing_Searches.reg and b/Regfiles/Enable_Bing_Searches.reg differ diff --git a/Regfiles/Enable_Chat_Taskbar.reg b/Regfiles/Enable_Chat_Taskbar.reg new file mode 100644 index 0000000..6a50804 Binary files /dev/null and b/Regfiles/Enable_Chat_Taskbar.reg differ diff --git a/Regfiles/Enable_Explorer_Sync_Notifications.reg b/Regfiles/Enable_Explorer_Sync_Notifications.reg deleted file mode 100644 index c197e2b..0000000 --- a/Regfiles/Enable_Explorer_Sync_Notifications.reg +++ /dev/null @@ -1,4 +0,0 @@ -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_Give_access_to_context_menu.reg b/Regfiles/Enable_Give_access_to_context_menu.reg index a94975d..ad68268 100644 Binary files a/Regfiles/Enable_Give_access_to_context_menu.reg and b/Regfiles/Enable_Give_access_to_context_menu.reg differ diff --git a/Regfiles/Enable_Include_in_library_to_context_menu.reg b/Regfiles/Enable_Include_in_library_to_context_menu.reg index 8a58586..21627e0 100644 Binary files a/Regfiles/Enable_Include_in_library_to_context_menu.reg and b/Regfiles/Enable_Include_in_library_to_context_menu.reg differ diff --git a/Regfiles/Enable_Lockscreen_Tips.reg b/Regfiles/Enable_Lockscreen_Tips.reg index fb334ef..41af535 100644 Binary files a/Regfiles/Enable_Lockscreen_Tips.reg and b/Regfiles/Enable_Lockscreen_Tips.reg differ diff --git a/Regfiles/Enable_Share_to_context_menu.reg b/Regfiles/Enable_Share_to_context_menu.reg index 8ad0e0b..deb2a46 100644 Binary files a/Regfiles/Enable_Share_to_context_menu.reg and b/Regfiles/Enable_Share_to_context_menu.reg differ diff --git a/Regfiles/Enable_Telemetry.reg b/Regfiles/Enable_Telemetry.reg index dca4974..3d4f173 100644 Binary files a/Regfiles/Enable_Telemetry.reg and b/Regfiles/Enable_Telemetry.reg differ diff --git a/Regfiles/Enable_Widgets_Taskbar.reg b/Regfiles/Enable_Widgets_Taskbar.reg new file mode 100644 index 0000000..2a03cb5 Binary files /dev/null and b/Regfiles/Enable_Widgets_Taskbar.reg differ diff --git a/Regfiles/Enable_Windows_Suggestions.reg b/Regfiles/Enable_Windows_Suggestions.reg index 7348a23..6d6bd4e 100644 Binary files a/Regfiles/Enable_Windows_Suggestions.reg and b/Regfiles/Enable_Windows_Suggestions.reg differ diff --git a/Regfiles/Hide_Music_Folder.reg b/Regfiles/Hide_Music_Folder.reg index 3b4b7a7..ca87e78 100644 Binary files a/Regfiles/Hide_Music_Folder.reg and b/Regfiles/Hide_Music_Folder.reg differ diff --git a/Regfiles/Hide_Onedrive_Folder.reg b/Regfiles/Hide_Onedrive_Folder.reg index 0e70e25..d8e037c 100644 Binary files a/Regfiles/Hide_Onedrive_Folder.reg and b/Regfiles/Hide_Onedrive_Folder.reg differ diff --git a/Regfiles/Move_Git_Context_To_Shift_Rightclick.reg b/Regfiles/Move_Git_Context_To_Shift_Rightclick.reg index c36c14d..bc53c6b 100644 --- a/Regfiles/Move_Git_Context_To_Shift_Rightclick.reg +++ b/Regfiles/Move_Git_Context_To_Shift_Rightclick.reg @@ -4,4 +4,4 @@ Windows Registry Editor Version 5.00 "Extended"="" [HKEY_CLASSES_ROOT\Directory\shell\git_shell] -"Extended"="" \ No newline at end of file +"Extended"="" diff --git a/Regfiles/Move_VS_Context_To_Shift_Rightclick.reg b/Regfiles/Move_VS_Context_To_Shift_Rightclick.reg index 2fc26c8..29f0782 100644 --- a/Regfiles/Move_VS_Context_To_Shift_Rightclick.reg +++ b/Regfiles/Move_VS_Context_To_Shift_Rightclick.reg @@ -4,4 +4,4 @@ Windows Registry Editor Version 5.00 "Extended"="" [HKEY_CLASSES_ROOT\Directory\shell\AnyCode] -"Extended"="" \ No newline at end of file +"Extended"="" diff --git a/Regfiles/Show_3D_Objects_Folder.reg b/Regfiles/Show_3D_Objects_Folder.reg index 5f8e146..863a265 100644 Binary files a/Regfiles/Show_3D_Objects_Folder.reg and b/Regfiles/Show_3D_Objects_Folder.reg differ diff --git a/Regfiles/Show_Music_Folder.reg b/Regfiles/Show_Music_Folder.reg index a746bc6..4d440d5 100644 Binary files a/Regfiles/Show_Music_Folder.reg and b/Regfiles/Show_Music_Folder.reg differ diff --git a/Regfiles/Show_Onedrive_folder.reg b/Regfiles/Show_Onedrive_folder.reg index a2f6488..10c77da 100644 Binary files a/Regfiles/Show_Onedrive_folder.reg and b/Regfiles/Show_Onedrive_folder.reg differ diff --git a/Run.ps1 b/Run.ps1 index b683d72..1b384d5 100644 --- a/Run.ps1 +++ b/Run.ps1 @@ -21,10 +21,11 @@ Supported Arguments: -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. --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. --DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar. +-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. +-DisableChat | Hide the chat icon on the taskbar. +-DisableWidgets | Hide the widget icon on the taskbar. -Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer. -DisableMusic | Hide the music folder under 'This pc' in windows explorer. -DisableIncludeInLibrary | Disable the 'Include in library' option in the context menu. diff --git a/Win10Debloat.ps1 b/Win10Debloat.ps1 index d6bd900..cfa6297 100644 --- a/Win10Debloat.ps1 +++ b/Win10Debloat.ps1 @@ -4,14 +4,15 @@ param [Parameter(ValueFromPipeline=$true)][switch]$RunDefaults, [Parameter(ValueFromPipeline=$true)][switch]$RunWin11Defaults, [Parameter(ValueFromPipeline=$true)][switch]$RemoveApps, + [Parameter(ValueFromPipeline=$true)][switch]$DisableTelemetry, + [Parameter(ValueFromPipeline=$true)][switch]$DisableBingSearches, + [Parameter(ValueFromPipeline=$true)][switch]$DisableLockscreenTips, + [Parameter(ValueFromPipeline=$true)][switch]$DisableWindowsSuggestions, + [Parameter(ValueFromPipeline=$true)][switch]$DisableChat, + [Parameter(ValueFromPipeline=$true)][switch]$DisableWidgets, [Parameter(ValueFromPipeline=$true)][switch]$DisableOnedrive, [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]$DisableTelemetry, [Parameter(ValueFromPipeline=$true)][switch]$DisableIncludeInLibrary, [Parameter(ValueFromPipeline=$true)][switch]$DisableGiveAccessTo, [Parameter(ValueFromPipeline=$true)][switch]$DisableShare @@ -143,11 +144,12 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (( Write-Output "-------------------------------------------------------------------------------------------" $PSBoundParameters.Add('RemoveApps', $RemoveApps) $PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry) - $PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects) $PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches) - $PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds) $PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips) $PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions) + $PSBoundParameters.Add('DisableChat', $DisableChat) + $PSBoundParameters.Add('DisableWidgets', $DisableWidgets) + $PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects) $PSBoundParameters.Add('DisableIncludeInLibrary', $DisableIncludeInLibrary) $PSBoundParameters.Add('DisableGiveAccessTo', $DisableGiveAccessTo) $PSBoundParameters.Add('DisableShare', $DisableShare) @@ -161,9 +163,10 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (( $PSBoundParameters.Add('RemoveApps', $RemoveApps) $PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry) $PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches) - $PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds) $PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips) $PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions) + $PSBoundParameters.Add('DisableChat', $DisableChat) + $PSBoundParameters.Add('DisableWidgets', $DisableWidgets) } '3' { @@ -187,21 +190,29 @@ 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) } - if($( Read-Host -Prompt "Disable tips, tricks and suggestions in the startmenu and settings? (y/n)" ) -eq 'y') + if($( Read-Host -Prompt "Disable tips, tricks and suggestions in the startmenu and settings, and ads in windows explorer? (y/n)" ) -eq 'y') { $PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions) } + if($( Read-Host -Prompt "Do you want to hide any icons from the taskbar? (y/n)" ) -eq 'y') + { + if($( Read-Host -Prompt "Hide the chat (meet now) icon on the taskbar? (y/n)" ) -eq 'y') + { + $PSBoundParameters.Add('DisableChat', $DisableChat) + } + + if($( Read-Host -Prompt "Hide the widget (news and interests) icon on the taskbar? (y/n)" ) -eq 'y') + { + $PSBoundParameters.Add('DisableWidgets', $DisableWidgets) + } + } + if($( Read-Host -Prompt "Do you want to hide any folders from the windows explorer sidepanel? (y/n)" ) -eq 'y') { if($( Read-Host -Prompt "Hide the onedrive folder in windows explorer? (y/n)" ) -eq 'y') @@ -271,11 +282,15 @@ switch ($PSBoundParameters.Keys) } 'DisableWindowsSuggestions' { - RegImport "> Disabling tips, tricks and suggestions in the startmenu and settings..." $PSScriptRoot\Regfiles\Disable_Windows_Suggestions.reg + RegImport "> Disabling tips, tricks and suggestions in the startmenu and settings, and ads in windows explorer..." $PSScriptRoot\Regfiles\Disable_Windows_Suggestions.reg } - 'DisableExplorerSyncAds' + 'DisableChat' { - RegImport "> Disabling sync provider ads in windows explorer..." $PSScriptRoot\Regfiles\Disable_Explorer_Sync_Notifications.reg + RegImport "> Hiding the chat icon on the taskbar..." $PSScriptRoot\Regfiles\Disable_Chat_Taskbar.reg + } + 'DisableWidgets' + { + RegImport "> Hiding the widget icon on the taskbar..." $PSScriptRoot\Regfiles\Disable_Widgets_Taskbar.reg } 'DisableOnedrive' {