Configure Adapter Settings for Intel NIC i218-v using PowerShell

So I managed to modify the Intel Network Drivers and installed it on Server 2012 R2 but every time I want to change any adapter settings the Window just crashes and the new settings are never saved. But there was one setting I really needed to change from the default value: Wake on Pattern Match has to be disabled, otherwise my server would wake up every few minutes. I figured out how to use the PowerShell to configure all adapter settings.

To get some examples run this command in the PowerShell (run it as Admin!):

Get-Help Set-IntelNetAdapterSetting -Examples

Here is some sample output:

PS C:\Windows\system32> Get-IntelNetAdapter

Location        Name                                                                   ConnectionName
--------        ----                                                                   --------------
0:25:0:0        Intel(R) Ethernet Connection (2) I218-V                                Ethernet


PS C:\Windows\system32> Get-IntelNetAdapterSetting

Name                                       DisplayName            DisplayValue    RegistryKeyword         RegistryValue
----                                       -----------            ------------    ---------------         -------------
Intel(R) Ethernet Connection (2) I218-V    Receive Buffers        256             *ReceiveBuffers         256
Intel(R) Ethernet Connection (2) I218-V    Transmit Buffers       512             *TransmitBuffers        512
Intel(R) Ethernet Connection (2) I218-V    Flow Control           Rx & Tx Enabled *FlowControl            3
Intel(R) Ethernet Connection (2) I218-V    Interrupt Moderation   Enabled         *InterruptModeration    1
Intel(R) Ethernet Connection (2) I218-V    IPv4 Checksum Offload  Rx & Tx Enabled *IPChecksumOffloadIPv4  3
Intel(R) Ethernet Connection (2) I218-V    Jumbo Packet           Disabled        *JumboPacket            1514
Intel(R) Ethernet Connection (2) I218-V    Large Send Offload ... Enabled         *LsoV2IPv4              1
Intel(R) Ethernet Connection (2) I218-V    Large Send Offload ... Enabled         *LsoV2IPv6              1
Intel(R) Ethernet Connection (2) I218-V    Maximum Number of R... 2 Queues        *NumRssQueues           2
Intel(R) Ethernet Connection (2) I218-V    Protocol ARP Offload   Enabled         *PMARPOffload           1
Intel(R) Ethernet Connection (2) I218-V    Protocol NS Offload    Enabled         *PMNSOffload            1
Intel(R) Ethernet Connection (2) I218-V    Packet Priority & VLAN Packet Prior... *PriorityVLANTag        3
Intel(R) Ethernet Connection (2) I218-V    Receive Side Scaling   Enabled         *RSS                    1
Intel(R) Ethernet Connection (2) I218-V    RSS load balancing ... ClosestProce... *RSSProfile             1
Intel(R) Ethernet Connection (2) I218-V    Speed & Duplex         Auto Negotia... *SpeedDuplex            0
Intel(R) Ethernet Connection (2) I218-V    TCP Checksum Offloa... Rx & Tx Enabled *TCPChecksumOffloadIPv4 3
Intel(R) Ethernet Connection (2) I218-V    TCP Checksum Offloa... Rx & Tx Enabled *TCPChecksumOffloadIPv6 3
Intel(R) Ethernet Connection (2) I218-V    UDP Checksum Offloa... Rx & Tx Enabled *UDPChecksumOffloadIPv4 3
Intel(R) Ethernet Connection (2) I218-V    UDP Checksum Offloa... Rx & Tx Enabled *UDPChecksumOffloadIPv6 3
Intel(R) Ethernet Connection (2) I218-V    Wake on Magic Packet   Enabled         *WakeOnMagicPacket      1
Intel(R) Ethernet Connection (2) I218-V    Wake on Pattern Match  Disabled        *WakeOnPattern          0
Intel(R) Ethernet Connection (2) I218-V    Adaptive Inter-Fram... Disabled        AdaptiveIFS             0
Intel(R) Ethernet Connection (2) I218-V    Energy Efficient Et... On              EEELinkAdvertisement    1
Intel(R) Ethernet Connection (2) I218-V    Wake on Magic Packe... Enabled         EnablePME               1
Intel(R) Ethernet Connection (2) I218-V    Interrupt Moderatio... Adaptive        ITR                     65535
Intel(R) Ethernet Connection (2) I218-V    Log Link State Event   Enabled         LogLinkStateEvent       51
Intel(R) Ethernet Connection (2) I218-V    Gigabit Master Slav... Auto Detect     MasterSlave             0
Intel(R) Ethernet Connection (2) I218-V    Reduce link speed d... Enabled         ReduceSpeedOnPowerDown  1
Intel(R) Ethernet Connection (2) I218-V    Reduce link speed d... Disabled        SipsEnabled             0
Intel(R) Ethernet Connection (2) I218-V    Wait for Link          Auto Detect     WaitAutoNegComplete     2
Intel(R) Ethernet Connection (2) I218-V    Wake on Link Settings  Disabled        WakeOnLink              0
Intel(R) Ethernet Connection (2) I218-V    Locally Administere...                 NetworkAddress

To change the Wake on Pattern Match for example, run this (adjust the Name accordingly):

Set-IntelNetAdapterSetting –Name "Intel(R) Ethernet Connection (2) I218-V" –RegistryKeyword "*WakeOnPattern"  –RegistryValue "0"

Well I did this using Remote Desktop and of course the connection was lost, but even more I wasn’t able to plug in an USB Keyboard and while I saw that the server did not entirely crash I was unable to access it in any way. I had to press the Reset button, but luckily the settings were saved. Phew

 

3 thoughts on “Configure Adapter Settings for Intel NIC i218-v using PowerShell

  1. Hi, I tried this following steps, but no success.

    I’m using the MOBO ASUS Z97M-PLUS. The driver what I changed the lines on .inf file is the one Intel drivers of the DVD/CD.

    There’s a comment post on another guide to NIC on Windows Server:

    I used ASROCK Z97 with windows 2008 r2 but i can’t found driver intel lan 1218 V . when i am read this website i found code for fix it in Pro1000——->WIN64——->NDIS62 folder .In the line e1d62x64.inf .You can edit code for fix
    %E15A1NC.DeviceDesc% = E15A1.6.1.1, PCI\VEN_8086&DEV_15A1
    %E15A1NC.DeviceDesc% = E15A1.6.1.1, PCI\VEN_8086&DEV_15A1&SUBSYS_00008086

    to the [Intel.NTamd64.6.1] block

    on this forum: http://nearlydeaf.com/?p=1145

  2. You are awesome. Thanks’ a lot. After 3 hour result less surfing I found your solution and successfully start intel lan to work on 2008 r2 on ASUS Z97M plus. ONLY ONE SOLUTION ON THE INTERNET. Amazing

  3. Is it really difficult to add that lines by manufacturers on the main driver .ini file????????????????Starnge

Leave a Reply

Your email address will not be published. Required fields are marked *