Systems Management Question

How do I get the old Kace agents uninstalled so I can install the new agent?

06/05/2015 4254 views
I just realized about 75% of my PCs are no longer reporting to KACE. It appears that an agent update failed although I could be wrong. If I try to install an agent, I get a failure. Looking at the ampmsi.txt file I see that the installer is looking for an old version of the agent that is no longer on the server. The installer fails while trying to uninstall the agent and thus will not install the new agent.

I have added the missing MSI file back to the share but that changes nothing. The installer still fails indicating it cannot find the original source files for the old agent.

The agent is not running on these machines. It almost looks like an uninstall was performed but not completed. The agent services are not running not are there any files under Program Files. The only remains of the old agent being installed at all is in the registry.

If I delete anything KACE related out of the registry, the new agent installs fine.
If I run this fix from Microsoft, the new agent run fine. (https://support.microsoft.com/en-us/mats/program_install_and_uninstall)

Has anybody else seen this? Can anyone think of an automated fix since I need to apply it to hundreds of PCs?


1 Comment   [ + ] Show comment


  • I have had the same issue and am looking for a solution. I did build a script that will probably work: http://www.itninja.com/question/kace-agent-2 but I've not tested it. There has to be a better way.

All Answers

I was able to find the old installer in the Windows\Temp folder.  I copied it to my desktop, renamed it so that it was exactly what Kace was looking for, then pointed the uninstaller to that file and was able to successfully install and reinstall Kace.  There has to be a better way though.
Answered 09/29/2015 by: jlazerus
Orange Senior Belt

I ended up just having our desktop support team manually run a Microsoft FixIt utility. There were too many issues to deal with the automate the process. This was a terribly frustrating issue to deal with. I can't think of anything worse than a client failure on this scale. Fixing one server is a pain but fixing 150 workstations is far worse.
Answered 06/25/2015 by: Bryan Beaty
White Belt

Is GPO an option?  If so, you could use a group policy to remove the registry entries and then install the agent.

There used to be an agent removal tool that support had, you might be able to submit a ticket and get that as well.
Answered 06/09/2015 by: jknox
Red Belt

  • Yes but it is tricky. I do not want to remove the Agent from PCs that have a working agent. That means I have to target any agent version in a failed state. I think I can do that by pushing the MSIEXEC with the GUID for the old versions but I have not been successful doing this so far. I still cannot push the new client via GPO or KACE.
Maybe this can help:
Answered 06/25/2015 by: Hrkljus
Orange Belt


The agents may be too broken, but do you have the "Update broken agents" checkbox checked?

One other thought.  Group Policy Preferences allow item level targeting, including based on an MSI product code or on the registry.  You could use that to wipe out the offending registry entries, then use your normal install method.

Answered 06/16/2015 by: cmccracken
Orange Senior 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