Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

October 31, 2001 12:00 AM

Working Around Win2K's Media Sense Feature

Windows IT Pro
InstantDoc ID #22729
Rating: (0)

My company uses a commercial software product that employs a NIC's MAC address as part of its security dongle. We've used this product on Dell and Compaq laptops running Windows NT, and the software works both when the laptops are connected to the network (through a 3Com PC Card) and when the users are roaming.

We're beginning to use new laptops with Windows 2000 preinstalled. We want to migrate our mobile users from the NT laptops to the Win2K laptops, but we're having trouble with the software I described. As soon as a migrated user starts a Win2K laptop without a network connection, the dongle fails. Apparently, the software can't find the MAC address because the OS has switched off the PC Card. The software will work only when the laptop is connected to the network through an RJ-45 cable connected to an active port.

The computer vendor tells us that our problem involves the OS and that we need to talk with Microsoft. Microsoft tells us that the problematic OS behavior is "a feature and by design." The software vendor doesn't know a way around the problem. Do you know a registry fix or some other method that we can use to fool Win2K into keeping the PC Card active regardless of network connection?

Win2K's Media Sense feature, which the OS uses only in conjunction with TCP/IP, detects a Win2K system's NIC connection to a network. When the system is disconnected from the network, the OS removes all bindings from the adapter. To turn off Media Sense, open a registry editor and go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters subkey. Add the registry value DisableDHCPMediaSense (of type REG_DWORD) and set the value to 1.

This fix is best used only on laptops. (The Microsoft article "How to Disable Media Sense for TCP/IP in Windows 2000" at http://support.microsoft.com/support/kb/articles/q239/9/24.asp describes the feature and the registry fix.)

Related Content:

ARTICLE TOOLS

Comments
  • foo
    9 years ago
    Dec 08, 2003

    does this stuff work on xp?

  • Mike Taggart
    11 years ago
    Nov 20, 2001

    Hello, I was reading this article and found it kind of funny that I ran into the same thing. Our work around for this was using a loopback adapter while the machine was not connected to the domain. I guess this is another alternative if you're not comfortable doing registry editing. :)

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.