Completely disable IPv6 on Windows 7 and Server 2008 R2

You might have reason to do this, here’s how I did it (there are slight variations elsewhere online).

  1. Set the following registry value:
    HKLM\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters\DisabledComponents = 0xFF
  2. Reboot

After the reboot you can check that IPv6 is not working by issuing ipconfig /all and noticing the complete lack of IPv6 in the output. Your machine will also remove any IPv6 entries it might have previously placed into Windows dynamic DNS, leaving only IPv4.

You can do this using the following command:

reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0xff

Note that this works on later Windows OS too.

Edit: 2016-10-21 to correct hex value to preferred FF (was FFFFFFFF), and add extra info inc. reg.exe command line.

This entry was posted in Windows and tagged , , , . Bookmark the permalink.

3 Responses to Completely disable IPv6 on Windows 7 and Server 2008 R2

  1. Courtney says:

    Great find! This saved the day when I deployed a Windows 7 workstation in a legacy Windows 2k domain.


  2. DumasLein says:

    The value should be 0xFF, to avoid 5 second boot delay.

    You can set it with a GPO, CMD, PowerShell:


  3. Pingback: Fix PowerShell WinRM remote connection errors | Robin CM's IT Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

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