Hi All,
Is it possible to read the assest tag from the bios? I would like to get model number or asset tag so, I can automatically detect what system drivers are needed. Could not find anything in the forums.
Thanks
Professional Software Development Tools
Hi All,
Is it possible to read the assest tag from the bios? I would like to get model number or asset tag so, I can automatically detect what system drivers are needed. Could not find anything in the forums.
Thanks
I don't know of a way to do it entirely within an AMS script, however I once used a .vbs script that would write the info to an INI file that you could read into AMS.
I can post the script if you're interested.
Here is the .VBS script, and the AMS code that will work with it
For the record, this is to get the Dell asset tag, I have no idea if it will work with any other brands, but it was pretty reliable with the Dells that I used.Code:tLanInfo = System.GetLANInfo(); File.Run("cscript.exe", _TempFolder.."\\ServiceTag.vbs "..tLanInfo.Host), "", SW_MINIMIZE, true); Application.Sleep(1000); sServiceTag = INIFile.GetValue("C:\\Windows\\ServiceTag.ini", "Main", "ServiceTag"); if sServiceTag == "" then sServiceTag = "UNKNOWN" end
Thanks - That will work!
Hello,
Line 2 unexpected symbol. Not sure what symbol is casuing the error. I change the code and get the same results. I mus have missed something!
Can someone identify the symbol? Thanks
It seems, the right bracket in the parameters field (after tLanInfo.Host) is superfluous.
I removed the bracket - same error.
Does anyone know hw to the asset tag fom Dell Bios?
I found this on MS site - Not sure how to make it work with AMS.
Start>Run>wmic SystemEnclosure.SMBIOSAssetTag
I would like to read the asset tag and if asset tag =O755 then do this elseif asset tag =O745 then do this etc...
Also, found some info from IBM SMBIOS2.exe but could not find the download.
Thanks
there is a little tool named BIOS Information Tool 1.3
You can download it at http://software.filestube.com/download,3614acc8.html
it makes a little report with serialetc.
It works on all computers (not only dell) and here you can extract the values easily, parsing for the different elements.
There is another site with usefull freeware http://www.nirsoft.net/utils/index.html.
Tools around the system and usb.
Last edited by presidente; 12-31-2008 at 10:32 AM.
Thanks for the information! I don't understand how to parse a file - I have tried but, fail everytime. All I want is to be able to get the Model or asset tag of a computer then if model= something then do this elseif model=something then do this etc...
Basically I want to detect the system model or asset tag and install the correct system drivers (NIC, video, chipset, etc.)
It seems simple to do - I just don't know how to do it!
Thanks again