Results 1 to 39 of 39

Thread: Dell Service Tag

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2003
    Posts
    42

    Re: Dell Service Tag

    okay after doing some research I found using Windows Managment Instrumentation can show me the the serial number that is stored in the bios. Now there has to be a way I can connect to my remote machine WMI and pull this info.

    Does this information help any ?

    The Win32_BIOS WMI class represents the attributes of the computer system's basic input/output services (BIOS) that are installed on the computer.. But I think this applies to VB5 & VB6 =(
    there has to be something for .net also.


    kleinma, thanks for your reply. But what do you think about the information I posted above ?

    szlamany, I called up Dell and the tech that I spoke to said it can't be done. And I say YES it can. Also the software that your are talking about where I can change the information inside the BIOS to refelect another motherboard I have that and you can probably download it. It's called Dell Portable Asset Tag Utility.

    Any more thoughts ???


    Thanks
    ScarEye

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Dell Service Tag

    Quote Originally Posted by ScarEye
    szlamany, I called up Dell and the tech that I spoke to said it can't be done. And I say YES it can. Also the software that your are talking about where I can change the information inside the BIOS to refelect another motherboard I have that and you can probably download it. It's called Dell Portable Asset Tag Utility.
    The fact that the Dell Portable Asset Tag Utility can show and change the value proved the Dell tech wrong!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Dell Service Tag

    Quote Originally Posted by ScarEye
    okay after doing some research I found using Windows Managment Instrumentation can show me the the serial number that is stored in the bios. Now there has to be a way I can connect to my remote machine WMI and pull this info.

    Does this information help any ?

    The Win32_BIOS WMI class represents the attributes of the computer system's basic input/output services (BIOS) that are installed on the computer.. But I think this applies to VB5 & VB6 =(
    there has to be something for .net also.


    kleinma, thanks for your reply. But what do you think about the information I posted above ?

    szlamany, I called up Dell and the tech that I spoke to said it can't be done. And I say YES it can. Also the software that your are talking about where I can change the information inside the BIOS to refelect another motherboard I have that and you can probably download it. It's called Dell Portable Asset Tag Utility.

    Any more thoughts ???


    Thanks
    ScarEye

    I think you would still need a "client" app running on each machine in order for you to connect to these machines via IP to get ANY information from them out of the BIOS... there just isn't a way you can take an IP, and using that IP obtain BIOS information from the remote computer, WMI doesn't have any "remote" capabilities like what you describe

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2003
    Posts
    42

    Re: Dell Service Tag

    kleinma,

    I am just doing some research and I did find this. Tell me what you
    think. I am still a n00b so that's why I am asking for everyones help


    http://msdn.microsoft.com/library/de...e_computer.asp



    Thanks

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2003
    Posts
    42

    Re: Dell Service Tag

    I can almost guarantee someone else is going to be looking for this badly.

    Anyway after a whole bunch of research and trial and error I got it.

    Take this open up notepad, save it as whatever you want .vbs

    PLEASE NOTE **This Will Display The Service Tag On Dell Computers**
    So far every Dell machine I have tried it has worked. it will basically just
    read the serial number that is located in the BIOS. Just happens that with Dell the Serial Number = Service Tag = The information I need... lol

    I didn't need any other information so that's all I coded in there.


    strComputer = "PRIVATE IP ADDRESS OR DNS NAME GOES HERE"
    Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
    Set objWMIService = objSWbemLocator.ConnectServer _
    (strComputer, "root\cimv2", _
    "DOMAIN\USER", "PASSWORD")
    Set colSMBIOS = objWMIService.ExecQuery _
    ("Select * from Win32_SystemEnclosure")
    For Each objSMBIOS in colSMBIOS
    Wscript.Echo "Serial Number: " _
    & objSMBIOS.SerialNumber
    Next


    Fill in - strComputer = "192.168.1.1" or strComputer = "domaincontroller"
    Fill in - strComputer, "root\cimv2", _ "DC\ID10T", "PEBKAC")

    Now will this work over a public IP ? I would think so |?|?| it might as long as you accept whatever port is required on the other end.

    But I am not 100% sure I haven't tried it.


    But I know this code work perfectly as long as the WMI is running on the machine your trying to connect to. NO other client software is required. I am going to make this alittle better and I will post it up here when I am done.


    It's 4:17am time to go to bed.

    Enjoy

    ScarEye


    P.S. this does scan through a whole subnet or anything just single IP. I know of a way to have a iplist.txt file and put all your private ip's in that list and it will just go through every single one of them and just do a loop. If you need that just reply to this thread. Hopefully I am still alive by then.
    Last edited by ScarEye; Feb 26th, 2005 at 04:30 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
  •  



Click Here to Expand Forum to Full Width