Anyone know of the best method that would allow us to run an .exe file just prior to the KACE agent doing an inventory? 

We have an .exe file that grabs a bunch of values from SQL databases and programs (via .dll files) that then load that data into the registry - from there, we have custom inventory fields that read the registry information to report back to us. I'd like to have it where I can have KACE run this 'update.exe' file just before the agent checks in, so that way we have the latest information available in our inventory on the appliance. 

Best method to accomplish? 

Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment


you can tackle this in a couple of ways.

Run a kscript and call run kbot on success of the exe running.

or you can use the new trick i discovered of running an exe in the CIR then reading the results using pipe commands in the cir to chain command flow

here is an example from my blog

ShellCommandTextReturn(cmd /c cscript /b c:\programdata\dell\kace\user\fadmins.vbs&type c:\programdata\dell\kace\user\filteredadmins.txt )
Answered 11/21/2014 by: SMal.tmcc
Red Belt

  • Right now we have the agent checking in every 2 hours - if I ran the script (my guess is we would do a offline kscript since all the .exe is doing is populating registry values) every two hours, would that cause any conflicts with the Agent doing it's normal 2 hour check-in (data conflicts, etc)? I'm kinda liking the running the kbot on success of the exe running, only cause I don't have to worry about CIRs (still learning them)
    • if you look for the blogs I did from my dell world session. I use cron settings to run my gatherer scripts so I can harvest the info later in CIRs
      depends on the info your are gathering whether you use off or online. just test it on a couple and see if you get the results you want.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja
Share SNMP OID and MIB Information
It’s easy to add custom SNMP OID GETs to your Dell KACE K1000 inventory, but where do you find the exact OIDs you need for a specific device? This is the place to share the OIDs and MIBs you have – and to request the ones you need.