Skip to content

Instantly share code, notes, and snippets.

@hunterwei
Forked from binki/README.md
Created March 8, 2022 05:03
Show Gist options
  • Save hunterwei/c514e21bac9ab4457e9ce1dfe8622a76 to your computer and use it in GitHub Desktop.
Save hunterwei/c514e21bac9ab4457e9ce1dfe8622a76 to your computer and use it in GitHub Desktop.
Hyper-V Killer WiFi network speed fix powershell commands vEthernet External

See this SO answer.

Disable large send offload in host on vEthernet (to avoid messing with non-virtual adapters). Disable larg send offload in guest for all adapters (unable to predict adapter names and probably all of them are real).

Get-NetAdapterAdvancedProperty | Where-Object RegistryKeyword -like '*Lso*IPv*' | Select-Object -Property Name,RegistryKeyword,@{name='RegistryValue';expression={'0'}} | Set-NetAdapterAdvancedProperty
Get-NetAdapterAdvancedProperty | Where-Object Name -like 'vEthernet*' | Where-Object {$_.RegistryKeyword -like '[*]Lso*IPv*' -or $_.RegistryKeyword -like '[*]Rsc*IP*'} | Select-Object -Property Name,RegistryKeyword,@{name='RegistryValue';expression={'0'}} | Set-NetAdapterAdvancedProperty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment