KACE Product Support Question
Custom Inventory Rule to grab file information on a Trend pattern file
05/14/2015 3081 views
We are trying to have kace show if users have up to date virus pattern files for TrendMicro.
We've identified what file we need to grab, but a small annoyance is its actually 2 files with the same name, but different extension e.g icrc$oth.665 and icrc$oth.667 (one is the previous pattern file so it can roll back to it if need be)
I've tried using the below syntax with and without quotes around the file path. I've tried other things like simply just grabbing notepad to see if it exists, and nothing wants to populate the custom inventory field. Any help is appreciated.
FileInfoReturn("C:\Program Files (x86)\Trend Micro\OfficeScan Client\icrc$oth.*", modification_time, DATE)
Community Chosen Answer
Please log in to answer
We´re not using TrendMicro, but it looks like that these settings can be found within the registry and it´s easier to get a value from a registry key. If i´am right there should be a REG_DWORD value named PatternVer and maybe also PatternDate and PatternTooOldDays.
Custom Inventory Rule then looks like
RegistryValueReturn(HKEY_LOCAL_MACHINE\PATH, KEY, TEXT)
Answered 05/18/2015 by: aragorn.2003