Run the script

The script is installed by default in the /usr/local/share/centrifydc/bin directory on each Centrify-managed system.

To remove the Centrify DirectControl Agent for Mac by running the script

  1. Open a Terminal window on the computer where the DirectControl agent is installed. For example, select Applications > Utilities > Terminal.
  2. Switch to the root user or a user with superuser permissions. For example:
    su -

    Password: root_password

  3. Run the script. For example:

    /bin/sh /usr/local/share/centrifydc/bin/

    The script will detect whether the Centrify DirectControl Agent for Mac is currently installed on the local computer and whether the computer is currently joined to a domain. If the computer is not currently joined to a domain, the script will begin removing Centrify files from the local computer.