1

Is there a way to make windows stop dropping the interface every time a cable comes unplugged? I don't care about those little balloons that pop up when the cable state changes, as annoying as those are. The specific problem is that when a cable is out, while you can still see the network adapter name/properties in the 'Network Connections', the OS seemingly unbinds the IP address from the port, as evidenced by the output of ipconfig.

This wreaks havoc on certain network utilities, such that once the cable is back in place, I then have to go re-tune their settings to get things back to normal. Ideally, the IP address would not evaporate, Windows would just list the interface as 'no link' or something.

This gets especially ugly when it happens on a machine with two nics; for example I only want my TFTP server on one network, but if Windows happens to have taken the IP address away when my TFTP server is started (cable temporarily out), the TFTP server might acquire the IP address of the nic that is up.

2
  • Which version of Windows? Is it Windows 1, Windows 7 or something in between? No one solution can apply to all of them. Oct 9, 2009 at 23:55
  • sorry. should have said. XP.
    – JustJeff
    Nov 10, 2009 at 21:55

1 Answer 1

2

You want to disable "Media Sensing" on the interface in question.

http://support.microsoft.com/kb/239924/

The summary: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

Add: Name: DisableDHCPMediaSense Data type: REG_DWORD (Boolean) Value: 1

1
  • exactly what i was looking for!
    – JustJeff
    Mar 11, 2010 at 2:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .