Monday, 24 October 2011

Solution: Resetting TCP / IP Stack on Windows PC

Below solution is worth a try when you see your computer not connecting to the network even though there is nothing wrong with the cabling and the hardware. Sometimes it is necessary to refresh settings of your networking hardware for it to get going as normal again.

Use netsh utility. Follow the steps below.You must be logged on to the computer as an administrator. The first method uses a Fix it automated solution to reset TCP/IP.

  1. At the command prompt, copy and paste (or 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
  2. 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:

To run the manual command successfully, you must specify a file name for the log, in which the actions thatnetsh takes will be recorded. When you run the manual command, TCP/IP is reset and the actions that were taken are recorded in the log file, known as resetlog.txt in this article. 
Reference: Microsoft 

No comments:

Post a Comment