TEXT   17

Winsock 2 Repair

Guest on 29th July 2021 12:30:26 AM

  1. Winsock 2 Repair
  2.  
  3.  WinXP Tips & Trix - Winsock 2 Repair
  4.  
  5.  
  6.  
  7. Repairing Damaged Winsock2
  8.  
  9. The symptoms when Winsock2 is damaged show when you try to release and renew the IP address using IPCONFIG...
  10.  
  11. And you get the following error message:
  12.  
  13. An error occurred while renewing interface 'Internet': An operation was attempted on something that is not a socket.
  14.  
  15. Also Internet Explorer may give the following error message:
  16. The page cannot be displayed Additionally, you may have no IP address or no Automatic Private IP Addressing (APIPA) address, and you may be receiving IP packets but not sending them.
  17.  
  18. There are two easy ways to determine if Winsock2 is damaged:
  19.  
  20. From the XP source files, go to the Support / Tools directory
  21.  
  22. Winsock Test Method 1
  23. Run netdiag /test:winsock
  24.  
  25. The end should say Winsock test ..... passed
  26.  
  27. Winsock Test Method 2
  28.  
  29. Run Msinfo32
  30. Click on the + by Components
  31. Click on the by Network
  32. Click on Protocol
  33. There should be 10 sections if the Winsock2 key is ok
  34. MSAFD Tcpip [TCP/IP]
  35. MSAFD Tcpip [UDP/IP]
  36. RSVP UDP Service Provider
  37. RSVP TCP Service Provider
  38. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  39. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  40. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  41. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  42. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  43. MSAFD NetBIOS [\Device\NetBT_Tcpip...
  44.  
  45. If the names are anything different from those in this list, then likely Winsock2 is corrupted and needs to be repaired.
  46. If you have any 3rd party software installed, the name MSAFD may be changed.
  47. There should be no fewer than 10 sections.
  48.  
  49. To repair Winsock2
  50.  
  51. Run Regedit
  52. Delete the following two registry keys:
  53. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
  54. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2
  55.  
  56. Restart the computer
  57. Go to Network Connections
  58. Right click and select Properties
  59. Click on the Install button
  60. Select Protocol
  61. Click on the Add button
  62. Click on the Have Disk button
  63. Browse to the \Windows\inf directory
  64. Click on the Open button
  65. Click on the OK button
  66. Highlight Internet Protocol (TCP/IP)
  67. Click on the OK button
  68. Reboot

Raw Paste


Login or Register to edit or fork this paste. It's free.