OCSInventory-ocsreports icon indicating copy to clipboard operation
OCSInventory-ocsreports copied to clipboard

Model Name In Hardware for LENOVO is the Type Modele

Open pierre-guillot opened this issue 3 years ago • 6 comments

Using OCSReports v2.8.1 with Debian 8. OCS Agent is 2.8.0 (for Windows).

We have a lot of LENOVO computer in our hospital and displayed model is the model type instead model name :

  • 30D0S8GN00 for LENOVO P330 Workstation 2nd Gen (Type 30D0)
  • 30D0S8GM00 for for LENOVO P330 Workstation 2nd Gen (Type 30D0)
  • 80MX if for LENOVO E31-80 Laptop (Type 80MX)
  • 30ASS3L600 for LENOVO P310 Workstation (ThinkStation) (Type 30AS)
  • 30BGS6GG00 for LENOVO P320 Workstation (ThinkStation) - Type 30BG
  • Etc.

I Suppose it's not possible de get the real model name directly with OCS Agent, maybe we need to use a "correlation table" to get the commercial name?

Regards.

pierre-guillot avatar Apr 16 '21 08:04 pierre-guillot

Hi @pierre-guillot

I think the agent itself retrieve false data. If you check the computer's WMI or Registry is the model properly displayed ?

Regards, Gilles.

gillesdubois avatar Jun 02 '21 09:06 gillesdubois

Hi,

Any news ?

Regards, Gilles.

gillesdubois avatar Jun 25 '21 07:06 gillesdubois

Sorry, Gilles, I'm veyr (very) busy this month. I'll try to give answer as fast I can.

Regards

Pierre

pierre-guillot avatar Jun 29 '21 15:06 pierre-guillot

my one cent : it always worked like that with Lenovo computers. You can get model name using "wmic computersystem get systemfamily". I don't know if it is appicable to Ocsng. I am interested in the solution too !

tontonrico avatar Jul 01 '21 10:07 tontonrico

Hi @gillesdubois and @tontonrico, I'm little more free today :)

So, when you use this commande, you don't have de "real" model name :

>wmic csproduct get identifyingnumber,name,vendor
IdentifyingNumber  Name        Vendor
S4NG2900           30D0S8GM00  LENOVO

If you want model name, you need to ask "system familiy" :

> wmic computersystem get systemfamily
SystemFamily
ThinkStation P330

Regards

pierre-guillot avatar Jul 01 '21 12:07 pierre-guillot

C:\windows\system32>wmic csproduct get version Version ThinkBook 14 G2 ITL

it works too

tontonrico avatar Jul 01 '21 12:07 tontonrico