Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9

Thread: Read from BIOS

  1. #1
    Join Date
    Feb 2006
    Posts
    346

    Read from BIOS

    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

  2. #2
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    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.

  3. #3
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    Here is the .VBS script, and the AMS code that will work with it

    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
    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.
    Attached Files

  4. #4
    Join Date
    Feb 2006
    Posts
    346
    Thanks - That will work!

  5. #5
    Join Date
    Feb 2006
    Posts
    346
    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

  6. #6
    Join Date
    Jan 2008
    Location
    Ufa, Russia
    Posts
    128
    It seems, the right bracket in the parameters field (after tLanInfo.Host) is superfluous.

  7. #7
    Join Date
    Feb 2006
    Posts
    346
    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

  8. #8
    Join Date
    Jun 2008
    Posts
    108
    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.

  9. #9
    Join Date
    Feb 2006
    Posts
    346
    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

Similar Threads

  1. read specific lines of text to string
    By tsbsts in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 09-01-2007, 01:52 AM
  2. How to read the registry and put text back into it?
    By Stein Inge in forum Setup Factory 7.0
    Replies: 4
    Last Post: 12-15-2006, 07:37 AM
  3. Read ini file from the web to listbox
    By Ham in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 05-22-2006, 10:54 AM
  4. Add "Read File Attributes" to "Read File Information"
    By Marker0077 in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-08-2003, 09:05 AM
  5. Read from registry or ini??
    By Michael in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 09-10-2001, 08:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts