Skip to content

How to reset TCP/IP

By Codrut Nistor

Posted in Windows-7, Windows-vista, Windows-xp

Sometimes you see that your internet connection is not working. First choice: call your internet service provider. If they say that everything is ok try to reset your router. If this didn't solved your problem the problem is from your computer. Recheck your internet settings from your computer and if this doesn't work you will have to reset TCP/IP because it may be damaged or corrupted. You can't uninstall TCP/IP from your computer because is a core component of Windows but fortunately you can reset it. Before we start be sure you are logged in as an administrator.

The reset command that we will use is available in the IP context of the NetShell utility. Open a new command prompt window. For Windows Vista and Windows 7 run command prompt as an administrator. Then write this command: netsh int ip reset c:resetlog.txt. If you don't want to save the log file into a specific folder write use this command: netsh int ip reset resetlog.txt.

This reset command rewrites two registry keys that are used by TCP/IP.:

SYSTEMCurrentControlSetServicesTcpipParameters SYSTEMCurrentControlSetServicesDHCPParameters

After that you must reboot your computer.

If you think that this is too complicated for you just can download an utility from Microsoft's website.