K1000: How to distribute files across the enterprise, update it according to version, and re-distribute if it is deleted?
I apologize if this question has already been aswered somewhere. I have been searching for the answer for quite awhile and could not find it. Here is what I am trying to accomplish:
1. I want to distribute an ascii file (a .pac file) across the enterprise assets where KACE agent is installed.
2. I want that KACE agent to check for the version of that file on KACE and to automatically update it if the version changes. I want that check to happen every hour.
3. I want the file to be re-send (re-distributed) if it gets deleted by a user.
I have configured file synchronization, but for some reason, when I delete the file, agent does not pull it off KACE unless I reboot. Where, periodic synchronization has to be synchronized? I have configured "Run Interval", "Inventory Interval", and "Scripting Update Interval" to 1 hour, but it did not do anything. The file does not appear on the client machine, unless it' is rebooted or unless I execute "Force Update" on KACE for that asset.
Please, let me know what's the best way to accomplish my objectives are.
Thanks a lot.
Community Chosen Answer
you can do this thru a script and a smart label. You will need to create a custom inventory and apply a smart label for machines that do not have this item and deploy to that label
If it is a file that does not a version you can also create a custom software inventory to get the creation or last modified date.
Use this in your custom software item
ShellCommandTextReturn(c:\windows\system32\wbem\WMIC.exe where name='c:\\path\\to\\file\\file.xml' get creationdate)
ShellCommandTextReturn(c:\windows\system32\wbem\WMIC.exe where name='c:\\path\\to\\file\\file.xml' get lastmodified)