One-Button Network Adapter Configuration Scripts

Iron Contributor

NOTE: Right-click on the following batch files after saving them, and click "Run as administrator".

 

Start Powershell -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -> Select "Create this task with administrative privileges." -> Click OK.

 

Without Jumbo Frames / Packets Enabled: Use Notepad to create this file on your desktop or another folder: One_Button_Network_Configure.bat

@ECHO OFF
SETLOCAL
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Advanced EEE' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit Lite' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Green Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Power Saving Mode' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Flow Control' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'IPv4 Checksum Offload' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Packet'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Large Send Offload V2 (IPv4)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Large Send Offload V2 (IPv6)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Maximum Number of RSS Queues' -DisplayValue '4'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'ARP Offload' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'NS Offload' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'VLAN ID' -DisplayValue '0'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Packet Priority & VLAN' -DisplayValue 'Packet Priority & VLAN Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'PTP Hardware Timestamp' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '512'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '2048'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Side Scaling' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Recv Segment Coalescing (IPv4)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Recv Segment Coalescing (IPv6)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Software Timestamp' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Speed & Duplex' -DisplayValue '1.0 Gbps Full Duplex'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wait for Link' -DisplayValue 'On'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'TCP Checksum Offload (IPv4)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'TCP Checksum Offload (IPv6)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Transmit Buffers' -DisplayValue '128'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Transmit Buffers' -DisplayValue '2048'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'UDP Checksum Offload (IPv4)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'UDP Checksum Offload (IPv6)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Magic Packet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Pattern Match' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Adaptive Inter-Frame Spacing' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy Efficient Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy-Efficient Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy Efficient Ethernet' -DisplayValue 'Off'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Enable PME' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation Rate' -DisplayValue 'Adaptive'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Log Link State Event' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit Master Slave Mode' -DisplayValue 'Auto Detect'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Network Address'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Locally Administered Address' -DisplayValue ''}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit PHY Mode' -DisplayValue 'Auto Detect'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'WOL & Shutdown Link Speed' -DisplayValue 'Not Speed Down'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Reduce Speed On Power Down' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Shutdown Wake-On-Lan' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Link Settings' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -IncludeHidden -AllProperties -RegistryKeyword 'PnPCapabilities' -RegistryValue '24'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Sleep on WoWLAN Disconnect' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Packet Coalescing' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'ARP offload for WoWLAN' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'NS offload for WoWLAN' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'GTK rekeying for WoWLAN' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Wake on Magic Packet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Wake on Pattern Match' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Channel Width for 2.4GHz' -DisplayValue 'Auto'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Channel Width for 5GHz' -DisplayValue 'Auto'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Mixed Mode Protection' -DisplayValue 'RTS/CTS Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Fat Channel Intolerant' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Transmit Power' -DisplayValue '1. Lowest'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName '802.11n/ac Wireless Mode' -DisplayValue '802.11ac'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'MIMO Power Save Mode' -DisplayValue 'Auto SMPS'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Roaming Aggressiveness' -DisplayValue '1. Lowest'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Preferred Band' -DisplayValue '3. Prefer 5GHz band'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Throughput Booster' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'U-APSD support' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName '802.11a/b/g Wireless Mode' -DisplayValue '6. Dual Band 802.11a/b/g'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -IncludeHidden -AllProperties -RegistryKeyword 'PnPCapabilities' -RegistryValue '24'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapter | Enable-NetAdapter}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetIPInterface}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Enable-NetAdapterBinding -AllBindings -IncludeHidden -componentid 'ms_netbios'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -AllBindings -IncludeHidden -componentid 'ms_netbios'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_tcpip6'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_msclient'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_server'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_pacer'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_implat'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_lldp'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_rspndr'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DNSClient -RegisterThisConnectionsAddress $False -UseSuffixWhenRegistering $False -ConnectionSpecificSuffix ' '}"
ENDLOCAL

With Jumbo Frames / Packets Enabled: Use Notepad to create this file on your desktop or another folder: One_Button_Network_Configure_Jumbo_Frames_Packet.bat

@ECHO OFF
SETLOCAL
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Advanced EEE' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit Lite' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Green Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Power Saving Mode' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Flow Control' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'IPv4 Checksum Offload' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Packet' -DisplayValue '9014'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame' -DisplayValue '9014'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame' -DisplayValue '9014 Bytes'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Large Send Offload V2 (IPv4)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Large Send Offload V2 (IPv6)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Maximum Number of RSS Queues' -DisplayValue '4'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'ARP Offload' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'NS Offload' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'VLAN ID' -DisplayValue '0'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Packet Priority & VLAN' -DisplayValue 'Packet Priority & VLAN Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'PTP Hardware Timestamp' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '512'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '2048'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Side Scaling' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Recv Segment Coalescing (IPv4)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Recv Segment Coalescing (IPv6)' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Software Timestamp' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Speed & Duplex' -DisplayValue '1.0 Gbps Full Duplex'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wait for Link' -DisplayValue 'On'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'TCP Checksum Offload (IPv4)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'TCP Checksum Offload (IPv6)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Transmit Buffers' -DisplayValue '128'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Transmit Buffers' -DisplayValue '2048'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'UDP Checksum Offload (IPv4)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'UDP Checksum Offload (IPv6)' -DisplayValue 'Rx & Tx Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Magic Packet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Pattern Match' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Adaptive Inter-Frame Spacing' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy Efficient Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy-Efficient Ethernet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Energy Efficient Ethernet' -DisplayValue 'Off'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Enable PME' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation Rate' -DisplayValue 'Adaptive'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Log Link State Event' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit Master Slave Mode' -DisplayValue 'Auto Detect'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Network Address'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Locally Administered Address' -DisplayValue ''}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Gigabit PHY Mode' -DisplayValue 'Auto Detect'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'WOL & Shutdown Link Speed' -DisplayValue 'Not Speed Down'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Reduce Speed On Power Down' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Shutdown Wake-On-Lan' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Wake on Link Settings' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -IncludeHidden -AllProperties -RegistryKeyword 'PnPCapabilities' -RegistryValue '24'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Sleep on WoWLAN Disconnect' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Packet Coalescing' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'ARP offload for WoWLAN' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'NS offload for WoWLAN' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'GTK rekeying for WoWLAN' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Wake on Magic Packet' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Wake on Pattern Match' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Channel Width for 2.4GHz' -DisplayValue 'Auto'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Channel Width for 5GHz' -DisplayValue 'Auto'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Mixed Mode Protection' -DisplayValue 'RTS/CTS Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Fat Channel Intolerant' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Transmit Power' -DisplayValue '1. Lowest'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName '802.11n/ac Wireless Mode' -DisplayValue '802.11ac'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'MIMO Power Save Mode' -DisplayValue 'Auto SMPS'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Roaming Aggressiveness' -DisplayValue '1. Lowest'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Preferred Band' -DisplayValue '3. Prefer 5GHz band'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'Throughput Booster' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName 'U-APSD support' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -DisplayName '802.11a/b/g Wireless Mode' -DisplayValue '6. Dual Band 802.11a/b/g'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Wi-Fi*' -IncludeHidden -AllProperties -RegistryKeyword 'PnPCapabilities' -RegistryValue '24'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapter | Enable-NetAdapter}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetIPInterface}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Enable-NetAdapterBinding -AllBindings -IncludeHidden -componentid 'ms_netbios'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -AllBindings -IncludeHidden -componentid 'ms_netbios'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_tcpip6'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_msclient'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_server'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_pacer'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_implat'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_lldp'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid 'ms_rspndr'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-DnsClient | Set-DNSClient -RegisterThisConnectionsAddress $False -UseSuffixWhenRegistering $False -ConnectionSpecificSuffix ' '}"
ENDLOCAL

Network Driver Design Guide | Network Subsystem Performance Tuning

Network-Related Performance Counters | Performance Tools for Network Workloads

Performance Tuning Network Adapters | Network-Performance-Visualization


Advanced Settings for Intel Ethernet Adapters

Adapter User Guide for Intel Ethernet Adapters

Advanced Intel Wireless Adapter Settings


NetAdapter Module:

Get-NetAdapterAdvancedProperty | Set-NetAdapterAdvancedProperty

Reset-NetAdapterAdvancedProperty | New-NetAdapterAdvancedProperty

Remove-NetAdapterAdvancedProperty


"How to use Registry Editor to disable network adapter power management on a single computer"

3.22.1.2 Optimization for Specific Usage Models (PG# 42/168 - Adapter_User_Guide.pdf)

1.) Optimize For: Quick response and low latency
2.) Useful For: Video, audio, and High Performance Computing Cluster (HPCC) servers
3.) Optimization Tasks:
3A.) Minimize or disable interrupt moderation rate
3B.) Disable offload TCP segmentation
3C.) Disable jumbo packets
3D.) Increase transmit descriptors
3E.) Increase receive descriptors
3F.) Increase RSS queues

1.) Optimize For: Throughput
2.) Useful For: Data backup/retrieval and file servers
3.) Optimization Tasks:
3A.) Enable jumbo packets
3B.) Increase transmit descriptors
3C.) Increase receive descriptors.
3D.) On systems that support NUMA, set the Preferred NUMA Node on each adapter to achieve better scaling across NUMA nodes

1.) Optimize For: CPU utilization
2.) Useful For: Application, web, mail, and database servers
3.) Optimization Tasks:
3A.) Maximize interrupt moderation rate
3B.) Keep the default setting for the number of receive descriptors; avoid setting large numbers of receive descriptors
3C.) Decrease RSS queues
3D.) In Hyper-V environments, decrease the max number of RSS CPUs

Use Notepad to create this file on your desktop or another folder: Network_Configure_Latency.bat

@ECHO OFF
SETLOCAL
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Packet'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Reset-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Maximum Number of RSS Queues'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation' -DisplayValue 'Disabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation Rate' -DisplayValue 'Off'}"
ENDLOCAL

Use Notepad to create this file on your desktop or another folder: Network_Configure_Throughput.bat

@ECHO OFF
SETLOCAL
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Packet' -DisplayValue '9014'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame' -DisplayValue '9014'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Jumbo Frame' -DisplayValue '9014 Bytes'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '512'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Receive Buffers' -DisplayValue '2048'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Maximum Number of RSS Queues' -DisplayValue '2'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Maximum Number of RSS Queues' -DisplayValue '4'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation' -DisplayValue 'Enabled'}"
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Set-NetAdapterAdvancedProperty -Name 'Ethernet*' -DisplayName 'Interrupt Moderation Rate' -DisplayValue 'Extreme'}"
ENDLOCAL

 

0 Replies