Skip to content

Instantly share code, notes, and snippets.



Created Feb 6, 2013
What would you like to do?
Disable 'Large Receive Offload' on the driver properties for all interfaces using the Citrix PV Ethernet driver
$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