One of the components of the Internet connection on your computer is a built-in set of instructions called TCP/IP. TCP/IP can sometimes become damaged or corrupted. If you cannot connect to the Internet and you have tried all other methods to resolve the problem, TCP/IP might be causing it.
Because TCP/IP is a core component of Windows, you cannot remove it. However, you can reset TCP/IP to its original state by using the NetShell utility (netsh).
Follow the below steps to use the reset command to reset TCP/IP manually:
1. To open a command prompt--> click Start and then click Run. Type the following command in the Open box and then press ENTER:
2. At the command prompt--> type the following command and then press ENTER:
netsh int ip reset c:\resetlog.txt
Note: If you do not want to specify a directory path for the log file, use the following command:
netsh int ip reset resetlog.txt
3. Reboot the computer.
When you run the reset command, it rewrites two registry keys that are used by TCP/IP. This has the same result as removing and reinstalling the protocol. The reset command rewrites the following two registry keys: