07/21/2014 38129 views
In our environment, we support a single domain and many remote locations not a part of the domain. The PCs at these remote locations may need to be removed from our KACE systems at any moment. I need to be able to assign an uninstall procedure, whether it be scripted or not, to a label. Does anyone have a little guidance of a particular uninstallation that would work for agent versions.. 5.4, 5.5, and 6.0? Is there a blacklist feature to prevent PCs from checking-in? Anything to disassociate the PCs from occupying a license seat. 
Answer Summary:
2 Comments   [ + ] Show comments


  • you can always just blow away their C:\ProgramData\Dell\KACE\amp.conf file and orphin them
  • This did not work. I deleted the file and the agent still showed connected.
    • You would have to stop the agent service before deleting, so:

      c:\program files (x86)\dell\kace\amptools stop

Community Chosen Answer

The command line tool "AMPTools.exe" can also be leveraged. It lives tine binary directory (For Windows: Program Files\Dell\KACE\AMPTools.exe)

It allows the uninstall flag as well as a flag to clear the KUID from the registry. 

AMPTools.exe uninstall  all-kuid

  AMPTools uninstall [all|all-kuid]

            Uninstall agent. Leaves configuration and KUID.

                 all: Also delete configuration, but not KUID.

                 all-kuid: Delete everything, including KUID.


Answered 07/21/2014 by: MacDude
Fifth Degree Brown Belt

  • This works perfectly. I am running this as a task in the K1 so it is hidden. Thanks!

All Answers

you can always create an uninstall script and target the machines via labels.

look at your software inventory and find every version of kace client you have installed and cut and paste the uninstall comannds in a batch file like the example I pasted below the picture (that one is for a different uninstall you to create one from your inventory of kace agents).

A batch file like this will skip ones that do not apply, but run on one that is the version on the target machine.
(sorta like playing russian roulette)

rem this is to uninstall the 4 versions of 12.x activeX controls and 3 versions of 12.x unity client
start /wait MsiExec.exe /X{5D9322FD-A80D-4F75-97DD-DA351CBD1CF4} /qn
start /wait MsiExec.exe /X{272A9E7E-CDF6-4C3F-B218-FB6440CAA0D8} /qn
start /wait MsiExec.exe /X{6CFB900E-599A-4F7E-A066-581E0F61F7DB} /qn
start /wait MsiExec.exe /X{D0A70D38-FC9F-49B8-8E78-AAF154C7B43A} /qn
start /wait MsiExec.exe /X{4A512F45-5B61-4C82-AD95-6EF50D985493} /qn
start /wait MsiExec.exe /X{CCC385E8-E40B-4976-843F-E4A9DECDD336} /qn
start /wait MsiExec.exe /X{F6919958-537B-402A-8865-38B69827406F} /qn

Answered 07/21/2014 by: SMal.tmcc
Red Belt

  • Thanks, I am currently doing this for a Java 7 project and running it under a vbscript to hide the window. I initially didn't want to go this route so we don't have to keep up with GUIDs
Instead of uninstall, just stop their services or remove amp.conf file 
In case in future if you want you can just start the services of the agents
Answered 07/23/2014 by: anand.30hiremath
Blue Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login