diff --git a/Get.ps1 b/Get.ps1 index c48bc5b..3c55d09 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -27,6 +27,7 @@ param ( [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, [switch]$DisableEdgeAds, + [switch]$DisableBraveBloat, [switch]$DisableSettings365Ads, [switch]$DisableSettingsHome, [switch]$ShowHiddenFolders, diff --git a/Regfiles/Disable_Brave_Bloat.reg b/Regfiles/Disable_Brave_Bloat.reg new file mode 100644 index 0000000..f9ae730 --- /dev/null +++ b/Regfiles/Disable_Brave_Bloat.reg @@ -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 diff --git a/Regfiles/Sysprep/Disable_Brave_Bloat.reg b/Regfiles/Sysprep/Disable_Brave_Bloat.reg new file mode 100644 index 0000000..f9ae730 --- /dev/null +++ b/Regfiles/Sysprep/Disable_Brave_Bloat.reg @@ -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 diff --git a/Regfiles/Undo/Enable_Brave_Bloat.reg b/Regfiles/Undo/Enable_Brave_Bloat.reg new file mode 100644 index 0000000..01ddd65 --- /dev/null +++ b/Regfiles/Undo/Enable_Brave_Bloat.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +; Remove all Brave Browser Policies +[-HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave] diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index e67cf73..e8b9778 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -29,6 +29,7 @@ param ( [switch]$DisableLockscreenTips, [switch]$DisableLockscrTips, [switch]$DisableSuggestions, [switch]$DisableWindowsSuggestions, [switch]$DisableEdgeAds, + [switch]$DisableBraveBloat, [switch]$DisableSettings365Ads, [switch]$DisableSettingsHome, [switch]$ShowHiddenFolders, @@ -2101,6 +2102,10 @@ switch ($script:Params.Keys) { RegImport "> Disabling ads, suggestions and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg" continue } + 'DisableBraveBloat' { + RegImport "> Disabling Brave AI, Crypto, News, Rewards, Talk and VPN from Brave browser..." "Disable_Brave_Bloat.reg" + continue + } {$_ -in "DisableLockscrTips", "DisableLockscreenTips"} { RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg" continue