?
Solved

Is WINSOCK corrupted or not?

Posted on 2012-03-17
11
Medium Priority
?
1,524 Views
Last Modified: 2012-03-29
I am trying to troubleshoot a connectivity issue we are having with our terminal server and rdp connections overa vpn. In doing so I came accross this
http://support.microsoft.com/kb/811259

"How to determine and to recover from Winsock2 corruption in Windows Server 2003, in Windows XP, and in Windows Vista"

Even though the article says it is for windows server 2003, there are no instructions for windows server 2003 in the article."

So based on the XP instructions, if I run "Msinfo32" and check the Components/Network/Protocol/" I should have 10 sections in the list.

I only have four.

the KB says "If there are fewer than ten sections, there is information missing."

So I tried the MS fixit and rebooted. Checked again and I still only have 4 sections

Tried the "netsh winsock reset" rebooted and still only 4 Sections.

So is my winsock corrupted or not. If so how do I fix it?

This is what is listed:

Name      MSAFD Tcpip [TCP/IP]
Connectionless Service      No
Guarantees Delivery      Yes
Guarantees Sequencing      Yes
Maximum Address Size      16 bytes
Maximum Message Size      0 bytes
Message Oriented      No
Minimum Address Size      16 bytes
Pseudo Stream Oriented      No
Supports Broadcasting      No
Supports Connect Data      No
Supports Disconnect Data      No
Supports Encryption      No
Supports Expedited Data      Yes
Supports Graceful Closing      Yes
Supports Guaranteed Bandwidth      No
Supports Multicasting      No
      
Name      MSAFD Tcpip [UDP/IP]
Connectionless Service      Yes
Guarantees Delivery      No
Guarantees Sequencing      No
Maximum Address Size      16 bytes
Maximum Message Size      63.93 KB (65,467 bytes)
Message Oriented      Yes
Minimum Address Size      16 bytes
Pseudo Stream Oriented      No
Supports Broadcasting      Yes
Supports Connect Data      No
Supports Disconnect Data      No
Supports Encryption      No
Supports Expedited Data      No
Supports Graceful Closing      No
Supports Guaranteed Bandwidth      No
Supports Multicasting      Yes
      
Name      RSVP UDP Service Provider
Connectionless Service      Yes
Guarantees Delivery      No
Guarantees Sequencing      No
Maximum Address Size      16 bytes
Maximum Message Size      63.93 KB (65,467 bytes)
Message Oriented      Yes
Minimum Address Size      16 bytes
Pseudo Stream Oriented      No
Supports Broadcasting      Yes
Supports Connect Data      No
Supports Disconnect Data      No
Supports Encryption      Yes
Supports Expedited Data      No
Supports Graceful Closing      No
Supports Guaranteed Bandwidth      No
Supports Multicasting      Yes
      
Name      RSVP TCP Service Provider
Connectionless Service      No
Guarantees Delivery      Yes
Guarantees Sequencing      Yes
Maximum Address Size      16 bytes
Maximum Message Size      0 bytes
Message Oriented      No
Minimum Address Size      16 bytes
Pseudo Stream Oriented      No
Supports Broadcasting      No
Supports Connect Data      No
Supports Disconnect Data      No
Supports Encryption      Yes
Supports Expedited Data      Yes
Supports Graceful Closing      Yes
Supports Guaranteed Bandwidth      No
Supports Multicasting      No
0
Comment
Question by:DCJ-TX
11 Comments
 
LVL 14

Expert Comment

by:Tribus
ID: 37733827
Give these two articles a good read, without knowing the background of your issue it is hard to determine what actually happened, but read through these and see what you get:

http://compnetworking.about.com/od/windowsnetworking/qt/winsockfix.htm

http://compnetworking.about.com/gi/o.htm?zi=1/XJ&zTi=1&sdn=compnetworking&cdn=compute&tm=29&f=10&tt=13&bt=1&bts=1&zu=http%3A//support.microsoft.com/kb/811259
0
 

Author Comment

by:DCJ-TX
ID: 37733858
Thanks But those don't help they both just link back to the same MS KB article I mentioned in my post. With no instructions for windows server 2003
0
 
LVL 14

Assisted Solution

by:Tribus
Tribus earned 2000 total points
ID: 37733879
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:DCJ-TX
ID: 37733880
yeah, I tried that too but Still have the same results.

Thanks
0
 
LVL 14

Expert Comment

by:Tribus
ID: 37733889
Guess I will let a better Expert take a shot then.  You may end up making a a backup and have to re-install your server....
0
 
LVL 11

Expert Comment

by:Khandakar Ashfaqur Rahman
ID: 37733896
Do you see any Socket error into Event log ?Here is the error code of Windows socket error:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx

For Windows 2003 check the following link to fix Winsock error:
http://support.microsoft.com/kb/325356

To check winsock catalog: netsh winsock show catalog
And check the following link that shows how to use netdiag to determine winsock corruption:
http://www.computerperformance.co.uk/w2k3/utilities/windows_netdiag.htm
0
 

Author Comment

by:DCJ-TX
ID: 37733929
No, I am not seeing socket errors in the events.

Thanks, looks like netdiag might help but I dont have suppot tools installed. I'll have to hunt down my cd.
0
 
LVL 39

Expert Comment

by:ChiefIT
ID: 37755843
There is a problem with supporting SP2 and Terminal Services. The problem with service pack two is it tries to set the listening port of the server to something other than the default 3389 error.

Your Winsock is probably not broken, your TS is probably listening on the wrong port.

The Winsock is a mixture of the IP address and application port. If you can ping the machine and telnet to the port, it's not a winsock problem.

Using Administrator priveleges,  To see what port your Terminal Services is listening on, go to the server's command prompt and type: Netstat -ab

Is terminal services listening on port 3389? If not, you have a problem.

Also read about terminal services listening on the wrong port:
http://www.lan-2-wan.com/2003-SP2.htm
0
 

Accepted Solution

by:
DCJ-TX earned 0 total points
ID: 37760987
I am not sure which fixed it but I followed this artical a second time. And I made a static arp entry for the terminal server in my firewall. One of the two resolved the problem.

Though I still don't understand why the ms artical says I should have 10 entries but I only have 4.

Thanks for all the help.

http://support.microsoft.com/kb/317518
0
 
LVL 14

Expert Comment

by:Tribus
ID: 37761343
Glad I could help it's why we do what we do here at EE!
0
 

Author Closing Comment

by:DCJ-TX
ID: 37780898
I had already tried this before it was suggested. But tried it again afterword. Also I created the static entry and really don't know which fixed it.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
An article on effective troubleshooting
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question