What are the Kace command line commands? What are they used for? WHen i was on a support call the service rep was using them. Seemed pretty Usefully.

Answer Summary:

c:\program files\dell\kace\Kinventory.exe\kinventory -machine
KInventory.exe -machine -out "%ALLUSERSPROFILE%\Dell\KACE\inventory.xml"
Verify the inventory being submitted. There should be an inventory.yaml file in the same directory
c:\program files\dell\kace\Kinventory.exe -autorepair
-Repairs kinventory

Amptools debug=true
Enables debugging

runkbot 1 0 does bootstrap,
runkbot 4 0 does check in/inventory,
runkbot 6 0 does managed installs and file syncs

Others:

runkbot 2 0 is called K1000 client run and runs Kupdater
runkbot 3 0 does scripting updates
runkbot 5 0 does agent upgrades

For win 7-
c:\programdata\dell\kace\Kinventory.db
For xp:
c:\documents and settings\all users\dell\kace

c:\program files\dell\kace\amptools -resetconf host=hostname
Resets the hostname in the amp.conf

To Access the log files with 5.3 Agent installed
For Windows 7
C:\ProgramData\Dell\Kace
For Windows XP
C:\Documents and Settings\All Users\Dell\Kace

Cancel
1 Comment   [ + ] Show Comment

Comments

  • I have version 6.0.1079  and my machine does not want to inventory anymore.  I have tried auto repair and force the inventory with no luck.

    C:\Program Files (x86)\Dell\KACE>runkbot 4 0
    [2014-06-09.16:28:44][runkbot:GetKbot] Kbot [4-0] not found locally, downloading ...
    [2014-06-09.16:28:44][runkbot:KCopyFile] Error (win) copying files from'/service/kbot_service_notsoap.php?METHOD=getkbot&KUID=01CB8F06-C74B-4FC6
    -8906-C7E6BBC0F894&KBOT_ID=4&KBOT_VERSION=0&CLIENT_VERSION=6.0.1079' to 'C:\ProgramData\Dell\KACE\kbots_cache\4-0.xml' : (3) The system cannot find the path specified.

Please log in to comment

Answers

3

Do you mean agent commands on the local system? Are you on version 5.3 or above?

After version 5.3, on the local machine, you can run the following common commands in the KBOX install folder:

Runkbot 4 0  = Launches Inventory
Runkbot 6 0  = Launches Distribution
Runkbot 3 0  = updates the client if necessary

There are more that I am not sure about, but those are the common ones.

Answered 02/01/2012 by: KboxKen
Orange Belt

  • Wow, all of the formatting dropped off. That sucks.

    • This content is currently hidden from public view.
    • I'm happy to say answers now support wysiwyg formatting!

Please log in to comment
1

You can run any script if you know the number this way.
runkbot.exe [Script No.] [0 for running it/1 for updating it] if I undersand it right.

http://kbox/adminui/kbot.php?ID=4  http://kbox/adminui/kbot.php?ID=6  so if you have #100 script do something you can do the following command "Runkbot 100 0" to run the script on the local PC

Answered 03/13/2012 by: rmeyer
Second Degree Blue Belt

  • ----
    hmmm interesting, it doesn't like the "Larger than" sign then it cust the rest of the post, I'll make a bug report
    ----
    http://kbox/adminui/kbot.php?ID=4 = inventory script
    http://kbox/adminui/kbot.php?ID=6 = Deployment script
    if you have script #100 do something you can run "runkbox 100 0" to run the script on the local machine

  • just to test larger than

  • ok, it's larger than and 2 minuses, that makes it look like a comment in the html code I guess :)

Please log in to comment
1

This is a list of agent commands given to me by support recently for 5.3:

c:\program files\dell\kace\Kinventory.exe\kinventory -machine
KInventory.exe -machine -out "%ALLUSERSPROFILE%\Dell\KACE\inventory.xml"
Verify the inventory being submitted. There should be an inventory.yaml file in the same directory
c:\program files\dell\kace\Kinventory.exe -autorepair
-Repairs kinventory

Amptools debug=true
Enables debugging

runkbot 1 0 does bootstrap,
runkbot 4 0 does check in/inventory,
runkbot 6 0 does managed installs and file syncs

Others:

runkbot 2 0 is called K1000 client run and runs Kupdater
runkbot 3 0 does scripting updates
runkbot 5 0 does agent upgrades

For win 7-
c:\programdata\dell\kace\Kinventory.db
For xp:
c:\documents and settings\all users\dell\kace

c:\program files\dell\kace\amptools -resetconf host=hostname
Resets the hostname in the amp.conf

To Access the log files with 5.3 Agent installed
For Windows 7
C:\ProgramData\Dell\Kace
For Windows XP
C:\Documents and Settings\All Users\Dell\Kace

Answered 03/19/2012 by: airwolf
Tenth Degree Black Belt

Please log in to comment
1

I think you will find this post useful for quick reference...
http://goo.gl/gYyjE

It's based on KACE 5.3 server.

Answered 03/19/2012 by: gkhairallah
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity