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?
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2
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.
Answered 08/07/2014 by: jknox
Red Belt

  • 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.
    • You would need SSH credentials to use a provisioning task to remove the agent from Macs in both 5.5 and 6.0.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share