Uninstalling Tanium Clients

Uninstall the Tanium Client on Windows

You can use various tools to uninstall the Tanium Client.

Use a Tanium package to deploy an uninstallation program

You can use the Tanium Core Platform to remove the Tanium Client from targeted endpoints. The uninst.exe program is in the Tanium Client installation directory.

  1. Access the Tanium Console.
  2. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings.
  3. Click Add Setting, and add the following setting, and click Save.
    • Leave Server selected for Setting Type.
    • For the Platform Setting Name, enter allow_process_group_flag_edit.

    • For Value Type, select Numeric.
    • For Value, enter 1.

  4. From the Main menu, go to Administration > Content > Packages, click New Package, and configure a package that issues the uninstall command. The following is an example of the command to perform a silent uninstallation:

    cmd.exe /C ..\..\uninst.exe /S

    You must clear the selection for Launch this package command in a process group.

  5. Create a scheduled action to distribute the package to targeted computers: see Tanium Console User Guide: Deploying actions.

The uninstallation program stops the Tanium Client service and removes the application files, so the Tanium Client will no longer be present to write Completed to the respective action log. Consequently, do not rely on the final action status reported in the Tanium Console to determine success or failure of the uninstallation action.

Use Add/Remove Programs

A user with Local Administrator rights on the endpoint can remove the Tanium Client through either the Windows Control Panel Add/Remove Programs or Programs and Features applet.

Uninstallation program

Double-click the uninst.exe program icon or execute the program from a command prompt.

The uninstall executable supports the /S command line parameter to perform a silent uninstall from a command prompt, script, package, or BAT file: uninst.exe /S

Uninstall the Tanium Client on macOS

Uninstall without using a script

  1. On the macOS endpoint, open Terminal.
  2. Run the following command to stop the Tanium Client and remove it from the launch list:

    sudo launchctl remove com.tanium.taniumclient

  3. Remove the following files and directories:

    • /Library/LaunchDaemons/com.tanium.taniumclient.plist
    • /Library/LaunchDaemons/com.tanium.trace.recorder.plist1
    • /Library/Tanium/TaniumClient/ (directory)
    • /var/db/receipts/com.tanium.client.bom
    • /var/db/receipts/com.tanium.client.plist
    • /var/db/receipts/com.tanium.taniumclient.TaniumClient.pkg.bom2
    • /var/db/receipts/com.tanium.taniumclient.TaniumClient.pkg.plist2

    1 This file appears only if the Client Recorder Extension was installed on the endpoint.

    2 These files appear only if a version of the Tanium Client earlier than 7.2.314.3608 was installed on the endpoint.

Uninstall using a script

To uninstall the Tanium Client silently from a command line, you can use a shell script such as the following:


if [[ $(/usr/bin/id -u) -ne 0 ]]; then
     echo "Not running as root or using sudo"

launchctl unload /Library/LaunchDaemons/com.tanium.taniumclient.plist
launchctl remove com.tanium.taniumclient > /dev/null 2>&1
rm /Library/LaunchDaemons/com.tanium.taniumclient.plist
rm /Library/LaunchDaemons/com.tanium.trace.recorder.plist
rm -rf /Library/Tanium/
rm /var/db/receipts/com.tanium.taniumclient.TaniumClient.pkg.bom
rm /var/db/receipts/com.tanium.taniumclient.TaniumClient.pkg.plist
rm /var/db/receipts/com.tanium.client.bom
rm /var/db/receipts/com.tanium.client.plist

Uninstall the Tanium Client on Linux

To uninstall the Tanium Client, run one of the following CLI commands, depending on the distribution type:

  • RPM-based Linux distributions such as Red Hat or SUSE:

    rpm -e $(rpm -qa --queryformat "%{NAME}\n"| grep -e '[Tt]anium[Cc]lient')

    This command might require sudo, depending on the environment.

  • Debian-based Linux distributions:

    dpkg -P taniumclient

Uninstall the Tanium Client on Solaris

To uninstall the Tanium Client on Solaris, run the following command, where the -A flag directs pkgrm to uninstall in the current zone only: pkgrm -A TaniumClient

Uninstall the Tanium Client on AIX

To uninstall the Tanium Client on AIX, run the following command: installp -u TaniumClient