PDA

View Full Version : Thought I would share this with you.



Trev
12-06-2005, 12:20 AM
Hi All

All day Wednesday and Thursday and half of Friday I had a slow internet connection. I'm on ADSL. Anyway the strange thing about it was that my D/L speeds were okay and playing VSK3 on the net was alright. It was my browsing that was slow, about 5 mins to bring up a page. About one oclock yesterday I rang up my ISP and I told the support person the situation and that I had run 3 differant spyware programes, and NAV, with the latest definitions and they had come up clean. He then told me to go through the procedure of repairing the Winsock2.dll as describe in the article below, and it fixed my problem.

Trevor :)

Repairing Damaged Winsock2
Updated 6/26/04
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
1. Run Msinfo32
2. Click on the + by Components
3. Click on the by Network
4. Click on Protocol
5. 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
1. Run Regedit
2. Delete the following two registry keys:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock2
Download Reg file to delete these entries
3. Restart the computer
4. Go to Network Connections
5. Right click and select Properties
6. Click on the Install button
7. Select Protocol
8. Click on the Add button
9. Click on the Have Disk button
10. Browse to the \Windows\inf directory
11. Click on the Open button
12. Click on the OK button
13. Highlight Internet Protocol (TCP/IP)
14. Click on the OK button
15. Reboot

Safari
12-06-2005, 12:44 AM
This is a very common problem and usually shows up by not being able to load any web sites at all.

It is easier to run the winsock fix if you can download it.

http://www.snapfiles.com/get/winsockxpfix.html

Trev
12-06-2005, 10:19 AM
Thanks for that Safari.

Trevor :)

FoxyMX
12-06-2005, 11:19 AM
It is easier to run the winsock fix if you can download it.

http://www.snapfiles.com/get/winsockxpfix.html
So that winsockfix does exactly the same as what Trev has posted, for all Windows versions?

Overdrive_5000
12-06-2005, 11:34 AM
No just Xp

FoxyMX
12-06-2005, 11:52 AM
No just XpOops, I forgot to come back and edit my post after visiting that site. It is indeed just for WinXP.

This page (http://www.cexx.org/lspfix.htm) is where I get my Winsock repair utilities from. It caters for all Windows versions.

I think it ought to be clarified which version/s of Windows that the instructions Trev has posted is for.

Trev
12-06-2005, 05:08 PM
Hi All

All day Wednesday and Thursday and half of Friday I had a slow internet connection. I'm on ADSL. Anyway the strange thing about it was that my D/L speeds were okay and playing VSK3 on the net was alright. It was my browsing that was slow, about 5 mins to bring up a page. About one oclock yesterday I rang up my ISP and I told the support person the situation and that I had run 3 differant spyware programes, and NAV, with the latest definitions and they had come up clean. He then told me to go through the procedure of repairing the Winsock2.dll as describe in the article below, and it fixed my problem.

Trevor :)

Repairing Damaged Winsock2
Updated 6/26/04
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
1. Run Msinfo32
2. Click on the + by Components
3. Click on the by Network
4. Click on Protocol
5. 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
1. Run Regedit
2. Delete the following two registry keys:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Winsock2
Download Reg file to delete these entries
3. Restart the computer
4. Go to Network Connections
5. Right click and select Properties
6. Click on the Install button
7. Select Protocol
8. Click on the Add button
9. Click on the Have Disk button
10. Browse to the \Windows\inf directory
11. Click on the Open button
12. Click on the OK button
13. Highlight Internet Protocol (TCP/IP)
14. Click on the OK button
15. Reboot

Sorry forgot tp put what OS.
This is for Windows Xp

Trevor:)