Software Deployment Question

Fixing broken KACE agents

01/25/2018 5382 views
Good morning everyone!

How do you usually fix your broken KACE agents.  We have some devices on our local network, as well as external devices to the network.  What type of deployment tools do you use?  

Note: We don't have SCCM.
0 Comments   [ + ] Show comments


Community Chosen Answer

PSExec which is part of the PStools suite written by SysInternals which was acquired by Microsoft would be a good start.  If you are going to run PSExec for multiple machines, you'll need to launch them into separate command windows.  See this MS Technet article.

We are now running v 8 general release, but we were part of the beta and many of our beta agents became non-responsive after upgrade to the production version of 8.

The set of commands Quest support had me run to fix non-responsive agents are listed below.  I turned them into a batch file.  You can see the function of the runkbot.exe switches at http://www.itninja.com/blog/view/k1000-5-3-agent-commands-runkbot-exe.  I pushed the output to a local text file and then I had a master batch file collect up the output, so I could examine the out put for any machines that still had issues.

"c:\Program Files (x86)\Quest\Kace\AMPTools.exe" restart > C:\Temp\psexeclog.txt 2>&1  
"c:\Program Files (x86)\Quest\Kace\Runkbot.exe" 1 0 > C:\Temp\psexeclog.txt 2>&1 {Restarts the agent and copies the output to a local text file.}
"c:\Program Files (x86)\Quest\Kace\Runkbot.exe" 3 0 > C:\Temp\psexeclog.txt 2>&1
"c:\Program Files (x86)\Quest\Kace\Runkbot.exe" 4 0 > C:\Temp\psexeclog.txt 2>&1
"c:\Program Files (x86)\Quest\Kace\Runkbot.exe" 6 0 > C:\Temp\psexeclog.txt 2>&1
"c:\Program Files (x86)\Quest\Kace\Runkbot.exe" 4 0 > C:\Temp\psexeclog.txt 2>&1
{We also cleaned up the pre-version 8.0 folders}
IF EXIST "c:\Program Files (x86)\Dell\Kace" RD "c:\Program Files (x86)\Dell\Kace" > C:\Temp\psexeclog.txt 2>&1
IF EXIST "c:\Program Files (x86)\Dell" RD "c:\Program Files (x86)\Dell" > C:\Temp\psexeclog.txt 2>&1

I hope that helps.

Answered 01/25/2018 by: Jon_at_GLS
Senior White Belt

  • Thanks Jon. What would you do though if the agent wasn't running, or connecting to the K1000 at all? We have a lot of devices (internal and external) that don't even have the AMP agent linking to the KACE server. It is pretty much like the AMP.CONF is cleared out or has no data at all. We currently use Kaspersky to push agent replacements on broken machines, but we will be dropping them soon.
    • I'm assuming you've verified that network or host-based firewalls aren't blocking agent-traffic. I'd try completely uninstalling including removing any left-over files and directories. (I don't have the commands, but I think you can find them in the links above.) After that then you can re-push the agent. We use Windows Group Policy for this purpose, but you could use PSExec or Kaspersky.

All Answers


Almost every time I had an issue with an agent it was due to a missing or broken AMP.CONF file.  I ended up writing a script to check that the


line in the AMP.CONF was correct and if not, replace the file with a correct one, then run the "RUNKBOT.exe 4 0" command.  I added this to a GPO and had it as a computer startup script.

This was back in 5.x and 6.x

Answered 01/26/2018 by: JordanNolan
9th Degree Black Belt

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.
I've had this problem due to a failed kace deployment in the past. Before my time. I created a powershell script that used psexec to to uninstall broken agents on remote machines and then install new agent. I think this could work for you as well to repair broken agents in general. Take a look.

Answered 03/27/2018 by: aemalas
Senior Yellow Belt


 IDK about any deployment tool but I think this worked for manually forcing the agent to communicate with some of ours...........

first ping both ways from theserver to the KACE SMA and from KACE SMA to the Server. You can go to SETTINGS> SUPPORT > “Run diagnostic utilities” to ping from the appliance.

 On the server in a CMD window,go to: C:\Program Files (x86)\Quest\KACE 

Run“amptools.exe get” and see if the KACE SMA server shows up

Regardless, run “amptools.exehost=KACESERVERNAME” to force the agent to report to the host. 

Answered 11/26/2018 by: lama01
Blue Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ