Is there a way to unistall the KACE agent from certain computers?
We have sold one of our companies and now need to uninstall the kace agent from their computers.
Want to automate it.
-
Is KACE the only way you have to control the systems? - chucksteel 11 years ago
-
How about a script or managed install to uninstall the agent? Your Software record will give you then uninstall string - rockhead44 11 years ago
Answers (2)
If they are still checking into the the K1000, you can use a provisioning task to deprovision/remove the agent.
The MSI uninstall string will work, or you can run a batch file that executes "c:\program files (x86)\dell\kace\amptools uninstall"
I don't remember if either method removes the KUID string in the BIOS, so if you want that gone too, you may have to delete those keys manually in your batch file.
Assuming they are checking in to the K1000, find something unique like logon domain and create a smart label for it which will allow you to target those systems. If not, you may have to use a something in Group Policy or the like.
This is the uninstall string I pulled for the 5.5.25198 agent:
MsiExec.exe /X{45C1BF25-8330-4E6F-8CFB-BE8FC39387F5}
You can look for these strings in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432NodeMicrosoft\Windows\CurrentVersion\Uninstall
There are tools that will search these registry locations for you and present it in a friendly way such as:
http://www.nirsoft.net/utils/myuninst.html
http://finduninstallstring.codeplex.com