Solved

Windows XP SP 3 Wireless Issues (winsock corruption)

Posted on 2010-08-23
6
611 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…

840 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