I find out a solution for the product number problem, but you have to install software from HP, called
HP CMI Software Providers.
However after the installation you can retrieve the serial number AND the product number from the system BIOs per a WMI query.
Here is a simple query:
[code]strComputer = "."
strQuery = "SELECT SerialNumber, SKUNumber FROM HP_SMBIOS_SystemInformation"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\HP\InstrumentedBIOS")
Set colItems = objWMIService.ExecQuery(strQuery,,48)
For Each objItem in colItems
Wscript.Echo "------------------------------------"
Wscript.Echo "HP_SMBIOS_SystemInformation instance"
Wscript.Echo "____________________________________"
Wscript.Echo "SerialNumber: " & objItem.SerialNumber
Wscript.Echo "SKUNumber: " & objItem.SKUNumber
Next[/code]
I'll test it after I have distributed the software an changed the vbs and database.
Give me one Week or more