Willy,
This is under the WMI Class Win32_Product:
ProductID
Data type: string
Access type: Read-only
The product ID.
Windows Server 2003, Windows XP, and Windows 2000: This property is
not available.
Either way could you point me in the direction to retrieve the CD-KEY?
We are a College Campus located in KY, I am writing this so that it
will give us freedom and control of the assest management we use. As
well as give us a some form of inventory control.
> There is no such property as ["ProductID"] in Win32_Product, please refer to
> the WMI docs for property details.
[quoted text clipped - 20 lines]
> | Thanks-
> | Evan Sparkman
Ian R - 08 Aug 2006 16:30 GMT
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProductId
No guarantee that it will be in the same place in future versions though.
> Willy,
>
[quoted text clipped - 39 lines]
>> | Thanks-
>> | Evan Sparkman
Willy Denoyette [MVP] - 23 Aug 2006 23:28 GMT
Not sure what documentation you are refering to, but this property is not in
Win32_product and not in the recent MSDN docs.
also:
| Windows Server 2003, Windows XP, and Windows 2000: This property is
| not available.
is a bit indicative for what I'm saying, provided that NT4 is no longer
supported and W9X isn't even a WMI platform.
Willy.
| Willy,
|
[quoted text clipped - 38 lines]
| > | Thanks-
| > | Evan Sparkman