mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Updated script with new default for windows 11
This commit is contained in:
21
README.md
21
README.md
@@ -1,9 +1,9 @@
|
||||
# Win10Debloat
|
||||
Win10Debloat is a simple powershell script that allows you to remove most pre-installed windows 10 apps, disable bing in windows search, disable tips and suggestions across the OS (such as the lockscreen, startmenu and settings) and declutter the windows explorer by hiding certain folders (such as 3D objects) from the sidebar aswell as disabling certain context menu options that a regular user would likely never use.
|
||||
Win10Debloat is a simple powershell script that allows you to remove most pre-installed windows 10/11 apps, disable bing in windows search, disable tips and suggestions across the OS (such as the lockscreen, startmenu and settings) and declutter the windows explorer by hiding certain folders (such as 3D objects) from the sidebar aswell as disabling certain context menu options that a regular user would likely never use.
|
||||
|
||||
You can pick and choose 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.
|
||||
|
||||
### By default, the Win10Debloat script will:
|
||||
### The windows 10 default settings will:
|
||||
- Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default).
|
||||
- Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||
- Disable bing in windows search.
|
||||
@@ -13,6 +13,12 @@ You can pick and choose which modifications you want the script to make, but the
|
||||
- Disable the 'Give access to' from context menu.
|
||||
- Disable the 'Share' from context menu. (Does not remove the onedrive share option)
|
||||
|
||||
### 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 tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default)
|
||||
- Disable tips, tricks and suggestions in the startmenu and settings.
|
||||
|
||||
### Or select the 'Advanced' option in the menu to customize the script to your needs.
|
||||
|
||||
## Usage
|
||||
@@ -33,7 +39,8 @@ This method is a bit more complicated, but it gives you the option to run the sc
|
||||
|
||||
| Argument | Description |
|
||||
| --------- | ----------- |
|
||||
| -RunDefaults | Run the script with default settings. |
|
||||
| -RunDefaults | Run the script with windows 10 default settings. |
|
||||
| -RunWin11Defaults | Run the script with windows 11 default settings. |
|
||||
| -RemoveApps | Remove all bloatware apps from [this list](#these-apps-will-be-deleted-by-default). |
|
||||
| -DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar. |
|
||||
| -Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer. |
|
||||
@@ -45,8 +52,8 @@ This method is a bit more complicated, but it gives you the option to run the sc
|
||||
| -DisableGiveAccessTo | Disable the 'Give access to' option in the context menu. |
|
||||
| -DisableShare | Disable the 'Share' option in the context menu. |
|
||||
|
||||
## Debloat Windows 10
|
||||
By default, this script will remove most, but not all of the pre-installed windows 10 applications. You customize which applications are removed by this script by editing the apps list found in the 'Win10Debloat.ps1' file.
|
||||
## Debloat Windows 10/11
|
||||
By default, this script will remove most, but not all of the pre-installed windows 10/11 applications. You customize which applications are removed by this script by editing the apps list found in the 'Win10Debloat.ps1' file.
|
||||
|
||||
### These apps will be deleted by default:
|
||||
- king.com.BubbleWitch3Saga
|
||||
@@ -96,8 +103,8 @@ By default, this script will remove most, but not all of the pre-installed windo
|
||||
- Microsoft.XboxSpeechToTextOverlay (NOTE: This app cannot be reinstalled from the microsoft store!)
|
||||
- Microsoft.YourPhone
|
||||
|
||||
## Declutter Windows 10
|
||||
This script can also make various changes to declutter windows 10, such as:
|
||||
## Declutter Windows 10/11
|
||||
This script can also make various changes to declutter windows 10/11, such as:
|
||||
- Hide the onedrive folder in the windows explorer sidebar.
|
||||
- Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||
- Hide the music folder under 'This pc' in windows explorer.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
param
|
||||
(
|
||||
[Parameter(ValueFromPipeline=$true)][switch]$RunDefaults,
|
||||
[Parameter(ValueFromPipeline=$true)][switch]$RunWin11Defaults,
|
||||
[Parameter(ValueFromPipeline=$true)][switch]$RemoveApps,
|
||||
[Parameter(ValueFromPipeline=$true)][switch]$DisableOnedrive,
|
||||
[Parameter(ValueFromPipeline=$true)][switch]$Disable3dObjects,
|
||||
@@ -95,24 +96,29 @@ function RegImport
|
||||
reg import $path
|
||||
}
|
||||
|
||||
if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or (($PSBoundParameters.Count -eq 1) -and ($PSBoundParameters.ContainsKey('WhatIf') -or $PSBoundParameters.ContainsKey('Confirm') -or $PSBoundParameters.ContainsKey('Verbose'))))
|
||||
if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or $RunWin11Defaults -or (($PSBoundParameters.Count -eq 1) -and ($PSBoundParameters.ContainsKey('WhatIf') -or $PSBoundParameters.ContainsKey('Confirm') -or $PSBoundParameters.ContainsKey('Verbose'))))
|
||||
{
|
||||
if($RunDefaults)
|
||||
{
|
||||
$Mode = '1';
|
||||
}
|
||||
elseif($RunWin11Defaults)
|
||||
{
|
||||
$Mode = '2';
|
||||
}
|
||||
else
|
||||
{
|
||||
Clear
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
Write-Output " Win10Debloat Script - Setup"
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
Write-Output "(1) Run Win10Debloat with the default settings"
|
||||
Write-Output "(2) Advanced: Choose which changes you want Win10Debloat to make"
|
||||
Write-Output "(1) Run Win10Debloat with the Windows 10 default settings"
|
||||
Write-Output "(2) Run Win10Debloat with the Windows 11 default settings"
|
||||
Write-Output "(3) Advanced: Choose which changes you want Win10Debloat to make"
|
||||
Write-Output ""
|
||||
|
||||
Do { $Mode = Read-Host "Please select an option (1/2)" }
|
||||
while ($Mode -ne '1' -and $Mode -ne '2')
|
||||
Do { $Mode = Read-Host "Please select an option (1/2/3)" }
|
||||
while ($Mode -ne '1' -and $Mode -ne '2' -and $Mode -ne '3')
|
||||
}
|
||||
|
||||
switch($Mode)
|
||||
@@ -121,7 +127,7 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or (($PSBoundParameters.Cou
|
||||
{
|
||||
Clear
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
Write-Output " Win10Debloat Script - Default Configuration"
|
||||
Write-Output " Win10Debloat Script - Windows 10 Default Configuration"
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
||||
$PSBoundParameters.Add('Disable3dObjects', $Disable3dObjects)
|
||||
@@ -133,6 +139,17 @@ if((-NOT $PSBoundParameters.Count) -or $RunDefaults -or (($PSBoundParameters.Cou
|
||||
$PSBoundParameters.Add('DisableShare', $DisableShare)
|
||||
}
|
||||
'2'
|
||||
{
|
||||
Clear
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
Write-Output " Win10Debloat Script - Windows 11 Default Configuration"
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
$PSBoundParameters.Add('RemoveApps', $RemoveApps)
|
||||
$PSBoundParameters.Add('DisableBingSearches', $DisableBingSearches)
|
||||
$PSBoundParameters.Add('DisableLockscreenTips', $DisableLockscreenTips)
|
||||
$PSBoundParameters.Add('DisableWindowsSuggestions', $DisableWindowsSuggestions)
|
||||
}
|
||||
'3'
|
||||
{
|
||||
Clear
|
||||
Write-Output "-------------------------------------------------------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user