I have some Rackspace VM's and need to disable these advanced NIC properties:
- Correct TCP/UDP checksum value
- IPv4 checksum offload
- Large receive offload
- Large send offload version 2
- TCP checksum offload
- UDP checksum offload
Now i need to do this using Powershell/Batch and until now i have this.
Disable-NetAdapterChecksumOffload -Name private -UdpIPv4 -TcpIPv4
Disable-NetAdapterLso -Name private
cmd.exe /C "netsh int tcp set global chimney=disabled"
cmd.exe /C "netsh int tcp set global rss=disabled"
cmd.exe /C "netsh int tcp set global netdma=disabled"
cmd.exe /C "netsh int ip set global taskoffload=disabled"
new-ItemProperty -force -Path hklm:\\\\HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\TCPIP\\Parameters -Name DisableTaskOffload -Value 1
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
But i cant make it work.