Computer name with MAC address

(imported topic written by lee91)

Hi everyone,

I intend to tie with MAC address with computer name but I failed with to it with following code that I obtained from other people .

mind help me?

name of operating system as lowercase contains “win”) AND (exists setting “Computer Name Database” of client) AND ((value of setting “Computer Name Database” of client) as string != (computer name) as string)

prefetch compname.exe sha1:7ea62d7d32a18b6904b36501fb4cad573c99ed36 size:207872 http://www.willowhayes.co.uk/download/compname.exe

waithidden cmd.exe /C __download\compname /c {value of setting “Computer Name Database” of client}

shutdown -f -r -t 30

(imported comment written by sthull)

Do you have any more detail about what part is failing? Is a line of the actionscript failing or is it just not ending up with the results you expect?

Initially you should verify that the compname command you specified will run manually. Also, it’s a good idea to verify what {value of setting “Computer Name Database” of client)} returns using the Relevance Debugger. Depending on what is set in this key, you may need to add or remove quotes to get the compname command to accept it.

Regards,

Steve

(imported comment written by lee91)

Hi steve ,

when I test configuration in my relevance debugger .

q:value of setting “Computer Name Database” of client

A: (Empty answer)

I expect the computer name appears as my answer .

(imported comment written by BenKus)

Hi Lee,

Can you check “HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client” and see if the value of your setting is set properly?

Ben