Tip & How-To about Computers & Internet

WinXP Tips And Tricks, Winsock 2 repair

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 [UCP/IP]
RSVP UDP Service Provider
RSVP UDP 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 name 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 butoon
Browse to the \Windows\inf directory
Click on the Open button
Click on the OK butoon
Highlight Internet Protocol (TCP/IP)
Click on the OK button
Reboot

Good luck!


Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

2 Answers

what does computer command "ipconf/release" do?


This command will flush the IP address from an active connection. The correct syntax is ipconfig /release *con* which will release all connections. If you just want to see if you can get a new address then use ipconfig /renew

Sep 03, 2014 | Lenovo ThinkCentre Computers & Internet

1 Answer

reset ip address


If you use DSL or a cable modem you could try (as mentioned above) resetting your IP address. Go to the RUN command, type "command"

There you can type:
/ipconfig
(shows your current IP)

/ipconfig /ALL
(more details such as when the current IP "lease" expires)

/ipconfig /renew
(renews your IP address)

/ipconfig /release
(drops your current IP)
Bell High Speed users need only reset the modem to obtain a new IP. You can check your current IP address from http://www.ip-details.com
IP Details com Find your IP address Information

Jan 14, 2014 | Lexmark E260dn Laser Printer

2 Answers

Dap 1160 Problem access web admin page


connect device directly to your computer using Ethernet cord. try to release and renew IP from the command prompt
IPCONFIG /RELEASE
IPCONFIG /RENEW
IPCONFIG /FLUSHDNS

then perform ipconfig. From there you will be able to get the IP address of the access point that you will need when accessing web admin page

Dec 22, 2012 | D-Link DAP-1160/B ACCESS POINT, WLESS G,...

4 Answers

How to release and renew the IP address in Win Xp.


Go to start
Go to run
type cmd
to renew the IP command is

ipconfig /renew

to releaed the command is


ipconfig /release

May 03, 2010 | HP Pavilion dv6000z Notebook

2 Answers

need to renew ip address for my emachine T3516


just right click on your local connection on the desktop by the clock and click on "repair". this should clear the cache and renew the IP addy and DNS for yur connection. OR

Follow these steps to quickly release and/or renew the Internet Protocol (IP) address of a computer running Windows XP, Windows 2000, or Windows NT. Here's How:
  1. Click the Start menu button on the Windows taskbar.
  2. Click Run... on this menu.
  3. If the computer is holding a current IP address, type 'cmd' (without the quotes) in the text box that appears. A command prompt window appears on the screen.
  4. Type 'ipconfig' (without the quotes) to view the status of the computer's IP address(es).
  5. If the computer is holding a current IP address, type 'ipconfig /release' to let go of the address.
  6. Type 'ipconfig /renew' to obtain a new IP address (whether or not the computer is holding a current address).
Tips:
  1. If it is not necessary to view the current IP addresses on a computer, simply type 'ipconfig /release' or 'ipconfig /renew' (without the quotes) in the text box that appears in Step 3.

  2. To bring a computer back onto the network after moving it to a different location, or experiencing an unexpected outage, first release, then renew the IP address. Computers on DHCP networks often (but not always) re-establish network connectivity automatically

Oct 28, 2008 | Gateway Computers & Internet

Not finding what you are looking for?

183 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...