KACE Product Support Question
RegKeyExists Function for Custom Software Inventory Rule Does NOT Work
I have been working with Quest support on this, and basically they are saying it's not supported to assist with custom inventory rules (*sigh*). So here I am, seeing if anyone can assist.
I am using a Custom inventory rule with RegKeyExists (and have tried ShellCommandReturn), and no matter what I do it does not show the software as installed per the rule.
All systems are Windows 10, 64-bit. I am aware that KACE does weird things with reading a 64-bit reg key, but I have tried this in every way I can imagine. It still returns nothing on any of my systems:
ShellCommandTextReturn("c:\windows\sysnative\reg.exe query HKLM64\SOFTWARE\SOMEKEY\SomeSubKey")
ShellCommandTextReturn("c:\windows\sysnative\reg.exe query HKLM\SOFTWARE\SOMEKEY\SomeSubKey")
ShellCommandTextReturn(reg query "HKEY_LOCAL_MACHINE64\SOFTWARE\SOMEKEY\SomeSubKey")
ShellCommandTextReturn(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\SOMEKEY\SomeSubKey")
Any ideas what I'm doing wrong? Thanks in advance.