Deploy the Tanium Client to Windows endpoints using the installer

You can use the installation wizard, Client command-line interface (CLI), or third-party software distribution tools, such as System Center Configuration Manager (SCCM), to deploy the Tanium Client to Windows endpoints. For more information about using a third-party tool with Tanium installers, see the documentation for that tool.

Tip: If you encounter issues when deploying the Tanium Client, examine the Tanium Client installation log.

All these deployment methods use the Tanium Client installer SetupClient.exe, which makes the following changes to the target endpoints:

  • Creates the Tanium Client installation directories for the Client application files and related content files.

  • Creates the Tanium Client Windows registry key along with an initial set of registry values.

  • Adds the Tanium Client program to the Windows Add/Remove Programs list.

  • Creates the Tanium Client service with a Startup Type set to Automatic.

For information about managing the Tanium Client service or uninstalling the Tanium Client after deployment, see Manage the Tanium Client on Windows.

Prepare for installation

  1. Ensure that the endpoint meets the basic requirements for the Tanium Client on Windows.
  2. Perform any necessary configuration or updates for Windows features:
    • Ensure that VBScript execution using Windows Script Host (WSH) is unrestricted. VBScript execution using WSH is required for installation and operation of the Tanium Client.

    • Ensure that Windows Management Instrumentation (WMI) queries and PowerShell are unrestricted. Some Tanium content requires unrestricted access to these features. If you restrict either of these features, Tanium functionality is limited.

    • (Windows Server 2008 R2 or Windows 7 only) Update PowerShell to version 3.0 or later. PowerShell 3.0 or later is required for PowerShell-based sensors to work on Windows endpoints.

    • Ensure that all PowerShell-based content provided by Tanium is allowed to run in FullLanguage mode. Forcing all PowerShell instances to run in a different mode (such as configuring the __PSLockdownPolicy environment variable to specify ConstrainedLanguage mode) is not supported.

    • Ensure that if the Turn on Script Execution Group Policy setting is configured, it is not disabled, nor enabled with the Allow only signed scripts execution policy setting configured. For PowerShell-based content to run properly, this Group Policy setting must be either omitted, or if configured, enabled and configured with the Allow all scripts or Allow local scripts and remote signed scripts execution policy setting.

  3. Ensure that host and network firewalls are configured to allow inbound and outbound TCP traffic on the ports that the Tanium Client uses. For more information, see Network connectivity, ports, and firewalls.
  4. Sign in to the target endpoint with a local user or domain account that has administrative permissions.
  5. Use the Tanium Client Management service to download the Client installer bundle to the Windows endpoint. From the Client Management Overview page, click Download Installers > Download Windows Package.

    The bundle (windows-client-bundle.zip) contains the following files:

    • install.bat
    • SetupClient.exe
    • tanium‑init.dat
    Important:

    Be careful not to allow the tanium-init.dat file to be distributed or stored outside of your organization, such as in a publicly accessible source code repository or any other location accessible from the public internet. Limit the distribution to specific use in the deployment of Tanium Clients.

    Though this file does not contain private keys and cannot be used to provide control over a Tanium environment, a user with malicious intent could use it to connect an unapproved Client and use this unauthorized access to learn how your organization is using Tanium.

  6. Extract the files from the bundle, and copy SetupClient.exe, tanium-init.dat, and, optionally, install.bat to a temporary directory on the endpoint. Make sure to keep the tanium‑init.dat file in the same directory as SetupClient.exe.

Install the Tanium Client on Windows using the installation wizard

  1. Sign in to the Windows endpoint with a local user or domain account that has administrative permissions.
  2. Right-click SetupClient.exe and select Run as administrator to start the wizard.
  3. Respond to the wizard prompts.

    Respond to the wizard prompts to accept the license agreement, select an installation directory, and complete the installation.

    Note: You must specify an installation directory on a local fixed drive on each endpoint. A volume mounted in a directory on another volume is not supported.

    (Optional) Use the CLI on Windows endpoints to configure additional Tanium Client settings that you did not set through the installation wizard. For information about configuring additional settings at a later time, see Modify Client settings.

  4. Wait a few minutes for the Tanium Client to register withTanium Cloud, and then verify that the Client installed correctly and is communicating properly.

Install the Tanium Client on Windows using the command line

You can use the endpoint command-line interface (CLI) to install the Tanium Client. For more information about using the CLI, see CLI on Windows endpoints.

Tip:

The install.bat file provides an example of a script that installs the Tanium Client silently. By default, the script checks for administrative access and runs a silent express installation. You can modify this script with other arguments that are necessary for your environment. You can then use the modified script for automated deployment of the Tanium Client.

If User Account Control (UAC) is enabled and you are using an account other than the default Administrator account, you must run the install.bat script as an Administrator to prevent a UAC prompt when the script runs the Tanium Client installer.

  1. Sign in to the Windows endpoint with a local user or domain account that has administrative permissions.
  2. Access the endpoint command prompt.
    Note: If User Account Control (UAC) is enabled and you are using an account other than the default Administrator account, open the command prompt as an Administrator to prevent a UAC prompt when you run the Tanium Client installer.
  3. Navigate to the directory where the Tanium Client installer resides.
  4. Use the following command to run the Tanium Client installer.

    SetupClient.exe [/LogVerbosityLevel=<LogLevel>] [/ProxyAutoConfigAddress=<URL/filename.pac>] [/ProxyServers=<FQDN|IPaddress:PortNumber>] [/S] [/D=<DirectoryPath>]

    Tanium Client command-line installation syntax describes the arguments for the SetupClient.exe command.

    Before running the installer, determine which installation type to use based on whether the Tanium Client requires default or custom settings:

    • Express: The installer uses default values and requires only the /S argument to specify silent installation.

    • Custom: Specify the arguments from Tanium Client command-line installation syntax for settings that require custom values instead of default values. If you omit the /S argument, the Tanium Client installation wizard opens and prompts you to configure the settings.

    Tanium Client command-line installation examples shows examples of how to use the CLI for express and custom installations.

    Note:
  5. Wait a few minutes for the Tanium Client to register withTanium Cloud, and then verify that the Client installed correctly and is communicating properly.

Tanium Client command-line installation reference

Table 1. Tanium Client command-line installation syntax

Argument

Guidance

/ServerAddress

Fully qualified domain names (FQDNs) from the Tanium Cloud Client Edge URLs with which the Client can connect.

Typically, the tanium-init.dat file included with the installation package includes the appropriate FQDNs and you omit this argument. If you need to specify Server addresses manually, contact Tanium Support for the appropriate FQDNs. Use a comma to separate the entry for each FQDN.

When you specify multiple values, they populate the ServerNameList registry entry.

You can omit this argument when reinstalling or upgrading any version of the Client.

Note: If the tanium-init.dat file includes the ServerNameList setting, the installer ignores this argument and applies the ServerNameList from the tanium-init.dat file.
Tip: If you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud, you can optionally set the port that the Tanium Client uses to communicate with Tanium Cloud by appending :<port_number> to the FQDNs (for example, taas-example1-zs.cloud.tanium.com:443,taas-example2-zs.cloud.tanium.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).

/ServerPort

The port that the Tanium Client uses for communication with Tanium Cloud and with peers. Typically, you omit this argument. Do not change the default of 17472 unless you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud or you are overriding this port specification in the ServerNameList setting for communication with Tanium Cloud. For more information, see ServerPort.

/LogVerbosityLevel

The level of logging on the endpoint.

The following values are best practices for specific scenarios:

  • 1 (default): Use this value during normal operation.

  • 41: Use this value during troubleshooting.

  • 91 or higher: Use this value for full logging, for short periods of time only.

Note:

A value of 0 disables logging. As a best practice, do not disable logging.

/KeyPath

The full path and file name that the Tanium Client installer program uses to locate the tanium‑init.dat file and copy it to the Tanium Client installation directory.

Typically, the tanium-init.dat file included with the installation package is located in the same directory as the installer and you omit this argument. Only include this argument in a specific case where you cannot provide the tanium-init.dat file in the same directory as the installer.

No quotation marks are necessary, except to enclose path or file names with spaces. The KeyPath argument requires a fully qualified path name when the installer runs directly from a command prompt. However, in a batch file, you can use the batch file command variable %~dp0 to expand a relative path before passing the KeyPath value to SetupClient.exe. For example: /KeyPath=%~dp0<My\Relative\Path>\tanium‑init.dat

If you omit the KeyPath argument for silent installations (/S argument), the tanium‑init.dat file must be in the same directory as SetupClient.exe.

/S

Run the installation command silently, which means the Tanium Client installation wizard does not open and prompt you to configure settings.

If you include this argument without specifying the /KeyPath argument, tanium‑init.dat must be in the same directory as SetupClient.exe.

For examples of how to run silent installations, see Tanium Client command-line installation examples.

Note: Make sure to use a capital letter for this argument.

/D

Sets the destination path for the Tanium Client installation directory. No quotation marks are necessary to enclose path names with spaces. Because environment variables are expanded, the argument value can include path variables, such as %programfiles%.

Important:
  • Because the value of this argument can include spaces, it must be the last argument on the command line if you include it. This includes appearing after the /S argument if you also include that argument.

  • You must specify an installation directory on a local fixed drive on each endpoint. A volume mounted in a directory on another volume is not supported.

If you omit this argument, the installer uses a default directory based on whether the endpoint is running a 64-bit or 32-bit version of Windows:

  • 64-bit versions of Windows: \Program Files (x86)\Tanium\Tanium Client

  • 32-bit versions of Windows: \Program Files\Tanium\Tanium Client

For an example commmand that includes the /D argument, see Tanium Client command-line installation examples.

Note:
  • Make sure to use a capital letter for this argument.

  • If you are using the command line to reinstall or upgrade an existing Tanium Client, you cannot change the installation directory. The installer ignores this argument and automatically reinstalls or upgrades the Tanium Client in the existing directory, whether it is the default directory or a custom directory.

/ProxyAutoConfigAddress

Include this setting if the Tanium Client connects toTanium Cloud through a Hypertext Transfer Protocol Secure (HTTPS) proxy server. The setting specifies the URL and file name of a proxy auto configuration (PAC) file that the Client can access. Specify the value in the format http[s]://<URL>/<file name>.pac. The Client downloads the file from the URL that you specify and runs a script that the file contains to select the correct proxy for connecting to a particular Tanium Cloud Client Edge URL. If no proxy is available, the Client ignores the setting and connects directly toTanium Cloud. For more information, see Configure proxy connections during Client deployment with a PAC file (Windows endpoints only).

/ProxyServers

Include this setting if the Tanium Client connects toTanium Cloud through an HTTPS proxy server but cannot access a PAC file. The setting specifies the IP address or FQDN, and port number, of the HTTPS proxy server. You can specify multiple proxies as a comma-separated list in the format "<proxy1>:<port>,...,<proxyN>:<port>". The Client tries to connect to the proxies in the order that you list them. After any single connection succeeds, the Client stops trying to connect with more proxies. If no proxy is available, the Client ignores the setting and connects directly toTanium Cloud. For more information, see Configure specific proxy servers during Client deployment.

/ProxyAutoDetect

Include this setting if the Tanium Client connects toTanium Cloud through an HTTPS proxy server and you want to detect the locally configured proxy settings on the endpoint. Specify the value 1 to enable this detection. For more information, see Configure proxy connections during Client deployment with a PAC file (Windows endpoints only).

The following are examples of using the CLI command to install the Tanium Client.

Table 2. Tanium Client command-line installation examples

Example

Description

Silent express installation

In an express installation, SetupClient.exe installs and configures the Tanium Client with default values for all the arguments. Before starting, make sure that the Tanium initialization file tanium‑init.dat is in the same directory as SetupClient.exe.

CODE
SetupClient.exe /S

In specific cases where you need to specify Server addressees, specify the FQDN for each Tanium Cloud Client Edge URL in /ServerAddress:

CODE
SetupClient.exe /ServerAddress=^
taas-example1-zs.cloud.tanium.com,taas-example2-zs.cloud.tanium.com /S

Silent custom installation

The following example specifies a non-default value in a silent installation:

CODE
SetupClient.exe  /LogVerbosityLevel=1 /S

To use a custom installation directory, add the /D parameter. Note that it must be the last argument in the command, even when you include /S.

CODE
SetupClient.exe  /LogVerbosityLevel=1 /S ^
 /D=C:\Custom Installation Directory\Tanium\Tanium Client

Batch file format

When you run a batch file, the Windows command interpreter expands the variable %~dp0 to the full drive and path name of the batch file working directory. The following example of a batch file instruction performs a silent installation:

CODE
"%~dp0SetupClient.exe" /S