How to Reset Internet Protocol (TCP/IP) in Windows XP

In Microsoft Windows XP, the TCP/IP stack is considered a core component of the operating system, therefore removing TCP/IP is not possible. In extreme cases, the best solution for this issue may be to reinstall the Internet Protocol stack. But with the NetShell utility, you can reset the TCP/IP stack to restore it to its state that existed when the operating system was installed.

The NetShell utility (netsh) is a command-line scripting interface for configuring and monitoring Windows XP networking. This tool provides an interactive network shell interface to the user.

In Windows XP, a reset command is available in the IP context of the NetShell utility. When you run the reset command, it rewrites pertinent registry keys that are used by the Internet Protocol (TCP/IP) stack to reach the same result as the removal and the reinstallation of the protocol:

Command Usage

netsh int ip reset [log_file_name]

To run the command successfully, you must specify a file name for the log where actions that are taken by netsh will be recorded. The new log will be appended to the end of the existing file.


Programs that access or monitor the Internet such as antivirus, firewall or proxy clients may be negatively affected when you run the netsh winsock reset command. If you have a program that no longer functions correctly after you use this resolution, reinstall the program to restore functionality.

Command Samples

netsh int ip reset resetlog.txt
netsh int ip reset c:\resetlog.txt

Source (KB299357)…


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

%d bloggers like this: