Custom Inventory Rule RegistryValueEquals Not Working on 64-bit Clients
Some time ago KACE had an issue where 64-bit clients would not return registry values from Custom Inventory Rules. The workaround consisted of adding a 64 after HKLM in the registry path; so you would use HKLM64 if you wanted to query the non Wow6432Node on 64-bit clients. This is no longer working for me and I think this stopped working when the latest KBOX patch was applied.
Here is the Custom Inventory Rule I am using to detect whether a client is running Autodesk Inventor with a network license:
RegistryValueEquals(HKLM64\SOFTWARE\Autodesk\Inventor\RegistryVersion19.0,LicenseMode,1) OR RegistryValueEquals(HKLM\SOFTWARE\Autodesk\Inventor\RegistryVersion19.0,LicenseMode,1)
Testing this on a 32-bit client returns the intended result and correctly detects if the registry key is set to 1. Testing on a 64-bit client acts as though no registry key exists. I had our KBOX admin contact KACE and the only response received was a link to the old article about the HKLM64 path workaround I shared above; and is exactly what I am already doing and have done for a number of other items.
Does anyone know how to get this working? Has anyone else been experiencing this since the last KBOX patch?
-
I have had exactly the same issue with detecting registry entries ever since out upgrade to 6.3, custom detection rules that previously worked just stopped. My KACE box can't see anything in the registry on windows x64 clients at all - AndyWoodcock111 9 years ago
-
Sorry to hear that Andy. There has been no change and I am finding a number of other KACE issues since posting this. I resorted to alternate scripting methods and creating two software packages per software product, x86 and x64 since KACE support has done nothing to resolve this yet. They are aware of the problem. - WayneMan 9 years ago
Answers (3)
Comments:
-
I did try that, and made sure there are no spaces. Unfortunately using HKEY_LOCAL_MACHINE64 made no difference for me. I even tried it again after your comment in case something magically changed since the last attempt. No solution yet. - WayneMan 9 years ago
Comments:
-
Unfortunately not in this case. I am about ready to give up and create a key there and manually add it to the clients; but I shouldn't have to do something like that for the KACE product to do what it is supposed to do already. Am I the only person having this issue? It definitely worked until recently. - WayneMan 9 years ago