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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Tessa Parmenter
    Thanks for the script. If you were interested, Brien Posey wrote an article on the [A href="http://searchenterprisewan.techtarget.com/tip/0,289483,sid200_gci1348329,00.html"]pros and cons of disabling IPv6 in Windows Vista[/A] on SearchEnterpriseWAN.com.
    1,060 pointsBadges:
    report

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: