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.
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
Install the Tanium Client on Windows using the installation wizard
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.
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.
Tanium Client command-line installation syntax
|
Argument |
Guidance |
|---|---|
|
/ServerAddress |
Fully qualified domain names (FQDNs) or IP addresses of the Tanium Servers. In a deployment with Zone Servers, add their FQDNs or IP addresses. Use a comma to separate the entry for each server. If you specify one value for this option, it populates the ServerName registry entry. If you specify multiple values, they populate the ServerNameList registry entry. Omit /ServerAddress during the initial installation if the tanium‑init.dat file specifies the ServerNameList (see the Client installation types). If tanium‑init.dat does not specify the ServerNameList, you must include /ServerAddress during installation. 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. By default, the tanium‑init.dat that you download through Client Management specifies ServerNameList, while the tanium‑init.dat that you download through Tanium Console does not.
Note: If the tanium‑init.dat file does not include the ServerNameList, specify FQDNs for this argument.
Tip: You can optionally set the port that the Tanium Client uses to communicate with Servers by appending :<port_number> to the Server IP addresses or FQDNs (for example, ts1.local.com:443,ts2.local.com:443,zs1.example.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 the Tanium Server and with peers. You can omit this argument if the tanium-init.dat file came from a Client Management Client deployment template. If you omit this argument and the tanium-init.dat file does not supply this setting, the Tanium Client uses the default port, 17472. For more information, see ServerPort. |
|
/LogVerbosityLevel |
The level of logging on the endpoint. You can omit this argument if the tanium-init.dat file came from a Client Management Client deployment template. If you omit this argument and the tanium-init.dat file does not supply this setting, the Tanium Client uses the default value of 1. The following values are best practices for specific scenarios:
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:
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:
For an example commmand that includes the /D argument, see Tanium Client command-line installation examples.
Note:
|
|
/ProxyAutoConfigAddress |
Include this setting if the Tanium Client connects to the Tanium Server or Zone Server 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 server. If no proxy is available, the Client ignores the setting and connects directly to the Tanium Server or Zone Server. 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 to the Tanium Server or Zone Server 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 to the Tanium Server or Zone Server. For more information, see Configure specific proxy servers during Client deployment. |
|
/ProxyAutoDetect |
Include this setting if the Tanium Client connects to the Tanium Server or Zone Server 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). |
Tanium Client command-line installation examples
The following are examples of using the CLI command to install the Tanium Client.
|
Example |
Description |
|---|---|
|
Silent express installation |
In an express installation, SetupClient.exe installs and configures the Tanium Client with default values for all the arguments, except /ServerAddress when it is not specified by tanium-init.dat. Before starting, make sure that the Tanium initialization file tanium‑init.dat is in the same directory as SetupClient.exe.
CODE
CODE
In a deployment with Zone Servers or multiple Tanium Servers, specify each Server in /ServerAddress:
CODE
|
|
Silent custom installation |
The following example specifies non-default values in a silent installation:
CODE
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
|
|
Batch file format |
When you run a batch file, the Windows command interpreter expands the variable
CODE
|