search
top

How To Disable IPV6 on Windows 10 with PowerShell

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.

Disable IPV6 wifi

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

get-netadapte rbinding IPV6

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

disable ipv6 wifi3

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

disable ipv6 wifi5

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