Solved

Windows XP SP 3 Wireless Issues (winsock corruption)

Posted on 2010-08-23
6
612 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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