Skip to content

Instantly share code, notes, and snippets.

@Coldblackice
Forked from nirinium/networktweaks.ps1
Created October 13, 2024 05:03
Show Gist options
  • Save Coldblackice/4c16bce6c01a9771d6a29e0fe927aad8 to your computer and use it in GitHub Desktop.
Save Coldblackice/4c16bce6c01a9771d6a29e0fe927aad8 to your computer and use it in GitHub Desktop.
network tweaks via CMD/PowerShell
netsh interface teredo set state disabled
netsh interface 6to4 set state disabled
netsh winsock reset
netsh interface isatap set state disable
netsh int tcp set global timestamps=disabled
netsh int tcp set heuristics disabled
netsh int tcp set global autotuninglevel=disable
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set supplemental Internet congestionprovider=CTCP
netsh int tcp set global chimney=disabled
netsh int tcp set global ecncapability=disabled
netsh int tcp set global rss=enabled
netsh int tcp set global rsc=disabled
netsh int tcp set global dca=enabled
netsh int tcp set global netdma=enabled
PowerShell Disable-NetAdapterChecksumOffload -Name "*"
PowerShell Disable-NetAdapterLso -Name "*"
PowerShell Disable-NetAdapterRsc -Name "*"
PowerShell Disable-NetAdapterIPsecOffload -Name "*"
PowerShell Disable-NetAdapterPowerManagement -Name "*"
PowerShell Disable-NetAdapterQos -Name "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment