In Windows XP, a reset command is available in the IP context of the NetShell utility. Follow these steps to use the reset command to reset TCP/IP manually:
1. To open a command prompt, click Start and then click Run. Copy and paste (or type) the following command in the Open box and then press ENTER:
cmd
2. At the command prompt, copy and paste (or type) the following command and then press ENTER:
netsh int ip reset c:\resetlog.txt
Note If you do not want to specify a directory path for the log file, use the following command:
netsh int ip reset resetlog.txt
When you run the reset command, it rewrites two registry keys that are used by TCP/IP. This has the same result as removing and reinstalling the protocol. The reset command rewrites the following two registry keys:
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
SYSTEM\CurrentControlSet\Services\DHCP\Parameters\
To run the manual command successfully, you must specify a file name for the log, in which the actions that netsh takes will be recorded. When you run the manual command, TCP/IP is reset and the actions that were taken are recorded in the log file, known as resetlog.txt in this article.
The first example, c:\resetlog.txt, creates a path where the log will reside. The second example, resetlog.txt, creates the log file in the current directory. In either case, if the specified log file already exists, the new log will be appended to the end of the existing file.
Back to the top
NEXT STEPS
If these methods did not work for you, you might want to ask someone for help, search for more information about the problem, or contact Support. For information about how to contact Support, please visit the following Microsoft Web site:
http://support.microsoft.com/contactus (http://support.microsoft.com/contactus)
If you experience symptoms that differ from those that are described in this article, you can search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, please visit the following Microsoft Web site:
http://support.microsoft.com (http://support.microsoft.com/)
Type the text of the error message that you received or type a description of the problem in the Search field and then click Search.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
314067 (http://support.microsoft.com/kb/314067/) How to troubleshoot TCP/IP connectivity with Windows XP
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
811259 (http://support.microsoft.com/kb/811259/) How to determine and recover from Winsock2 corruption in Windows Server 2003, in Windows XP, and in Windows Vista
Back to the top
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
314053 (http://support.microsoft.com/kb/314053/) TCP/IP and NBT configuration parameters for Windows XP