Determine NIC Address

Hits: Failed to execute CGI : Win32 Error Code = 3


A reliable method of obtaining the NIC address programmatically. If NetworkAddressLocal=0, there is a NIC card installed. The contents of NetworkAddress is a six-byte array that corresponds to the NIC address.

Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Description\Microsoft\Rpc\UuidTemporaryData
Name: NetworkAddressLocal
Type: REG_DWORD
Value: 0=NIC installed
Type: REG_DWORD
Value: 0=NIC installed
Name: NetworkAddress=NIC address
This address has been known to be incorrect when Ghosting or other image duplication techniques have been used to install a set of PCs. A series of PCs ghosted were found to have the same NIC address. If NetBios protocols are installed, standard NetBios calls may be more reliable.