How to get value from key DigitalProductId

(imported topic written by Yungkie_Gunawan91)

Dear all,

Is there any possibility to get value from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId ?

Regards,

Yungkie

(imported comment written by BenKus)

Hi Yungkie,

Which value are you trying to get? You might try adding a property to BigFix that looks like this:

value “” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DigitalProductID” of registry

Ben

(imported comment written by Yungkie_Gunawan91)

Dear Ben,

But the type of that value is REG_BINARY

My relevance is like this :

value “DigitalProductId” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion” of the registry as string

and the return value is :

a40000000300000035353237342d3634332d373231333332332d3233303231002e0000004132322d303030303100000000000000e8d0bcccd31c4b065386e79a8bf5030000000000bbef9947fa30050000000000000000000000000000000000000000000000000033353830350000000000000054090000ad589038f70100000f0b0000000000000000000000000000000000000000000000000000000000006c203c6d

What I want to do is to make a list of Windows XP Product Key in my company, is there any possibility to do this using BigFix ?

Regards,

Yungkie

(imported comment written by BenKus)

You can try to parse the string, but I am not sure if it will give you the product key easily:

hexadecimal string (value “DigitalProductID” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion” of registry as string)

Or… try this:

http://forum.bigfix.com/viewtopic.php?id=62

Ben