How to turn IPv6 on or off in Windows PowerShell

5
(1)

Internet Protocol version 6 (IPv6) is the new standard protocol for the network layer of the Internet they can by turn on or off in Windows PowerShell. IPv6 can by enable or disable in the Windows PowerShell. It is designed to solve many of the problems of the current version of the Internet Protocol (known as IPv4). In terms of address depletion, security, automatic configuration, extensibility, etc. IPv6 expands the capabilities of the Internet to enable new types of applications, including peer-to-peer and mobile applications.

IPv6 Internet Protocol enable or disable in Windows PowerShell

By default IPv6 is enabled in Windows, but often IPv6 may need to be disabled. For example, when adding a PC to an Active Directory domain.

This tutorial shows how to enable or disable IPv6 for all or specific network adapters in Windows 8.1, Windows 10, and Windows 11.

Enable IPv6 protocol for a specific network adapter in the Windows PowerShell

Copy paste the following command into PowerShell with elevated privileges to run the Command with the Enter key. Which will output the current IPv6 status for all network adapters.

Get-NetAdapterBinding -ComponentID ms_tcpip6

The IPv6 status information of the network adapters might look something like the this.

Name                           DisplayName                                        ComponentID          Enabled
----                           -----------                                        -----------          -------
Ethernet                       Internetprotokoll, Version 6 (TCP/IPv6)            ms_tcpip6            True
WLAN                           Internetprotokoll, Version 6 (TCP/IPv6)            ms_tcpip6            True
Bluetooth-Netzwerkverbindung   Internetprotokoll, Version 6 (TCP/IPv6)            ms_tcpip6            True
OpenVPN Wintun                 Internetprotokoll, Version 6 (TCP/IPv6)            ms_tcpip6            True

If the IPv6 protocol is to be deactivated for the WLAN adapter, the following command can be executed in PowerShell with elevated rights.

Enable-NetAdapterBinding -Name "WLAN" -ComponentID ms_tcpip6

How to disable IPv6 in PowerShell for all network adapters

Copy the following command and paste it into PowerShell with elevated privileges to run it with the Enter key.

Disable-NetAdapterBinding -Name "WLAN" -ComponentID ms_tcpip6

IPv6 is disabled for all network adapters.

IPv6 is an Internet Layer protocol for packet-switched internetworking and provides end-to-end datagram transmission across multiple IP networks, closely adhering to the design principles developed in the previous version of the protocol, Internet Protocol Version 4 (IPv4).

In addition to offering more addresses, IPv6 also implements features not present in IPv4. It simplifies aspects of address configuration, network renumbering, and router announcements when changing network connectivity providers.

Wie hilfreich war dieser Beitrag?

Klicke auf die Sterne um zu bewerten!

Durchschnittliche Bewertung 5 / 5. Anzahl Bewertungen: 1

Bisher keine Bewertungen! Sei der Erste, der diesen Beitrag bewertet.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert