Zscaler Uninstall script asking password

yogesh_patil1
New Contributor

Hello All

I am trying to Uninstall Zscaler i have script but for Uninstallation it is asking me password as below:
Anyone have workaround for this?

Note: It is not accepting user account password

yogesh_patil1_0-1741287599601.png

 

1 ACCEPTED SOLUTION

daniel_behan
Contributor III

The password being requested is provided by the ZScaler console.  You'd need to obtain the password from whoever your sysadmin for Zscaler is.  I encode my password and pass it into an uninstall script.

#!/bin/sh

function removeZscaler () {
PWord=`echo 'Your Encoded Password here' | base64 --decode`
/bin/sh /Applications/Zscaler/.Uninstaller.sh $PWord
}

if [ -d "/Applications/Zscaler/Zscaler.app" ]; then
removeZscaler
else
echo "Not Installed"
fi

View solution in original post

3 REPLIES 3

daniel_behan
Contributor III

The password being requested is provided by the ZScaler console.  You'd need to obtain the password from whoever your sysadmin for Zscaler is.  I encode my password and pass it into an uninstall script.

#!/bin/sh

function removeZscaler () {
PWord=`echo 'Your Encoded Password here' | base64 --decode`
/bin/sh /Applications/Zscaler/.Uninstaller.sh $PWord
}

if [ -d "/Applications/Zscaler/Zscaler.app" ]; then
removeZscaler
else
echo "Not Installed"
fi

AJPinto
Esteemed Contributor

As @daniel_behansuggested you can just delete the zscaler app and then run the zscaler uninstaller. For whatever stupid reason zscaler does not protect its own application with its anti-tamper and the anti-tamper flag is stored within the application. However, the correct way to go about this is to reach out to your Zscaler admin and have them provide you the uninstall password, or the global password if you are looking to script the uninstaller.

Valcovish
New Contributor III

There's something called "master password" that you can use to remove the client from any computer.