Windows

  • Windows 7
  • Windows
  • All forums
Question

How to disable Media Sense in Windows 7?

I have updated the DisableDHCPMediaSense value in the registry but I am still getting "Media Disconnected" when the network is unplugged.  This is causing an issue because some of the software we use requires the IP to be licensed.  Does anyone know another (a) way to disable the Media Sense feature for Windows 7.

Thanks in advance for help. 

Wes

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation
5 People had
this question

Was this helpful?

2

Votes

Answer

Hi Wes C,
To disable Media Sense, please perform the following steps:
1)     Click on the Start button.
2)     Type cmd in the search bar.
3)     Right click on the cmd.exe and select Run as Administrator.
4)     Run the following commands one by one:
netsh interface ipv4 set global dhcpmediasense=disabled
netsh interface ipv6 set global dhcpmediasense=disabled
5)     After finishing the commands above, please run the following commands to check the results:
netsh interface ipv4 show global
netsh interface ipv6 show global

Please check if the entry “DHCP Media Sense” shows disabled or not. If it is disabled, it means the operations are successful.
However, please also note, the Media Sense depends on the NIC; if the NIC didn’t support the Media Sense, the configurations won’t take effect, either. Therefore, please also check the issue with the technical support of your NIC.
For more information, please refer to the following documents:
DHCP Media Sense
http://msdn2.microsoft.com/en-us/library/aa505960.aspx
TCP/IP Registry Values for Microsoft Windows Vista and Windows Server 2008

http://download.microsoft.com/download/c/2/6/c26893a6-46c7-4b5c-b287-830216597340/TCPIP_Reg.doc
Additional information:
http://social.technet.microsoft.com/Forums/en/itprovistanetworking/thread/78837cc8-b101-4236-906a-f09f0c442221

Hope this helps. Let us know the results.
Thanks & Regards,
Vijay B – Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think


    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Vijay B

Support Engineer

Was this helpful?

Did anyone every find out how to fix this in WIN7 I need the nic to stay up because our license is tied to the nic.

DisableDHCPMediaSense=1 does not seem to matter. I have a Lenovo laptop with Intel NIC.

-Jim

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

No...after working with Microsoft for a while it was determined that Microsoft has designed the operating system to require a network connection.  I had to write a service, to fix our licensing issues.

Wes

    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Was this helpful?

I have the same problem. I always have to boot, log in to windows, go to regedit, just edit the  DisableDHCPMediaSense=1 entry (it is set at 1 but it does not seem to matter unless I go there edit it and relog) reboot, then I am able to work normally. Any help/service/dll/script/whatever would be greatly appreciated.

Harry.
    • Child exploitation or abuse
    • Harassment or threats
    • Inappropriate/Adult content
    • Nudity
    • Profanity
    • Software piracy
    • SPAM/Advertising
    • Virus/Spyware/Malware danger
    • Other Term of Use or Code of Conduct violation

Message marked as answers cannot be deleted

To delete this message, first unmark this message as an answer, then delete it.

Reason to remove escalation


Merge

Enter the thread ID of the thread you are merging into


Reply will be posted to a public thread

You are replying to a public portion of this thread. To reply privately, click Cancel, click the Private Messages tab, and Reply on that private message.

Don't show this message again

To report abuse, sign in or continue without signing in

Thank you.

Report abuse

Abuse type:

Details (optional):

Report abuse

Abuse type:

Details (required):
Enter the characters you see (required):
Type the numbers that you see in the picture.
Play audio and type the numbers that you hear.
Show a different picture.

Sign in

Hotmail, Xbox Live, Messenger, or msn accounts will also work.

Don't have one of the above accounts?

Signing in...
This page will automatically update after you are signed in.
If you are having problems, you can close this message and try to connect again.