Skip to content

Instantly share code, notes, and snippets.

@actus10
Forked from nirinium/networktweaks.ps1
Created June 25, 2021 12:55
Show Gist options
  • Save actus10/84610451eecbfd3bb3949b555d170346 to your computer and use it in GitHub Desktop.
Save actus10/84610451eecbfd3bb3949b555d170346 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