
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2009 04:43 PM
Here is the correct vbscript to pull the HP Part Number and Serial Number:
Dim objWMI : Set objWMI = GetObject("winmgmts:")
Dim colSettingsComp : Set colSettings = objWMI.ExecQuery("Select * from Win32_ComputerSystem")
Dim colSettingsBios : Set colSettingsBios = objWMI.ExecQuery("Select * from Win32_BIOS")
Dim objComputer, strModel, strSerial
For Each objComputer in colSettings
strModel = objComputer.Model
Next
For Each objComputer in colSettingsBios
strSerial = objComputer.SerialNumber
Next
myarray = Split(strModel, "(")
wscript.echo "Model: ", Replace(myarray(0),"(","")
wscript.echo "Part Number:", Replace(myarray(1),")","")
wscript.echo "Serial: ", strSerial
and here is the Link for warranty info (replace {PARTNMUBER} & {SERIALNUMBER} with correct values:
http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?nickname=&sn={SERIALNUMBER}&country=CA&lang=en&cc=us&pn={PARTNUMBER}&find=Display%20Warranty%20Information%20%C2%BB&
and here is the Link for drivers (replace {PARTNMUBER} with correct value:
http://h10025.www1.hp.com/ewfrf/wc/swPfinder?query={PARTNUMBER}&tool=softwareCategory&lc=en&cc=us&dlc=en
- Labels:
-
Product Feedback

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2012 06:28 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2012 04:18 PM
labrams wrote:
I would like this same information only from Dell. I also have spiceworks and it pulls purchase dates and warranty information for my systems. Just something for the wishlist I guess.
A third-party tool for pulling Dell warranty information into your Lansweeper database was posted here. We will likely add warranty support for several vendors in one of our next updates, but we do not yet have a release date for this feature.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2012 04:03 PM
Thanks for the reply..
Anything warrant related would be perfect.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2012 02:37 PM
d.i.saunders wrote:
Anything warrant related would be perfect.
We recommend checking this forum thread to see if anyone has posted an HP warranty retrieval tool. We do not currently provide support for auto-retrieval of warranty information. This feature is on our customer wish list, but we do not yet have a release date for it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2012 11:35 AM
I have tried to run this bet get the following error when running from a command line:
HPwarranty.vbs(4, 1) (null): 0x80041003
Also when this works seem you need to click the action for each HP laptop / Dekstop, it it possible to feed it a string of computernames..
I can just run the command once a month to update the new hardware.
Thnaks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2012 02:39 PM
d.i.saunders wrote:
sorry to drag up an only topic but this would be very usefull..
Could you please clarify which specific data you are interested in retrieving.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2011 04:53 PM
Ive used the above script which works for desktop and laptops, but not for HP servers.
Ive had a look about and have found all of the info to make this work for servers aswell, just not sure how to put it all together ( if indeed it is possible).
Here what i have:
The URL needed to pass the Location, Serial Number and Product number:
http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?nickname=&sn=<InsertSerialNumberHere>&country=CA&lang=en&cc=us&pn=<InsertProductNumberHere>#ABA&find=Display%20Warranty%20Information%20%C2%BB&
As Lansweeper already pulls the serial number, all that is needed is the product number /ID.
Depending on what model of HP server, it is stored in one these reg keys:
KEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HardwareDescription\ProductNumber
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU
HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\System Properties\productnumber
Can anybody figure a way automate this the same way as Dell etc .... ?
Any pointers appreciated, or if someone wants something testing let me know.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2010 03:27 PM
no error code nothing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2010 12:41 AM
I have created the two scripts above and it does nothing. I guessing maybe LAN Sweeper did not pull the correct information from my HP Compaq dc5800.
