Rebuild TCP/IP stack in Windows XP when all else fails

This tip, from mikeshardware.com, helped me resolve an issue with a flaky Windows XP install:

Every experienced network guru knows that quite often the problem with a faulty network connection is due to the TCP/IP stack being corrupted or not properly bound. Starting with WinXP, Microsoft has disabled the ability to uninstall TCP/IP. So what are you to do if you suspect that all that is needed is a clean install of the TCP/IP stack? Luckily, it is fairly easy to rebuild the stack to the pristine conditions that it was in on a clean install using the NetShell utility.

Still on Windows XP?

If your organization has considered an OS upgrade but hasn’t pulled the trigger yet, check out this

    Requires Free Membership to View

Here's how:
Go to your command prompt and type the following:
netsh int ip reset [ log_file_name ]

A log file name must be specified in order to successfully execute the Netsh command. This file will log all the actions taken by netsh.

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

The only difference between these two is that the first will create the log in the current directory while the second specifies where the log is to be created. After creating the log you can use Notepad or any other text editor to see exactly what changes were made.

Please let us know how useful you find this tip by rating it below! If you have a useful Windows tip, timesaver or workaround to share, submit it to our tip contest and you could win a prize!

This was first published in June 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

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
Sort by: OldestNewest

Forgot Password?

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

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.