Solved

Windows XP SP 3 Wireless Issues (winsock corruption)

Posted on 2010-08-23
6
608 Views
Last Modified: 2012-06-21
We have several Laptops that are frequently (many times a day) docked then undocked.  We find that at some point the IP of the Lan Card is not released when undocked and if you reboot the computer without a LAN connection the card gets a 169.254.x.x address.  Normal a working Laptop once it is undocked the Lan IP on an ipconfig returns to 0.0.0.0 (network cable is unplugged notice) and the Wireless Card with a valid IP. If I do a route print while unplugged from the Lan then the LAN card interface doesn’t display, only the Wireless IP Interface and the Loopback IP.

All computers are Windows XP SP3 with all security and critical Windows updates up to date.

At some point something gets corrupted where when I removed the computer form the dock and do an ipconfig then the Lan IP still shows an IP address (should show 0.0.0.0).  And if I do a route print the Lan IP address shows as an active interface and is the active Default Gateway.

Currently we reset the Winsock by running Netsh commands:
Netsh int ip reset reset.log
Netsh winsock reset category

After running these commands and rebooting the computer everything works properly again for a while but something triggers this to corrupt again.   It seems that the media sensing fails to recognize that the network cable has been removed.  If the Lan IP is not released and the routing table doesn’t update to route through the wireless card then the computer cannot see the network.

Is there any permanent fix for this so when the network cable is released the IP is released and the route table updates?
0
Comment
Question by:BKRsupport
6 Comments
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33504624
0
 
LVL 19

Expert Comment

by:Rob Hutchinson
ID: 33504709
What happens if you put the wireless network at the top of the list on priorities?
Does this help it to find the wireless network when the laptops are undocked?

Right click "My Network Places" then choose Properties.
From the Network Connections box, choose Advanced > Advanced Settings
From the Advanced Settings box, choose the Adapters and Bindings tab
You should see a box similar to the print screen:
Select the Wireless Network Connection and highlight it, then click the green up arrow moving it to the top of the list.

network-adaptersandbindings.bmp
0
 

Expert Comment

by:Baaaruuuce
ID: 33504712
Might be a long shoot, but are they also using something along the lines of an aircard?  If so, those settings will need to be modified.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Accepted Solution

by:
BKRsupport earned 0 total points
ID: 33510758
I think I found the issue, to help apply group policy settings effectively and help with speeding up booting times we disabled XP Media Sensing feature (HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters DisableDHCPMediaSense=1).  This caused the Laptops to try to assign an IP address to the Lan card even if the wire was disconnected.  By re-enabling the Media Sense (DisableDHCPMediaSense=0) on Laptops we so far have had good results.  We will monitor and update if this is the solution to our issue.
0
 
LVL 19

Expert Comment

by:Rob Hutchinson
ID: 33546363
Glad to hear you found a solution never would have guessed at this being the solution.
0
 
LVL 1

Author Comment

by:BKRsupport
ID: 33557602
Enabling the XP Media Sensing feature seems to have resolved the issue.  We have not had a user with this issue in a week.  
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Resolve DNS query failed errors for Exchange
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

760 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

18 Experts available now in Live!

Get 1:1 Help Now