Consigo fazer isso com esse script de powershell.
$root = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}'
$items = Get-ChildItem -Path Registry::$Root -Name
Foreach ($item in $items) {
if ($item -ne "Properties") {
$path = $root + "\" + $item
$DriverDesc = Get-ItemProperty -Path Registry::$path | Select-Object -expandproperty DriverDesc
if ($DriverDesc -eq "Citrix PV Ethernet Adapter") {
Set-ItemProperty -path Registry::$path -Name LROIPv4 -Value 0
}
}
}
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name IPChecksumOffloadIPv4 -Value 0
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name LSOv2IPv4 -Value 0
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name NeedChecksumValue -Value 0
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name TCPChecksumOffloadIPv4 -Value 0
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name UDPChecksumOffloadIPv4 -Value 0
new-ItemProperty -force -Path hklm:\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters -Name LROIPv4 -Value 0
O importante é ver as propriedades a serem alteradas.
Usando:
PS > Get-NetAdapter
PS > Get-NetAdapterAdvancedProperty name_of_the_nic
PS > Get-NetAdapterAdvancedProperty name_of_the_nic | ft RegistryKeyword
Atualize agora o RegistryKeyword conforme necessário