Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows XP SP 3 Wireless Issues (winsock corruption)

Posted on 2010-08-23
6
Medium Priority
?
615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

721 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