Skip to main content

TitanHQ Product Docs

Uninstalling OTG for Mac

Follow the steps below to uninstall WebTitan OTG for Mac from either a single machine or by using Intune.

Uninstalling OTG 2 for Mac from a Single Machine

Follow the steps below to uninstall WebTitan OTG 2 for Mac from a single machine using administrator privileges.

  1. Open a terminal window.

  2. Run this command:

    sudo /Applications/WebTitanCloud.app/Contents/Resources/uninstall.sh

Uninstalling OTG 2 for Mac Using Intune

Follow the steps below to uninstall WebTitan OTG 2 for Mac using Intune.

Step 1: Create and Add an Uninstall Script to Intune.

  1. Copy and save this script to your local machine as a .sh file.

  2. From Intune, choose Devices from the sidebar menu.

  3. Go to macOS devices > Shell scripts and select + Add.

  4. In the Add script window, go through each tab as follows:

    • Basics: Enter a name for your script and click Next.

    • Script settings: Use Upload script to upload the script saved in Step 1.

    • Script settings: Set Max number of times to retry if script fails to 3 times and click Next.

    • Assignments: Select the group(s) you want to deploy the uninstall script to and click Next.

    • Review + create: Review what you have added and click Add.

Important

Please ensure that the uninstall script is set up and your uninstall groups are added before proceeding to the next step.

Step 2: Add Groups for Uninstall to Excluded Groups

Ensure the groups you are uninstalling OTG from have been added to Excluded Groups in the configuration profiles created during installation. See Deploying OTG 2 for Mac Using Intune.Deploying OTG 2 for Mac Using Intune

OTG-Mac2-Intune-add-script-tab-uninstall.jpg