Skip to content

Instantly share code, notes, and snippets.

View higgs82's full-sized avatar

Andy Higgins higgs82

  • 15:46 (UTC +01:00)
View GitHub Profile
@higgs82
higgs82 / Optimize-TCPSettings.ps1
Created July 9, 2024 10:19 — forked from asheroto/Optimize-TCPSettings.ps1
Adjusts various TCP and network settings in Windows to enhance the speed of the Internet connection.
Write-Output "Setting congestion provider to CTCP for Internet."
netsh int tcp set supplemental Internet congestionprovider=ctcp | Out-Null
Write-Output "Enabling Direct Cache Access, and configuring RSS and RSC settings globally."
netsh int tcp set global dca=enabled rss=enabled rsc=disabled | Out-Null
Write-Output "Disabling TCP timestamps globally."
netsh int tcp set global timestamps=disabled | Out-Null
Write-Output "Setting initial Retransmission Timeout (RTO) to 2000 milliseconds globally."