SysChat is a free online computer support community. Ask questions, share resources, contribute knowledge and discuss technology. Join our growing community to access all features. Register Now!

SysChat » Tips 'n' Tricks » Windows XP » How to Repair Damaged Winsock2

Windows XP

windows xp help, support, tips, tweaks and tricks

Comment
 
LinkBack Tip Tools
 

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
Comment

Tags
damaged winsock2 file, winsock2 repair





Similar Threads
Tip Tip Starter Category Tips Last Post
How to repair damaged BKF files? evan Backup and Data Recovery 1 10-21-2011 02:48 AM
How to Repair Damaged QuickBooks Company File using QuickBook Repair Tool? buryshane Articles 0 11-30-2010 01:38 AM
Repair MS Access Database File anuritasingh Articles 0 01-25-2010 06:18 AM
Windows Vista: How to Repair Vista with Startup Repair KarlM Windows Vista 0 03-30-2009 11:09 PM
Test Methods to Detect Symptoms of a Damaged Winsock2 jerrygaor Networking 0 11-12-2007 11:48 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are on



» Ads



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