mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Added new option to hide chat/widget icons from taskbar
This commit is contained in:
31
README.md
31
README.md
@@ -1,14 +1,15 @@
|
|||||||
# Win10Debloat
|
# 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:
|
### The windows 10 default settings will:
|
||||||
- Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default).
|
- Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default).
|
||||||
- Disable telemetry, diagnostic data & targeted ads.
|
- Disable telemetry, diagnostic data & targeted ads.
|
||||||
- Disable bing in windows search.
|
- Disable bing in windows search.
|
||||||
- Disable tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default)
|
- 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.
|
- 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.
|
- Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||||
- Disable the 'Include in library' from context menu.
|
- Disable the 'Include in library' from context menu.
|
||||||
- Disable the 'Give access to' 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:
|
### The windows 11 default settings will:
|
||||||
- Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default).
|
- 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 telemetry, diagnostic data & targeted ads.
|
||||||
- Disable sync provider ads in windows explorer.
|
- Disable bing in windows search.
|
||||||
- Disable tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default)
|
- 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.
|
- 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.
|
### 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). |
|
| -RemoveApps | Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default). |
|
||||||
| -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. |
|
| -DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. |
|
||||||
| -DisableBingSearches | Disable bing in windows search. |
|
| -DisableBingSearches | Disable bing in windows search. |
|
||||||
| -DisableExplorerSyncAds | Disable sync provider ads in windows explorer. |
|
|
||||||
| -DisableLockscreenTips | Disable tips & tricks on the lockscreen. |
|
| -DisableLockscreenTips | Disable tips & tricks on the lockscreen. |
|
||||||
| -DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings. |
|
| -DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings, and sync provider ads in windows explorer. |
|
||||||
| -DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar. |
|
| -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. |
|
| -Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer. |
|
||||||
| -DisableMusic | Hide the music 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. |
|
| -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:
|
This script can also make various changes to declutter windows 10/11, such as:
|
||||||
- Disable telemetry, diagnostic data & targeted ads.
|
- Disable telemetry, diagnostic data & targeted ads.
|
||||||
- Disable bing in windows search.
|
- 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 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 and suggestions in the startmenu and settings, and sync provider ads in windows explorer.
|
||||||
- Hide the onedrive folder in the windows explorer sidebar.
|
- 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 3D objects folder under 'This pc' in windows explorer.
|
||||||
- Hide the music 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.
|
- Disable the 'Include in library' option in the context menu.
|
||||||
|
|||||||
Binary file not shown.
BIN
Regfiles/Disable_Chat_Taskbar.reg
Normal file
BIN
Regfiles/Disable_Chat_Taskbar.reg
Normal file
Binary file not shown.
@@ -1,4 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
|
||||||
"ShowSyncProviderNotifications"=dword:00000000
|
|
||||||
Binary file not shown.
Binary file not shown.
BIN
Regfiles/Disable_Widgets_Taskbar.reg
Normal file
BIN
Regfiles/Disable_Widgets_Taskbar.reg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Regfiles/Enable_Chat_Taskbar.reg
Normal file
BIN
Regfiles/Enable_Chat_Taskbar.reg
Normal file
Binary file not shown.
@@ -1,4 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
|
||||||
"ShowSyncProviderNotifications"=dword:00000001
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Regfiles/Enable_Widgets_Taskbar.reg
Normal file
BIN
Regfiles/Enable_Widgets_Taskbar.reg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,4 +4,4 @@ Windows Registry Editor Version 5.00
|
|||||||
"Extended"=""
|
"Extended"=""
|
||||||
|
|
||||||
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
|
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
|
||||||
"Extended"=""
|
"Extended"=""
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ Windows Registry Editor Version 5.00
|
|||||||
"Extended"=""
|
"Extended"=""
|
||||||
|
|
||||||
[HKEY_CLASSES_ROOT\Directory\shell\AnyCode]
|
[HKEY_CLASSES_ROOT\Directory\shell\AnyCode]
|
||||||
"Extended"=""
|
"Extended"=""
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
7
Run.ps1
7
Run.ps1
@@ -21,10 +21,11 @@ Supported Arguments:
|
|||||||
-RemoveApps | Remove all bloatware apps from the list found in README.md.
|
-RemoveApps | Remove all bloatware apps from the list found in README.md.
|
||||||
-DisableTelemetry | Disable telemetry, diagnostic data & targeted ads.
|
-DisableTelemetry | Disable telemetry, diagnostic data & targeted ads.
|
||||||
-DisableBingSearches | Disable bing in windows search.
|
-DisableBingSearches | Disable bing in windows search.
|
||||||
-DisableExplorerSyncAds | Disable sync provider ads in windows explorer.
|
|
||||||
-DisableLockscreenTips | Disable tips & tricks on the lockscreen.
|
-DisableLockscreenTips | Disable tips & tricks on the lockscreen.
|
||||||
-DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings.
|
-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 sidebar.
|
-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.
|
-Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||||
-DisableMusic | Hide the music 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.
|
-DisableIncludeInLibrary | Disable the 'Include in library' option in the context menu.
|
||||||
|
|||||||
@@ -4,14 +4,15 @@ param
|
|||||||
[Parameter(ValueFromPipeline=$true)][switch]$RunDefaults,
|
[Parameter(ValueFromPipeline=$true)][switch]$RunDefaults,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$RunWin11Defaults,
|
[Parameter(ValueFromPipeline=$true)][switch]$RunWin11Defaults,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$RemoveApps,
|
[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]$DisableOnedrive,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$Disable3dObjects,
|
[Parameter(ValueFromPipeline=$true)][switch]$Disable3dObjects,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$DisableMusic,
|
[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]$DisableIncludeInLibrary,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$DisableGiveAccessTo,
|
[Parameter(ValueFromPipeline=$true)][switch]$DisableGiveAccessTo,
|
||||||
[Parameter(ValueFromPipeline=$true)][switch]$DisableShare
|
[Parameter(ValueFromPipeline=$true)][switch]$DisableShare
|
||||||
@@ -143,11 +144,12 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
|
|||||||
Write-Output "-------------------------------------------------------------------------------------------"
|
Write-Output "-------------------------------------------------------------------------------------------"
|
||||||
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
||||||
$PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry)
|
$PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry)
|
||||||
$PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects)
|
|
||||||
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
||||||
$PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds)
|
|
||||||
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
||||||
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
|
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
|
||||||
|
$PSBoundParameters.Add('DisableChat', $DisableChat)
|
||||||
|
$PSBoundParameters.Add('DisableWidgets', $DisableWidgets)
|
||||||
|
$PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects)
|
||||||
$PSBoundParameters.Add('DisableIncludeInLibrary', $DisableIncludeInLibrary)
|
$PSBoundParameters.Add('DisableIncludeInLibrary', $DisableIncludeInLibrary)
|
||||||
$PSBoundParameters.Add('DisableGiveAccessTo', $DisableGiveAccessTo)
|
$PSBoundParameters.Add('DisableGiveAccessTo', $DisableGiveAccessTo)
|
||||||
$PSBoundParameters.Add('DisableShare', $DisableShare)
|
$PSBoundParameters.Add('DisableShare', $DisableShare)
|
||||||
@@ -161,9 +163,10 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
|
|||||||
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
||||||
$PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry)
|
$PSBoundParameters.Add('DisableTelemetry', $DisableTelemetry)
|
||||||
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
||||||
$PSBoundParameters.Add('DisableExplorerSyncAds', $DisableExplorerSyncAds)
|
|
||||||
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
||||||
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
|
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
|
||||||
|
$PSBoundParameters.Add('DisableChat', $DisableChat)
|
||||||
|
$PSBoundParameters.Add('DisableWidgets', $DisableWidgets)
|
||||||
}
|
}
|
||||||
'3'
|
'3'
|
||||||
{
|
{
|
||||||
@@ -187,21 +190,29 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or ((
|
|||||||
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
$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')
|
if($( Read-Host -Prompt "Disable tips & tricks on the lockscreen? (y/n)" ) -eq 'y')
|
||||||
{
|
{
|
||||||
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
$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)
|
$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 "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')
|
if($( Read-Host -Prompt "Hide the onedrive folder in windows explorer? (y/n)" ) -eq 'y')
|
||||||
@@ -271,11 +282,15 @@ switch ($PSBoundParameters.Keys)
|
|||||||
}
|
}
|
||||||
'DisableWindowsSuggestions'
|
'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'
|
'DisableOnedrive'
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user