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. 



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
TCP/IP Registry Values for Microsoft Windows Vista and Windows Server 2008
Additional information:

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

1 person found this reply helpful


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated October 29, 2020 Views 37,295 Applies to: