Blog anything about

computer tips and tutorials. The power on your side..

I really hate it when I got internet connection problem when I’m trying to go to the internet. But, after finding out that the internet connection was not the problem, I realize maybe this “special” file has been corrupted. The file is Winsock2. This what you should do if you got your Winsock file damaged.

Repairing Damaged Winsock2

The symptoms when Winsock2 is damaged show when you try to release and renew the IP address using IPCONFIG…

And you get the following error message:

An error occurred while renewing interface ‘Internet’: An operation was attempted on something that is not a socket.

Also Internet Explorer may give the following error message:
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.

There are two easy ways to determine if Winsock2 is damaged:

From the XP source files, go to the Support / Tools directory

Winsock Test Method 1
Run netdiag /test:winsock

The end should say Winsock test ….. passed

Winsock Test Method 2

Run Msinfo32
Click on the + by Components
Click on the by Network
Click on Protocol
There should be 10 sections if the Winsock2 key is ok
MSAFD Tcpip [TCP/IP]
MSAFD Tcpip [UDP/IP]
RSVP UDP Service Provider
RSVP TCP Service Provider
MSAFD NetBIOS [\Device\NetBT_Tcpip…
MSAFD NetBIOS [\Device\NetBT_Tcpip…
MSAFD NetBIOS [\Device\NetBT_Tcpip…
MSAFD NetBIOS [\Device\NetBT_Tcpip…
MSAFD NetBIOS [\Device\NetBT_Tcpip…
MSAFD NetBIOS [\Device\NetBT_Tcpip…

If the names are anything different from those in this list, then likely Winsock2 is corrupted and needs to be repaired.
If you have any 3rd party software installed, the name MSAFD may be changed.
There should be no fewer than 10 sections.

To repair Winsock2

Run Regedit
Delete the following two registry keys:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

Restart the computer
Go to Network Connections
Right click and select Properties
Click on the Install button
Select Protocol
Click on the Add button
Click on the Have Disk button
Browse to the \Windows\inf directory
Click on the Open button
Click on the OK button
Highlight Internet Protocol (TCP/IP)
Click on the OK button
Reboot

Alternative: You can try this software. It works with my XP once.

WinSock XP Fix 1.2

Download Link


Comments (7)Posted by Super Admin on Tuesday, November 14th, 2006

Related Entries

  • How to Protect / Repair CD and DVD Discs
  • How to repair scratched discs [video]
  • No Internet Connection
  • 7 Responses to “Repair Damaged Winsock2” Add your own

    Post A Comment

    Tag and more tags for this post

     winsock2 fix (20)  winsock repair (12)  winsock2 download (10)  winsock2 repair (9)  netbios repair (7)  netbios fix (7)  reinstall winsock2 (7)  reinstall winsock 2 (7)  winsock2 (7)  download winsock2 (6)  Damaged Winsock (5)  repair netbios (5)  winsock2 xp (5)  install winsock2 (5)  reinstall netbios xp (5)  NetBIOS [\Device\NetBT_Tcpip (4)  repair winsock error (4)  utorrent winsock (4)  winsock2 download (4)  NetBT_Tcpip (3)  winsock2 corrupt (3)  install alternative netbios xp (3)  MSAFD NetBIOS [\Device\NetBT_Tcpip (3)  winsock2 fix download (3)  repair winsock (3)  repair utorrent (3)  repair winsock2 xp (3)  MSAFD NetBIOS (3)  damaged Winsock2 (2)  repair winsock xp (2)  winsock2 winsock repair corrupt regedit currentcontrolset (2)  fix winsock2 (2)  XP repair NetBios (2)  repair netbios xp (2)  tcp.inf (2)  winsock2 install (2)  corrupt winsock symptoms (2)  Winsock2 XP fix (2)  repairing winsock2 (2)  device\netbt_tcpip (2)  repair winsock 2 (2)  winsock damaged (2)  winsock2 download xp (2)  registering winsock in XP (2)  damaged internet connection (2)  cannot repair ip address (2)  fix netbios xp (2)  repair damaged winsock 2 (2)  RSVP TCP (2)  winsock error no internet xp (2)  restore corrupt winsock (2)  winsock corrupt (2)  winsock2 is required on this computer (2)  spyware NetBT_Tcpip (2)  corrupt ip address repair (2)  ipconfig damaged (2)  what is winsock2 (2)  windows xp cannot repair ip address (2)  cannot repair ip (2)  netbios corrupt + ad (2)  regedit utorrent tricks (2)  repair winsock2 (2)  windows xp socket fix download (2)  manual winsock fix for SP1 XP (2)  repair udp (2)  updating winsock and winsock 2 xp (2)  utorrent regedit (2)  winsock2 repair xp sp1 (2)  corrupted IP Windows XP (2)  symptoms of damaged winsock 2 (2)  regedit repair (2)  windows XP IP socket repair (2)  repair ip connection (2)  xp cannot renew ip address download (2)  m6 (2)  reinstall winsock 2 vista (2)  reinstall winsock2 vista (2)  Fix Winsock on Vista (2)  ipconfig corrupted (2)  utorrent corrupt winsock (2)  no ip address fix (2)  regedit winsock repair service pack 1 (1)  repair tcp .inf winsock2 (1)  netbt_tcpip winsock internet (1)  repair winsock file manually (1)  damaged regedit (1)  how can i repair my NetBIOS (1)  damaged winsock file symptoms (1)  how to test winsock (1)  install msafd netbios (1)  how to detect winsock corrupt (1)  winsock2 install XP (1)  winsock symptoms (1)  ubuntu tcp repair (1)  damaged winsock renew IP (1)  The page cannot be displayed xp sp1 winsock repair (1)  uTorrent winsock files (1)  how to determine if winsock is corrupted (1)  repairing damaged dvd tricks (1)  ubuntu internet explorer winsock error (1)  winsock2 regedit (1)  fixing damaged network connection (1)  how to repair winsock2 (1)  internet connection winsock netbios (1)  damaged winsock in xp (1)  winsock and winsock2 in xp (1)  NET BIOS REPAIR (1)  winsock2 download for xp (1)  "msafd" (1)  An error occurred while renewing interface \\\'Internet\\\': An operation was attempted on something that is not a socket.” (1)  NETBT_tcpip reboot (1)  repair winsock xp sp1 (1)  tcp fix utorrent (1)  winsock for sp1 (1)  how can i repair utorrent (1)  RSVP TCP service provider in XP (1)  fixing damaged ip (1)  winsock2 fix XP (1)  winsock fix only installs winsock2 (1)  how can i fix apipa address? (1)  netbios repair winxp (1)  winsock fix 1.2 (1)  "winsock" "repair" (1)  repair winsock socket repair (1)  repair winsock fix xp sp1 (1)  apipa repair (1)  error occurred while renewing operation attempted on not a socket (1)  how to fix corrupted winsock2 (1)  winsock2 repairing software (1)  REPAIRING APIPA (1)  winsock utorrent (1)  corrupt winsock2 (1)  how to repair internet socket (1)  manually reparing winsock in xp (1)  NetBIOS name repair (1)  regedit netbios (1)  test for winsock error in XP SP1 (1)  corrupt inf directory (1)  renew winsock2 (1)  TCPIP repair for sp1 (1)  winsock2 corruption +repair (1)  winsock test xp (1)  corrupt winsock error (1)  delete winsock2 internet fix (1)  fix tcpip SP1 (1)  how to correct corrupt regedit (1)  repair a corrupt socket (1)  repair winsock file (1)  rsvp regedit (1)  xp socket fix (1) 

    Disclaimer: The owner of this blog will not be responsible for the outcome of the usage of the contents
    in this blog. Certain posts may not be relevant in the future and the owner can only guarantee that
    the posts were accurate as they are supposed to be at the time the post were first published.