Wednesday, August 09, 2006

ThinkPad X32 can't run IPCONFIG

* ThinkPad X32 can't run IPCONFIG
* When running ipconfig in the command line, an error message appeared as follow

c:\ipconfig /all
Windows IP Configuration
An internal error occurred: A device attached to the system is not
functioning.
Please contact Microsoft Product Support Services for further help.
Additional information: Unknown media status code.

Solution:
http://support.microsoft.com/default.aspx?scid=kb;en-us;239924
1. Use Registry Editor (Regedt32.exe) to view the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
Add the following registry value:
Value Name: DisableDHCPMediaSense
Data Type: REG_DWORD -Boolean
Value Data Range: 0, 1 (False, True) Default: 0 (False)
Description: This parameter controls DHCP Media Sense behavior. If you set this value data to 1, DHCP, and even non-DHCP, clients ignore Media Sense events from the interface. By default, Media Sense events trigger the DHCP client to take an action, such as attempting to obtain a lease (when a connect event occurs), or invalidating the interface and routes (when a disconnect event occurs).
2. Restart your computer.