I have a script that uninstalls my program using WMI command and this works as expected.  But I think I need to force a full Inventory on the PC otherwise they still show as needing the script run because the scrip is tied to a smartlabel that looks in the software inventory to see if a piece of software is in the list.  Because the software will not show as removed until after another inventory it takes a couple of days for a system to show as having the process complete.

I added a step to my script:  
Launch $(KACE_INSTALL)\runkbot.exe with params 4 0”   

What is the correct params for the process so that it will reinventory the full system and upload the information as part of my script which in turn will clear the system from my smartlabel.

It seems like this would be something that would just be a dropdown to force an inventory as one of the common items that you would do as part of scripting.

Thanks in advance for any suggestions.



1 Comment   [ + ] Show Comment

Comments

  • I hope someone responds with something that works because I have never been able to make that happen.
Please log in to comment

Answers

1
I found a way to make it work with a .bat file.
I added the following as the last 2 lines:

cd "c:\ProgramData\Dell\KACE\"
runkbot 4 0

I think my problem was that I always had them on one line and it never worked for me. 
Answered 05/27/2016 by: rockhead44
Tenth Degree Black Belt

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.

Share