search
top

How To Disable IPV6 on Windows 10 with Powershell

Introduction

In today’s post we will look into how to disable IPV6 using Powershell on Windows 10. You ask why would you want to disable IPV6? There could be several reasons like not being used on the network, causing network binding issues or causes intermittent network disconnects (VPN) and other reasons. SO let’s move along and see just how to do this with Powershell.

Disable IPV6

We are ready to begin. Open Powershell with administrator privileges, now we need to get our available interfaces and see whats enabled. For this example we’ll be using a laptop connected via Wi-Fi.

Check current IP address for IPV6 by running the command ipconfig /all

ipconfg_ipv6

Use Get-NetAdapter cmdlet to get the required information.

disableipv6wifi1_1

From the output we see Wi-Fi is the name of the adapter. Next step is to get the network bindings. We accomplish this using the Get-NetAdapterBindings cmdlet and pass the -Name variable.

Get-NetAdapterBindings -Name Wi-Fi

getnetadapterbinding

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

Disable-NetAdapterBinding –InterfaceAlias “Wi-Fi” –ComponentID ms_tcpip6

disableipv6wifi3

To verify we can run the Get-NetAdapterBindings cmdlet and see ms_tcpip6 is showing false.

disableipv6wifi5

Reboot the system and verify no IPV6 address by running the ipconfig /all command.

ipconfg_ip4

 

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top