CNLoginAgent IP or MAC unknown

July 14, 2011 • Customer Services       
Synopsis

You are running the CNLoginAgent.exe tool and the IP/MAC address is (unknown)

Article

First check that at least one network adapter is enabled on the machine. Run ipconfig /all to check that there is at least one ethernet (wired or wireless) adapter with an IP address.

Secondly, you may need to re-register certain WMI libraries that the CNLoginAgent uses to query the IP/MAC address. You can do this as follows. Open a command prompt and type:

cd c:\windows\system32\wbem

Now type the following command from within this folder:

for %i in (*.dll) do RegSvr32 /s %i

Next, you need to register the .exe files EXCLUDING Mofcomp.exe and Wmic.exe. Use the following command:

regsvr32 /s <filename.exe>

example: regsvr32 /s scrcons.exe

Repeat for all .exe files in the folder (dir *.exe to find them all)

Once you have done all that, retry the CNLoginAgent? e.g.

CNLoginAgent.exe 10.0.0.254 8080 debug

This should now correctly show the IP and MAC address of the machine.

Related articles


Last modified on Wed, September 21, 2011 « Back