Tuesday, September 30, 2014

Windows 2012 Server Core: How To Disable And Enable TCP/IPv6?

Internet Protocol Version 6 (TCP/IPv6) has not been implemented in our environment.  For server’s network adapters, we would usually disable TCP/IPv6.

At the Powershell prompt, issue the below command to disable TCP/IPv6 for network adapter NIC2:
PS C:\> Disable-NetAdapterBinding -InterfaceAlias NIC2 –ComponentID ms_tcpip6

If the TCP/IPv6 is disabled, you will get this error message when configuring an IP address using SCONFIG:
C:\Windows\System32\en-US\sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.

At the Powershell prompt, issue the below command to enable TCP/IPv6 for network adapter NIC2:
PS C:\> Enable-NetAdapterBinding -InterfaceAlias NIC2 –ComponentID ms_tcpip6

No comments:

Post a Comment