Repair Winsock and TCP/IP

Follow these steps to repair Winsock so you can get on the Internet again.

Steps

  1. Go to Start>Run, type in: netsh int ip reset c:\resetlog.txt
  2. Restart your computer and you're done.
  3. Follow the steps below if you have XP SP2 (this only works on windows XP SP2 and later).
  4. Go to regedit.
  5. Go to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services
  6. Click on Winsock and Delete.
  7. Click on Winsock2 and Delete.
  8. Close registry.
  9. Restart your computer
  10. Go to properties of Local Area Connection
  11. Click on the Install button in the Properties window
  12. Choose PROTOCOL, then click on ADD button.
  13. Click on HAVE DISK button...
  14. Type in C:\windows\inf\nettcpip.inf in the dialog box and click OK. (For Windows 8 user,just use 'C:\windows\inf')
  15. Choose from the list INTERNET PROTOCOL TCP/IP in the list, and click OK.
  16. Click CLOSE.
  17. Reboot your computer.(At this point the Winsock is complete however to not only prevent this problem from happening in the future but also to make the process a lot easier you should update Windows.)

Tips

  • If you have Windows 2000 or do not wish to go through the steps you can download a program to do it for you (from another computer copy to flash drive) at http://www.spywarekills.com
  • If you are interested in learning more about what's going on with your winsock look at the entries at HKLM/System/CurrentControlSet/Services

Warnings

  • Never use this as a first-resort if your internet connection goes down. This is an advanced method and should only be used if your TCP/IP control files have been damaged or corrupted.
  • If you have XP SP2 and this is not the problem nothing will happen no damage will occur. the only reason for this warning below is just in case you remove the wrong entries in the registry for pre-XP SP2 systems.

Related Articles

Sources and Citations