Script to uninstall Kace agent 6.0 on Mac?
I am trying to uninstall the Kace agent on a Mac that was sold to an employee.
The only problem is with the new version 6.0 it wants the username and password which I don't know.
I don't recall version 5.5 needing this.
Does anybody know of a script I can run to delete the agent on the Mac?
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
jknox
10 years ago
Not sure about the password issue, but if it's still checking into your K1000, you can have it run a kscript that executes:
/Library/Application\ Support/Dell/KACE/bin/AMPTools uninstall
It will run locally too, if you put a "sudo" in front of it.
/Library/Application\ Support/Dell/KACE/bin/AMPTools uninstall
It will run locally too, if you put a "sudo" in front of it.
Comments:
-
Thank you for your help.
I should have been more specific, in Ver 6 when you go to provisioning and try to uninstall agent by hostname or ip address it requires username/password now. This was not the case in Ver 5.5.
I was also looking for what I needed to put in the tasks when creating the script, ie what program to run etc.. to create the Kscript. was able to use your info to create a Shell script that seems to do the job though. - DKimball 10 years ago-
You would need SSH credentials to use a provisioning task to remove the agent from Macs in both 5.5 and 6.0. - jknox 10 years ago