Custom Inventory Rule not working
I have 2 custom inventory rules that read the registry. Both keys being read are string values stored in SOFTWARE\COMPANY. One is called PatchSchedule and the other is called Site.
This one PatchSchedule one works:
RegistryValueReturn(HKEY_LOCAL_MACHINE32\SOFTWARE\COMPANY,PatchSchedule,TEXT) OR RegistryValueReturn(HKEY_LOCAL_MACHINE64\SOFTWARE\COMPANY,PatchSchedule,TEXT)
The Site one does not
RegistryValueReturn(HKEY_LOCAL_MACHINE32\SOFTWARE\COMPANY,Site,TEXT) OR RegistryValueReturn(HKEY_LOCAL_MACHINE64\SOFTWARE\COMPANY,Site,TEXT)
I can successfully query both keys with WMI, but for some reason Kace refuses to set the custom inventory value on the servers with the key. Any ideas?
thanks
This one PatchSchedule one works:
RegistryValueReturn(HKEY_LOCAL_MACHINE32\SOFTWARE\COMPANY,PatchSchedule,TEXT) OR RegistryValueReturn(HKEY_LOCAL_MACHINE64\SOFTWARE\COMPANY,PatchSchedule,TEXT)
The Site one does not
RegistryValueReturn(HKEY_LOCAL_MACHINE32\SOFTWARE\COMPANY,Site,TEXT) OR RegistryValueReturn(HKEY_LOCAL_MACHINE64\SOFTWARE\COMPANY,Site,TEXT)
I can successfully query both keys with WMI, but for some reason Kace refuses to set the custom inventory value on the servers with the key. Any ideas?
thanks
2 Comments
[ + ] Show comments
-
what type are the keys? - SMal.tmcc 9 years ago
-
STRING - rotherpj 9 years ago
Answers (0)
Please log in to answer
Be the first to answer this question