How to Disable IPv6 on all Network Connections


Last updated on April 17th, 2023 at 12:58 am

Read Time:22 Second

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.

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 1 Average: 5]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 542 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

Leave us a message...

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