/build/static/layout/Breadcrumb_cap_w.png

Trying to pull info from a reg key using a custom inventory

I am trying to pull the value of the Manufacturer name as a custom inventory field but it is not returning anything?

If I run this locally on the machine however, I get a value returned...
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation /V Manufacturer


RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation,Manufacturer)

3 Comments   [ + ] Show comments
  • Above the custom inventory rule, did you select the operating system to ensure the version you attempting to run this rule against is included?

    also, try putting , STRING after Manufacturer. so the text would look like:

    RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation,Manufacturer, STRING) - DaveMT 6 years ago
  • If it's a 64 bit system, be sure to use HKLM64 instead of HKLM - rswayback5 6 years ago
  • If it's a 64 bit system, be sure to use HKLM64 instead of HKLM - rswayback5 6 years ago

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ