|
-
Feb 25th, 2005, 05:38 PM
#1
Thread Starter
Member
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
-
Feb 25th, 2005, 05:43 PM
#2
Re: Dell Service Tag
 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!
-
Feb 25th, 2005, 05:55 PM
#3
Re: Dell Service Tag
 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
-
Feb 25th, 2005, 05:58 PM
#4
Thread Starter
Member
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
-
Feb 26th, 2005, 04:24 AM
#5
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|