Uninstalling Tanium Clients
Uninstall the Tanium Client on Windows
You can use various tools to uninstall the Tanium Client.
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
Uninstall using a script
To uninstall the Tanium Client silently from a command line, you can use a shell script such as the following:
#!/bin/bash
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root or using sudo"
exit
fi
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 /Library/LaunchDaemons/com.Tanium.tanium-client-upgrade.plist
rm /Library/LaunchDaemons/com.Tanium.taniumclientupgrade.plist
rm /Library/LaunchDaemons/com.Tanium.taniumecfreset.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')
Note: 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