Posted on 02-24-2023 11:27 PM
This command works from the Terminal when I activate my Admin button beforehand:
#sh /Applications/Zscaler/.Uninstaller.sh
And then it prompts the password. If I enter:
#sh /Applications/Zscaler/.Uninstaller.sh <password>
And put in the actual password, it will go straight to uninstalling it, but only from the Terminal.
If I put this same script in a Jamf policy, it won't push. I'll hit my sync button and it will fail. Has anyone figured this out before? Thanks.
I followed the instructions here already: Uninstalling Zscaler Client Connector | Zscaler
Posted on 02-25-2023 09:57 PM
I am looking at this script as a basis to write my own, perhaps it will also help you. Lines 15-24 could also be used for an EA, just my .02, about to go on holiday so may be a few weeks before I start. AHaron-Zscalar -Script
Posted on 02-27-2023 04:36 AM
I've used this successfully:
#!/bin/sh
function removeZscaler () {
PWord=`echo 'password' | base64 --decode`
/bin/sh /Applications/Zscaler/.Uninstaller.sh $PWord
}
#Is Zscaler installed
if [ -f "/Applications/Zscaler/Zscaler.app/Contents/Info.plist" ]; then
removeZscaler
else
echo "Not Installed"
fi
Posted on 02-27-2023 05:50 AM
I am sure zscaler has this function. However, this is the kind of thing you want to go to the vendor for. You guys are paying for zscaler support, open a ticket and make them support you.