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

Find out how to rebuild the TCP/IP stack to the pristine condition that it was in on a clean install using the NetShell utiltiy.

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 Windows 7 migration guide.

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.

Sample:
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

Dig deeper on Windows Server and Network Security

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close