Skip to content

Commit

Permalink
Update BBRv2Disable.ps1
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <[email protected]>
  • Loading branch information
jauderho committed Oct 2, 2024
1 parent 35c8c70 commit c7dbc93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BBRv2Disable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ if ((Test-Admin) -eq $false) {
Write-Output 'Running with full privileges...'

function Disable-BBRv2 {
netsh int tcp set supplemental template=internet congestionprovider=CUBIC
netsh int tcp set supplemental template=internetcustom congestionprovider=CUBIC
netsh int tcp set supplemental template=Compat congestionprovider=NewReno
netsh int tcp set supplemental template=Datacenter congestionprovider=CUBIC
netsh int tcp set supplemental template=Datacentercustom congestionprovider=CUBIC

Set-NetTCPSetting -SettingName "Internet" -CongestionProvider Cubic
Set-NetTCPSetting -SettingName "Datacenter" -CongestionProvider Cubic
Set-NetTCPSetting -SettingName "Compat" -CongestionProvider NewReno
Expand Down

0 comments on commit c7dbc93

Please sign in to comment.