|
| How to Repair Damaged Winsock2 By david
02-26-2011
| | |
When we try to release and renew an IP address using IPCONFIG command then sometimes we get an error massage which says: An error occurred while renewing interface 'Internet': An operation was attempted on something that is not a socket.
Again 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.
Actually this error occurs if the system winsock2 file is damaged.
To confirm that winsock2 file is damaged. Follow the steps below: Winsock Test Method 1
Run netdiag /test:winsock
After execute his command
Lastly tell Winsock test ..... passed Winsock Test Method 2
go to Run and type 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 you see the names are anything different from those in this list, then determine that Winsock2 is corrupted and needs to be repaired.
Now let see how we can repair Winsock2 file: To repair Winsock2
Just Run Regedit Delete the following two registry keys: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock2 Restart the computer
Then 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
|
|