Windows XP Cookbook (Cookbooks)
Problem
You want to install and configure the IPv6 stack on a system. Solution
Using a graphical user interface
Using a command-line interface
The following command installs the IPv6 stack. It must be run directly on the target system: > netsh interface ipv6 install If you need to run the command remotely, you can use the psexec command: > psexec \\server01 netsh interface ipv6 install
Using VBScript
There is no scripting interface to install the stack, but you can shell out and run the netsh command as in the following example: ' This code installs the IPv6 on the computer the script is run from. strCommand = "netsh interface ipv6 install" set objWshShell = WScript.CreateObject("WScript.Shell") intRC = objWshShell.Run(strCommand, 0, TRUE) if intRC <> 0 then WScript.Echo "Error returned from running the command: " & intRC else WScript.Echo "Command executed successfully" end if Discussion
Windows XP provides native support for IPv6, which is the next generation TCP/IP protocol suite intended to replace IPv4. Adoption of IPv6 has been slow, but seems to be steadily gaining momentum. Fortunately, Windows XP provides better support for IPv6 than did Windows 2000. For a good overview of IPv6 and how to configure the Windows client, see the following site: http://www.microsoft.com/ipv6. IPv6 has caused some XP systems to hang, so if you experience problems after installing IPv6, try uninstalling it:
For more details refer to MS KB 555059. See Also
MS KB 325449, "HOW TO: Install and Configure IP Version 6 in Windows Server 2003 Enterprise Server" |