K1000 Custom inventory rules and agent version 5.4.10622
Has anyone had agent issues with version 5.4.10622? Since I updated my agents, my custom inventory rules aren’t working consistently anymore. I ran an IE 8 install against a smart label where I was capturing XP machines that had IE 7 by this custom inventory rule:
RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer, Version, NUMBER)
I manually installed IE8 on a few test machines, forced a check in, and it was still reporting the old version. I uninstalled the agent, reinstalled it, and forced a check-in, and the custom inventory rule was then correctly reporting the version as IE8.
Thanks,
awingren
Answers (2)
Nico_K helped me out. Just go here and follow the steps CAREFULLY: http://www.kace.com/support/resources/kb/article/Custom-Inventory-or-File-Synchronization-Stops-Working
remove the spaces.
The 5.4 agents don't handle spaces correctly. Ususally this will fix the issue.
Comments:
-
Hi Nico_K! Thanks for your quick response! I tried removing the spaces and that didn't seem to fix it. I've had custom inventory rules just not appear at all, but in this case the record is displaying, but it just doesn't seem to be updating it unless I uninstall and reinstall the agent.
Update- 10 May 2013
Ok, Nico_K... you were 100% right. I looked at this with fresh eyes and now am seeing the syntax errors. Some of the ones I am fixing are "fixing" others becuase when runkbot executes it just trips on the "broken" entries. Yay! Thank you! - awingren 11 years ago -
You beat me to it again! Right on Nico_K - GeekSoldier 11 years ago
I adjusted it like so and it still doesn't seem to work:
RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer,Version,NUMBER)