Open-AudIT
https://www.open-audit.org/phpBB3/

product number of hp products
https://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=2822
Page 1 of 3

Author:  sgovind [ Mon Jun 09, 2008 6:12 pm ]
Post subject:  product number of hp products

hi,

is there any1 have the idea of getting the product number of hp products? if so wot needed to be added to the script?

regards

Author:  Falko [ Tue Jun 10, 2008 10:43 pm ]
Post subject:  Re: product number of hp products

Afaik the number is not stored in the registry, right? If it is, there should be a way to get this information via oa, if not then maybe there is a way to map the modenumer to the hpnumber?

Author:  A_Hull [ Wed Jun 11, 2008 8:14 pm ]
Post subject:  Re: product number of hp products

If the product number is related in any way to the serial number, then you can get it from WMI in the serial number details, failing that it is probably related to the BIOS in some way. You will need to do a bit of Googling for this.

Author:  Kris M [ Thu Jun 12, 2008 12:33 am ]
Post subject:  Re: product number of hp products

It looks like to check for HP drivers/software you need the product number while for warranty information you need both the product number and the serial number.

I haven't found a way to get the product number via WMI but on one of our HP laptops (with a preinstalled OS) I noticed that in the registry under "hkey_local_machine\hardware\description\system\Bios" there is a value called "SystemSKU" which contains the product number.

Once we know the product number (the serial number we already have) we can substitute it in the following URLs:

Driver download

[url]http://h10025.www1.hp.com/ewfrf/wc/swPfinder?query=RM242UT%23ABA&tool=softwareCategory&lc=en&cc=us&dlc=en[/url]

Warrenty Support

[url]http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?nickname=&sn=CNF7450M2L&country=CA&lang=en&cc=us&pn=RM242UT#ABA&find=Display%20Warranty%20Information%20%C2%BB&[/url]

Author:  sgovind [ Thu Jun 19, 2008 7:01 am ]
Post subject:  Re: product number of hp products

wow i love to get this implemented becos i have more than 1000+ hp boxes in my network so this wud save my as* :)

Author:  sgovind [ Thu Jun 19, 2008 4:42 pm ]
Post subject:  Re: product number of hp products

ok product number is getting captured but the problem is it in model number : in brackets

Model #: HP Compaq nc6400 (RA745PA#UUF) the product number is in brackets

Author:  A_Hull [ Thu Jun 19, 2008 11:05 pm ]
Post subject:  Re: product number of hp products

Where would you like to use this info?

You could export a list, and use spreadsheet to get at the model number, you could do a search on the model number and see the list.. what is your ultimate goal?

Author:  sgovind [ Fri Jun 20, 2008 12:34 am ]
Post subject:  Re: product number of hp products

no hull if we can get the product we can pass it as variable to the url and get the warranty info directly

Author:  A_Hull [ Fri Jun 20, 2008 3:04 am ]
Post subject:  Re: product number of hp products

OK. Gocha! So we want to have an HP Warranty URL which passes everything between the brackets to the HP URL in a similar manner to the Dell and IBM ones.

Sorry if I was a little slow on the uptake there.

Sounds do-able, just needs a little string manipulation, grab everything between the () chars in the Model Info. Only trouble is, I don't have any HP kit to test with, and I am struggling to make enough hours in the day for my current workload, so anybody else fancy taking a crack at this?

Author:  sgovind [ Fri Jun 20, 2008 3:40 pm ]
Post subject:  Re: product number of hp products

hull,

i got the query working which trims out the fat from the info

[code]
SELECT substring( system_model, instr( system_model, '(' ) +1, instr( system_model, ')' ) - instr( system_model, '(' ) -1 )
FROM system
WHERE system_vendor = 'Hewlett-Packard'
OR system_vendor = 'HP'
[/code]


Note: i dont know anything about programming google is my best friend

i ran the query it got trimmed out :)

now how do i pass this value to the url?

Author:  sgovind [ Sat Jun 21, 2008 11:04 am ]
Post subject:  Re: product number of hp products

hull anyluck??? too curious to know

Author:  sgovind [ Fri Dec 26, 2008 5:28 pm ]
Post subject:  Re: product number of hp products

anything on this hull or any1?

having loads of HP boxes around appreciate any help

Author:  A_Hull [ Fri Dec 26, 2008 10:15 pm ]
Post subject:  Re: product number of hp products

Since we have no HP boxes around, and have retired our Compaq servers, this is a bit tricky for me to code... anybody else want to take a crack at it?

Author:  sgovind [ Mon Jan 05, 2009 2:31 am ]
Post subject:  Re: product number of hp products

hull,

i got this sorted by my genius friend. tested in few machine working fine showing all hp machine warranty information properly test guys and let me know

Note:

This is working on only HP laptops where the product number is captured in bracets as mentioned by me in the same post.

Attachments:
system.zip [4.58 KiB]
Downloaded 788 times

Author:  sgovind [ Mon Jan 05, 2009 3:19 pm ]
Post subject:  Re: product number of hp products

Hull or any1 can tell me which line is responsible to reading the product number in the audit.vbs so i can get some1 to look in to modifying to fit my need (mostly all HP hardware Users)

pls i badly in need manage to get almost all hp laptop to work fine .... now only desktops

Page 1 of 3 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/