mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-12-30 06:49:48 -06:00
Compare commits
4 Commits
2025.12.16
...
debloat-br
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33ceaee38b | ||
|
|
e98c1bd273 | ||
|
|
82edc87601 | ||
|
|
e612f8e9d5 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
LastSettings
|
||||
SavedSettings
|
||||
LastUsedSettings.json
|
||||
CustomAppsList
|
||||
Win11Debloat.log
|
||||
@@ -1,11 +0,0 @@
|
||||
- Disable & remove Microsoft Copilot
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge
|
||||
- Disable tips & tricks on the lockscreen (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search
|
||||
- Show file extensions for known file types
|
||||
- Disable widgets on the taskbar & lockscreen
|
||||
- Disable Fast Start-up
|
||||
|
||||
|
||||
BIN
Assets/menu.png
BIN
Assets/menu.png
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 29 KiB |
257
DefaultSettings.json
Normal file
257
DefaultSettings.json
Normal file
@@ -0,0 +1,257 @@
|
||||
{
|
||||
"Version": "1.0",
|
||||
"Settings": [
|
||||
{
|
||||
"Name": "CreateRestorePoint",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableTelemetry",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableSuggestions",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableEdgeAds",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableLockscreenTips",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableBing",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableCopilot",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableRecall",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableClickToDo",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableWidgets",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "HideChat",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "ShowKnownFileExt",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableFastStartup",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "Hide3dObjects",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableModernStandbyNetworking",
|
||||
"Value": true
|
||||
},
|
||||
{
|
||||
"Name": "DisableDVR",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableGameBarIntegration",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ClearStart",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ClearStartAllUsers",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableStartRecommended",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableStartPhoneLink",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableSettings365Ads",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableEdgeAI",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisablePaintAI",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableNotepadAI",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "EnableDarkMode",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "RevertContextMenu",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableMouseAcceleration",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableStickyKeys",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableDesktopSpotlight",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "TaskbarAlignLeft",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineTaskbarAlways",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineMMTaskbarAlways",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineTaskbarWhenFull",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineMMTaskbarWhenFull",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineTaskbarNever",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "CombineMMTaskbarNever",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "MMTaskbarModeAll",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "MMTaskbarModeMainActive",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "MMTaskbarModeActive",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideSearchTb",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ShowSearchIconTb",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ShowSearchLabelTb",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ShowSearchBoxTb",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideTaskview",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "EnableEndTask",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "EnableLastActiveClick",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ShowHiddenFolders",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ExplorerToHome",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ExplorerToThisPC",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ExplorerToDownloads",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ExplorerToOneDrive",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideHome",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideGallery",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideDupliDrive",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableTransparency",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "DisableAnimations",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "ForceRemoveEdge",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideIncludeInLibrary",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideGiveAccessTo",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideShare",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideOnedrive",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Name": "HideMusic",
|
||||
"Value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
12
Get.ps1
12
Get.ps1
@@ -9,7 +9,8 @@ param (
|
||||
[switch]$RunDefaults,
|
||||
[switch]$RunDefaultsLite,
|
||||
[switch]$RunSavedSettings,
|
||||
[switch]$RemoveApps,
|
||||
[string]$Apps,
|
||||
[switch]$RemoveApps,
|
||||
[switch]$RemoveAppsCustom,
|
||||
[switch]$RemoveGamingApps,
|
||||
[switch]$RemoveCommApps,
|
||||
@@ -26,6 +27,7 @@ param (
|
||||
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
|
||||
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
|
||||
[switch]$DisableEdgeAds,
|
||||
[switch]$DisableBraveBloat,
|
||||
[switch]$DisableSettings365Ads,
|
||||
[switch]$DisableSettingsHome,
|
||||
[switch]$ShowHiddenFolders,
|
||||
@@ -103,11 +105,11 @@ catch {
|
||||
Exit
|
||||
}
|
||||
|
||||
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
|
||||
# Remove old script folder if it exists, except for CustomAppsList and LastUsedSettings.json files
|
||||
if (Test-Path "$env:TEMP/Win11Debloat") {
|
||||
Write-Output ""
|
||||
Write-Output "> Cleaning up old Win11Debloat folder..."
|
||||
Get-ChildItem -Path "$env:TEMP/Win11Debloat" -Exclude CustomAppsList,SavedSettings,Win11Debloat.log | Remove-Item -Recurse -Force
|
||||
Get-ChildItem -Path "$env:TEMP/Win11Debloat" -Exclude CustomAppsList,LastUsedSettings.json,Win11Debloat.log | Remove-Item -Recurse -Force
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
@@ -143,13 +145,13 @@ if ($null -ne $debloatProcess) {
|
||||
$debloatProcess.WaitForExit()
|
||||
}
|
||||
|
||||
# Remove all remaining script files, except for CustomAppsList and SavedSettings files
|
||||
# Remove all remaining script files, except for CustomAppsList and LastUsedSettings.json files
|
||||
if (Test-Path "$env:TEMP/Win11Debloat") {
|
||||
Write-Output ""
|
||||
Write-Output "> Cleaning up..."
|
||||
|
||||
# Cleanup, remove Win11Debloat directory
|
||||
Get-ChildItem -Path "$env:TEMP/Win11Debloat" -Exclude CustomAppsList,SavedSettings,Win11Debloat.log | Remove-Item -Recurse -Force
|
||||
Get-ChildItem -Path "$env:TEMP/Win11Debloat" -Exclude CustomAppsList,LastUsedSettings.json,Win11Debloat.log | Remove-Item -Recurse -Force
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and improve your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. No need to painstakingly go through all the settings yourself or remove apps one by one. Win11Debloat makes the process quick and easy!
|
||||
|
||||
The script also includes many features that system administrators will enjoy. Such as support for Windows Audit mode, the option to make changes to other Windows users and the ability to run the script without requiring user input during runtime. Please refer to our [wiki](https://github.com/Raphire/Win11Debloat/wiki/) for more details.
|
||||
The script also includes many features that system administrators and power users will enjoy. Such as support for Windows Audit mode, the option to make changes to other Windows users and the ability to access all of Win11Debloat's features right from the command-line. Please refer to our [wiki](https://github.com/Raphire/Win11Debloat/wiki/) for more details.
|
||||
|
||||

|
||||
|
||||
|
||||
9
Regfiles/Disable_Brave_Bloat.reg
Normal file
9
Regfiles/Disable_Brave_Bloat.reg
Normal file
@@ -0,0 +1,9 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave]
|
||||
"BraveVPNDisabled"=dword:00000001
|
||||
"BraveWalletDisabled"=dword:00000001
|
||||
"BraveAIChatEnabled"=dword:00000000
|
||||
"BraveRewardsDisabled"=dword:00000001
|
||||
"BraveTalkDisabled"=dword:00000001
|
||||
"BraveNewsDisabled"=dword:00000001
|
||||
9
Regfiles/Sysprep/Disable_Brave_Bloat.reg
Normal file
9
Regfiles/Sysprep/Disable_Brave_Bloat.reg
Normal file
@@ -0,0 +1,9 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave]
|
||||
"BraveVPNDisabled"=dword:00000001
|
||||
"BraveWalletDisabled"=dword:00000001
|
||||
"BraveAIChatEnabled"=dword:00000000
|
||||
"BraveRewardsDisabled"=dword:00000001
|
||||
"BraveTalkDisabled"=dword:00000001
|
||||
"BraveNewsDisabled"=dword:00000001
|
||||
4
Regfiles/Undo/Enable_Brave_Bloat.reg
Normal file
4
Regfiles/Undo/Enable_Brave_Bloat.reg
Normal file
@@ -0,0 +1,4 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
; Remove all Brave Browser Policies
|
||||
[-HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave]
|
||||
953
Win11Debloat.ps1
953
Win11Debloat.ps1
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user