Enable/Disable ipv6 in command line

By default IPv6 is not enabled on windows XP Pro and Windows Server 2003. However, its very easy to enable IPv6 with netsh (net shell) command line tool.

Enable ipv6

netsh interface ipv6 install

Disable ipv6

netsh interface ipv6 uninstall

To verify if ipv6 is enabled, run ipconfig /all and see if ipv6 address is returned.

Note: you can use netsh to enable/disable ipv4, just change ipv6 to ipv4 in above commands.

2 thoughts on “Enable/Disable ipv6 in command line”

Leave a Reply

Your email address will not be published.