Created
February 6, 2013 11:51
-
-
Save mariusv/4722124 to your computer and use it in GitHub Desktop.
Disable 'Large Receive Offload' on the driver properties for all interfaces using the Citrix PV Ethernet driver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment