How to Disable IPv6 on all Network Connections

Depending on your environment, you may want to disable IPv6 on all networking connections, including wired and wireless connections. To do this, you can use a simple PowerShell script: Once you have run this script, you can go ahead and check the IPv6 settings on the target machine and you should see that it is […]

How To Disable Ipv6 On All Network Connections

Depending on your environment, you may want to disable IPv6 on all networking connections, including wired and wireless connections.

To do this, you can use a simple PowerShell script:

$nic = Get-NetAdapterBinding | select Name
Foreach ($Name in $nic) { Disable-NetAdapterBinding –InterfaceAlias $nic.Name –ComponentID ms_tcpip6 }

Once you have run this script, you can go ahead and check the IPv6 settings on the target machine and you should see that it is now disabled.

🛠️

Gear We Recommend

Firewall rules are only half the story. Here’s the networking hardware we recommend for a properly segmented setup.

Browse our Networking Equipment picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.