Cylance Unisntallation

srathore
New Contributor

Hey Guys,
I'm having difficulty figuring out how to use Casper to uninstall CylancePROTECT silently for individual mac. Uninstaller is password protected and I'm not getting any option/Terminal command to send password for the uninstallation. Can somebody help me out in this if already faced the same issue?

2 REPLIES 2

nickysnakes
New Contributor

This is what we use

#!/bin/sh
/Applications/Cylance/Uninstall CylancePROTECT.app/Contents/MacOS/Uninstall CylancePROTECT --noui --password="your password"

sepiemoini
Contributor III
Contributor III

@nickysnakes Using that as well with a bit more.

#!/bin/sh

installStatus=$(ls -1 /Applications/ | grep "Cylance")

if [[ $installStatus == "Cylance" ]]; then
    echo "Cylance will be removed."
    /Applications/Cylance/Uninstall CylancePROTECT.app/Contents/MacOS/Uninstall CylancePROTECT --noui --password="<PASSWORD>"
    echo "Cylance has been removed."
    jamf recon
else
    echo "Cylance was not detected."
fi

exit 0