What is TCP/IP?

TCP/IP is a protocol which is used for communication over the network by Windows and is one of the most essential components of Windows.  At time this protocol might get corrupt or damaged and since it is a core component you cannot uninstall and reinstall it, but you can repair/rest it. Repair/Reset is done by the NetShell utility. This utility has several tasks and each task can be performed by writing the command netsh followed by the task you want to perform.

Problems caused by corrupt TCP/IP stack

If the TCP/IP stack goes corrupt you may be unable to establish a connection to the server, unable to load a web page, unable to browse and surf the Internet, even though network connection to broadband router or wireless router seems to be OK.If you facing network connectivity issues or are unable to access or connect to Internet or network problem in Windows Vista, Windows 2003 and Windows XP, and all the other troubleshooting has not helped you then you may try resetting the TCP/IP stack. This can be done by running the netsh command. NetShell utility is a command-line scripting interface for the configuring and monitoring of Windows XP, 2003 and Vista networking service.

Steps for Resetting TCP/IP

To reinstall and reset the TCP/IP stack to its original state as same as when the operating system was installed in Windows XP and Windows 2003 use the following command in command prompt shell. It would be good if you run the command prompt with Admin privileges. A log file name must be specified where actions taken by netsh will be recorded on newly created or appended if the file already exists.


1. Start -> Run -> cmdOn Vista and Windows7 operating systems, click on the Start button and type Command, when it gets listed in the bar press ctrl+shift+enter. This combination allows the program to run with Admin privileges. Accept the elevation if prompted,

2. When you get the command prompt open execute the following command:netsh int ip reset c:\log.txt(Specifying the location and name of the log file is optional but if you want to see the details of the command execution then specify the same)

3. Restart the computer.On running this command the following two registry keys gets deleted so that they can be re-written the next time computer starts:


2. SYSTEM\CurrentControlSet\Services\DHCP\Parameters\

Let Microsoft fix it for you

If instead of running this command you want a tool to do all for you, then go to any computer which has a working internet connection and download a “Fixing Utility” from the following link: http://go.microsoft.com/?linkid=9664547. Bring this utility on to your computer and execute it by double clicking it. This Wizard is available on Microsoft and is available in English only.

More about the netsh command

The netsh.exe command is one of the external command’s present in C:\Winnt\System32 directory and is available in the following Microsoft operating systems: Windows 2000, Windows XP, Windows Vista, and Windows 7.