Hello,
On Windows 8.1 we need to keep the network interface available for applications even with cable unpluged.
On XP, there is a working registry key for DHCP (used as a buggy feature?) :
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
Value Name: DisableDHCPMediaSense
Data Type: DWORD
Value Data Range: 0, 1 (False, True)
But on Windows 8.1, disabling DhcpMediaSense does not have the same behavior. I guess it's only for DHCP.
netsh :
netsh interface ipv4 set global dhcpmediasense=disabled
netsh interface ipv6 set global dhcpmediasense=disabled
PowerShell :
Set-NetIPv4Protocol [-DhcpMediaSense<DhcpMediaSense>]
Set-NetIPv6Protocol [-DhcpMediaSense<DhcpMediaSense>]
We do not need any DHCP feature (we use static IP only),
How we can keep parameters shown by "ipconfig" / network API available when cable is unplugged ?
Thanks
- Edited by Lionel Blanchard 14 hours 43 minutes ago
- Moved by Marvin_Guo 1 hour 24 minutes ago Window Client Related