Skip to content

Instantly share code, notes, and snippets.

@binki
Last active March 20, 2023 00:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save binki/321527635d550528f34549a2af48107d to your computer and use it in GitHub Desktop.
Save binki/321527635d550528f34549a2af48107d 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