Windows 2000 disable link state detection for TCP/IP

  • Section(s): Network
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 3.9 out of 5 based on 12 votes.
Windows 2000 supports Media Sensing . Media sensing is used under TCP/IP to detect whether your nic is or is not in a link state . A link state is when the physical media inserts itself onto the network. Token Ring and Ethernet network adapters and hubs typically have a link light to indicate the current connection status. Windows 2000 detects link state and whenever it detects a down state, it removes the bound protocols from that adapter until it re-enters up state. When using loopback, you may want to disable state detection using the following Windows 2000 registry hack:

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Tcpip\Parameters
Name: DisableDHCPMediaSense
Type: REG_DWORD
Value: 0 disabled
Value: 1 enabled

Be careful! Whats disabled? Whats enabled? To disable media sense, set=1.

Note: Media sense is available under TCP/IP only. Not available under ipx or netbuei protocols.

Caution: If you have multiple adapters with multiple routes, this setting would leave a disfunctional link active. Also, if you are a portable user, this feature provides the ability to connect to any network and have everything work, without restarting, release and renewing, and so on.

About Wayne Maples


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?