Network Administrator Knowledgebase

Jan 29 2009   9:53PM GMT

Disable IPv6 over all interfaces and prefer IPv4 to IPv6

Michael Khanin Michael Khanin Profile: Michael Khanin

Personally, i still prefer use IPv4. In Windows Vista and Windows 2008, IPv6 is enabled by default. I’ve created a small script to disable IPv6. Here is a content of my DisableIPv6.bat:

@Echo off
@ECHO Windows Registry Editor Version 5.00 > %TEMP%\DisableIPv6.reg
@ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters] >> %TEMP%\DisableIPv6.reg
@ECHO “DisabledComponents”=dword:000000ff >> %TEMP%\DisableIPv6.reg
REGEDIT /S %TEMP%\DisableIPv6.reg

1  Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.
  • Tessa Parmenter
    Thanks for the script. If you were interested, Brien Posey wrote an article on the [A href=",289483,sid200_gci1348329,00.html"]pros and cons of disabling IPv6 in Windows Vista[/A] on
    1,160 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: