Disable IPV6

Spread the words

Disable IPV6 

Sometimes you would like to disable IPV6 on the servers even Microsoft not recommends it.

Get the binding information for a network adapter first.

Use the cmdlet Get-NetAdapterBinding

Binding

As you can see the component ID of IPv6 is ms_tcpip6. So use the Disable-NetAdapterBinding cmdlet as follow.

Disable-NetAdapterBinding –InterfaceAlias “Ethernet0” –ComponentID ms_tcpip6

DisableIPV6

The result will be

disaIPV6

Summary:

Gets the network adapter binding information first

Get-NetAdapterBinding –InterfaceAlias “Ethernet0”

Then disable the IPv6

Disable-NetAdapterBinding –InterfaceAlias “Ethernet0” –ComponentID ms_tcpip6

Take it easy 😉

1 Comment on "Disable IPV6"

  1. You could also do
    $nic = get-netadapter

    Disable-NetAdapterBinding –InterfaceAlias $nic.name –ComponentID ms_tcpip6

Leave a comment

Your email address will not be published.


*