Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Safely Disable IPv6 on Windows

April 29, 2026

How to Safely Disable IPv6 on Windows

Although the IPv6 protocol is enabled by default in all versions of Windows, it is rarely used in home and small office networks. Consequently, many online sources suggest disabling the IPv6 protocol in Windows as an unnecessary feature (and even potentially harmful) at the first sign of any network issues.

However, Microsoft doesn’t recommend completely disabling IPv6 in Windows unless there is a critical and well-justified need. This is especially true on the Windows Server platform, where many components use link-local IPv6 addresses for internal communication, even when external IPv6 addresses are not used.

Contents:
  • How to Make Windows Prefer IPv4 Over IPv6
  • How to Properly Disable IPv6 on Windows

How to Make Windows Prefer IPv4 Over IPv6

Instead of disabling IPv6 if your ISP, router, or an app is not working correctly with it enabled, first try changing the protocol priority to make Windows prefer IPv4 over IPv6.

If Windows detects that both IPv6 (AAAArecord in DNS) and IPv4 (A record) addresses are available when resolving the remote host name, the system first attempts to establish a connection using the IPv6 address. Additional delays or connection errors may occur if this address is unreachable or if a specific network service (or legacy app) doesn’t support IPv6. When choosing a protocol for a remote connection, IPv6 is used by default. The priority of the IPv6 protocol over the IPv4 protocol is configured in the Prefix Policies settings (see the post “Changing the Priority of IPv4 Over IPv6 in Windows” for more details).

To fix problems with such applications, Microsoft recommends reducing the priority of IPv6 instead of disabling it.

In order to prioritize IPv4 over IPv6, create the DisabledComponents registry parameter and set its value to 0x20.

reg add HKLM\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0x20

DisabledComponents valueDescription
0IPv6 is enabled (default)
0x10Disable IPv6 on all nontunnel interfaces
0x01Disable IPv6 on all tunnel interfaces
0x11Disable IPv6 (except the loopback)
0x20Prefer IPv4 over IPv6 (preferred method)
0xFFDisable IPv6 completely (not recommended)
The article provides a full list of possible values for the DisabledComponents parameter: Guidance for configuring IPv6 in Windows.

You can also change the IPv4 over IPv6 preference order in the prefix policy by using the commands (no reboot is required):

netsh interface ipv6 set prefix ::/96 60 3
netsh interface ipv6 set prefix ::ffff:0:0/96 55 4

How to Properly Disable IPv6 on Windows

If reducing the IPv6 protocol priority fails to resolve the issue, consider disabling IPv6 completely. However, this action must also be performed correctly.

Many administrators mistakenly believe that unchecking the Internet Protocol Version 6 (TCP/IPv6) option in the network adapter properties via ncpa.cpl is enough to completely disable IPv6 on a computer. However, this does not fully disable the IPv6 protocol stack in Windows. This action disables IPv6 on a specific network adapter while keeping the IPv6 stack active system-wide.

Disable the IPv6 protocol in the network adapter properties

Furthermore, disabling IPv6 via this method can cause issues with certain network applications.

Disabling IPv6 in the network adapter properties is equivalent to running the following PowerShell command with the specific network interface name:

Disable-NetAdapterBinding -Name "Ethernet0" -ComponentID ms_tcpip[6]

Get-NetAdapterBinding Ethernet0

Disable the ipv6 component (ms_tcpip[6] ) for a network interface via PowerShell

This command disables IPv6 binding on the specified interface. This can be confirmed by checking that the IPv6 address has disappeared from the network interface configuration (ipconfig /all). However, the IPv6 protocol stack remains enabled in the system.

Changing the value of the DisabledComponents parameter to 0xFF will completely disable the IPv6 stack on your computer:

reg add HKLM\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFF

DisabledComponents - disable the IPv6 stack on Windows via the registry

After running this command, restart the computer.

To disable IPv6 on multiple computers in an Active Directory environment, deploy the DisabledComponents registry item via GPO.

How can you verify that IPv6 is disabled (there are no addresses, no routes, and no listening services)?

Attempting to list network interfaces that support IPv6 will return an empty result:

netsh interface ipv6 show interfaces

Or you can simply ping the loopback interface. With IPv6 enabled, the command will return the loopback interface’s IPv6 address (::1). When IPv6 is disabled, the loopback adapter will return the IPv4 address 127.0.0.1

check if ipv6 is disabled, ping returns ipv4 instead ipv6 address

To revert the changes and enable IPv6 protocol support, change the DisabledComponents parameter value to 0 or delete it:

reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /f

0 comment
0
Facebook Twitter Google + Pinterest
PowerShellQuestions and AnswersWindows 10Windows 11Windows Server 2022
previous post
How to Fix Windows 11 Keyboard Language Switch Lag & Hotkey Issues

Related Reading

How to Move (Migrate) Windows Shares to a...

February 26, 2026

How to Detect Which User Installed or Removed...

June 25, 2025

Security Warnings When Opening RDP Files in Windows...

April 20, 2026

Find a Process Causing High Disk Usage on...

July 16, 2025

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

SMB over QUIC: Mount File Share over Internet...

December 24, 2025

Monitor Windows Log Files in Real Time with...

March 26, 2026

Automate Software and Settings Deployment with WinGet Configure...

November 20, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Updating UEFI Secure Boot Certificates on Windows Devices Explained

    April 20, 2026
  • Security Warnings When Opening RDP Files in Windows 11

    April 17, 2026
  • Find Computers with Pending Reboot Status Using PowerShell

    April 15, 2026
  • Mounting NFS Shares in Windows Using the Built-in Client

    March 26, 2026
  • Monitor Windows Log Files in Real Time with PowerShell

    March 17, 2026
  • Pin and Unpin Apps to Taskbar in Windows 11 via PowerShell

    March 10, 2026
  • Load and Initialize Network Drivers in Windows PE or Recovery Environment

    February 25, 2026
  • How to Set a Custom Drive Icon in Windows

    February 17, 2026
  • Managing Per-User Services in Windows

    February 11, 2026
  • Change Default OU for New Computers and Users in AD

    February 2, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • How to Hide (Block) a Specific Windows Update
  • Run Elevated Commands with Sudo on Windows 11
  • Fix: Slow Startup of PowerShell Console and Scripts
  • Automate Software and Settings Deployment with WinGet Configure (DSC)
  • Enable/Disable Random Hardware (MAC) Address for Wi-Fi on Windows
  • How to Pause (Delay) Update Installation on Windows 11 and 10
  • Pin and Unpin Apps to Taskbar in Windows 11 via PowerShell
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top