Skip to content

Instantly share code, notes, and snippets.

@binki
Last active May 28, 2024 16:30
Show Gist options
  • 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/Sandbox 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 (including Windows Sandbox!) 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