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 reference
|
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:
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 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.
|
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
In specific cases where you need to specify Server addressees, specify the FQDN for each Tanium Cloud Client Edge URL in /ServerAddress:
CODE
|
|
Silent custom installation |
The following example specifies a non-default value 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
|