Skip to main content
Question

Cylance Unisntallation

  • August 6, 2017
  • 2 replies
  • 15 views

Forum|alt.badge.img+3

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

Forum|alt.badge.img+1
  • New Contributor
  • August 15, 2017

This is what we use

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

sepiemoini
Forum|alt.badge.img+19
  • Employee
  • August 15, 2017

@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