SysChat

SysChat (http://www.syschat.com/forum.php)
-   Windows XP (http://www.syschat.com/tips-n-tricks/windows-xp/)
-   -   How to Repair Damaged Winsock2 (http://www.syschat.com/how-to-repair-damaged-winsock2-6261.html)

david 02-26-2011 11:58 AM

How to Repair Damaged Winsock2
 
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


All times are GMT -4. The time now is 08:30 AM.


Copyright © 2005-2013 SysChat.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54