Solved

Is WINSOCK corrupted or not?

Posted on 2012-03-17
11
1,483 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
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
0
 

Author Comment

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

Thanks
0
 
LVL 14

Expert Comment

by:Tribus
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 11

Expert Comment

by:Khandakar Ashfaqur Rahman
Comment Utility
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
Comment Utility
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 38

Expert Comment

by:ChiefIT
Comment Utility
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
Comment Utility
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
Comment Utility
Glad I could help it's why we do what we do here at EE!
0
 

Author Closing Comment

by:DCJ-TX
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
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…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now