/build/static/layout/Breadcrumb_cap_w.png

Software-Custom Inventory Rule - another registry question

I've created a Softare item with the following registry custom inventory rule:

RegistryKeyExists(HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\test)

Note the last one - "test" is just a replacement for posting, and is actually something else.

This key does exist on machines - mine for instance and is in my HKCU section of the registry.  Its been 3 days now and not showing up in Kace as Devices Detected says 0 out of xxx number of devices.

What am I missing? 

-------Update------

I guess I was under the impression that by making the CIR in Software that it would automatically show which machines the registry key exits under devices detected.

Note from above - I have changed CIR to look for:

RegistryKeyExists(HKEY_LOCAL_MACHINE\SOFTWARE\test1

Which after a few days, still shows as 0 Devices under the Software Detail - Devices Detected section. 

I have made a Smart Device Label with the criteria - Software name = (Software CIR) I created.

Not even sure if the label is right or if I even need one yet as no devices are showing up in the Software Detail of the CIR anyway.....


2 Comments   [ + ] Show comments
  • Got it! So simple! Thanks SMal.tmcc! I guess this fell into the Kace Registry 32bit vs 64bit threads I have read over and over! Just didn't think it would apply for a quick check! Thanks again, so appreciated! Now I can get back to the original grind..... - davreh99 8 years ago
    • sorry I forgot to ask about that at first, but I knew the HKCU was the original problem - SMal.tmcc 8 years ago
  • vote for and post your complaint about only a 32bit client here

    https://kace.uservoice.com/forums/82699-k1000/suggestions/2200437-create-a-native-64-bit-windows-client - SMal.tmcc 8 years ago

Answers (7)

Answer Summary:
Posted by: SMal.tmcc 8 years ago
Red Belt
1
you are trying to read the current users keys, CIR's run as system so that will try to read that key from the system user.
Posted by: SMal.tmcc 8 years ago
Red Belt
1
you will need to run a script as user using reg query to write the data to a file then read that file with a CIR
see this blog for that method

http://www.itninja.com/blog/view/create-cirs-to-show-current-users-mapped-drives-and-networled-printers-presented-at-dell-world-user-forum-2014-lessions-from-the-field
Posted by: SMal.tmcc 8 years ago
Red Belt
1

Top Answer

are these 64 bit machines?  you need to do it this way

pqwKv1.jpeg

YAeeJG.jpeg

if you have a mix of 32 and 64 let me know you can do this differently.
Posted by: rockhead44 8 years ago
Red Belt
0
Do you have all the Supported Operating Systems selected in your Software Detail that this will apply to? I have gotten burned by that before.
Posted by: davreh99 8 years ago
Orange Belt
0
Good question. yes supporting os's are hightlighted. Also, the following are set up Communication Settings.
Agent Invenory        - 4 hrs
Agentless Inventory - 1 day
Catalog Inventory     - 12 hrs  (This one is for the software inventory, correct?
Metering                   - 1 day
Scripting update       - 12 hrs
Posted by: davreh99 8 years ago
Orange Belt
0

Thank you.  I am just trying to read the key.  I believe what SMal mentioned that it will not see HKCU sounds very relevant, so I have changed the key location on my test machine to:

HKEY_LOCAL_MACHINE\SOFTWARE\test1

Also made the change in Kace to:

RegistryKeyExists(HKEY_LOCAL_MACHINE\SOFTWARE\test1

I will see if my machine will show up as the Software item with the custom rule and let you know how I make out.

Posted by: davreh99 8 years ago
Orange Belt
0

I guess I was under the impression that by making the CIR in Software that it would automatically show which machines the registry key exits under devices detected.

Note from above - I have changed CIR to look for:

RegistryKeyExists(HKEY_LOCAL_MACHINE\SOFTWARE\test1

Which after a few days, still shows as 0 Devices under the Software Detail - Devices Detected section. 

I have made a Smart Device Label with the criteria - Software name = (Software CIR) I created.

Not even sure if the label is right or if I even need one yet as no devices are showing up in the Software Detail of the CIR anyway.....

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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