/build/static/layout/Breadcrumb_cap_w.png

Uninstall All Versions of KACE Agent

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. 

2 Comments   [ + ] Show comments
  • you can always just blow away their C:\ProgramData\Dell\KACE\amp.conf file and orphin them - SMal.tmcc 10 years ago
  • This did not work. I deleted the file and the agent still showed connected. - mprice 10 years ago
    • You would have to stop the agent service before deleting, so:

      c:\program files (x86)\dell\kace\amptools stop - jknox 10 years ago

Answers (3)

Answer Summary:
Posted by: MacDude 10 years ago
Fifth Degree Brown Belt
5
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.

 


Comments:
  • This works perfectly. I am running this as a task in the K1 so it is hidden. Thanks! - mprice 10 years ago
Posted by: SMal.tmcc 10 years ago
Red Belt
0
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


Comments:
  • 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 - mprice 10 years ago
Posted by: anonymous_102124 10 years ago
Blue Belt
0
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
 
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