Preparing the Tanium Client on a Windows OS image

For complete details on Windows OS imaging, see Microsoft documentation.

Prepare the Tanium Client on a reference computer:

  1. Install the Tanium Client. Review the endpoint requirements and follow the steps in Deploy the Tanium Client to Windows endpoints using the installer. During the installation, make sure you do the following:
  2. Open the Windows Services program, stop the Tanium Client service, and verify that its Startup Type is set to Automatic.
  3. To avoid unnecessary processing to resolve conflicts or duplicates when deploying the image, use the CLI to delete the Tanium Client ComputerID, RegistrationCount, and LastGoodServerName settings:
    CODE
    TaniumClient config remove ComputerID
    TaniumClient config remove RegistrationCount
    TaniumClient config remove LastGoodServerName
  4. Use the CLI to configure any necessary Client settings that you did not configure during the initial installation. For more information, see CLI on Windows endpoints and Tanium Client settings reference.
  5. Delete the following files and directories in the Tanium Client installation directory:
    • pki.db
    • The Downloads directory, including all subdirectories and files
    • The Logs directory, including all subdirectories and files
    • The Backup directory, including all subdirectories and files
  6. (Optional) For an image that you plan to use for a long period of time without updates, also delete all of the following files and directories within the Tanium Client installation directory to ensure a fresh installation of up-to-date endpoint tools when you provision each endpoint:
    • TaniumClientExtensions.dll

    • TaniumClientExtensions.dll.sig

    • The Extensions directory, including all subdirectories and files

    • The Tools directory, including all subdirectories and files

    Important: Do not delete the Tools directory without also deleting the Extensions directory and the listed files. Endpoint tools might not be reinstalled on endpoints that still have the listed files.
    Note: Deleting all of these additional files and directories ensures a fresh installation of up-to-date endpoint tools when you provision each endpoint, but the endpoint requires more time and bandwidth to initialize the Tanium Client and deploy endpoint tools.
    Tip: If you regularly update the image with Tanium Client upgrades and updated endpoint tools from your Tanium Client, it is not necessary to delete these additional directories and files. Newly provisioned endpoints that already have up-to-date endpoint tools require less time and bandwidth to initialize.
  7. Obtain the latest tanium‑init.dat file and add it to the Client.
    1. From the Main menu in Tanium Console, go to Administration > Configuration > Infrastructure.
    2. Click Download.
    3. Copy the downloaded file into the Tanium Client installation directory.

    Confirm that the date and time stamp of the file in the Tanium Client installation directory match the date and time stamp of that file on the Tanium Server (top-level installation directory).

    Note: If you are using Client Management, you can also obtain a version of tanium-init.dat that includes ServerNameList from the Client Configuration that is associated with the image you are preparing. When you use this version, the ServerNameList specified in tanium-init.dat overwrites the ServerName or ServerNameList that are specified in the Windows registry. For more information about managing Client Configurations in Client Management, see Managing Client settings and Index configurations. For more information about downloading a preconfigured version of tanium-init.dat, see (Optional) Download a tanium-init.dat file for alternative deployment.
    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.

  8. Shut down the computer and save the image.
    Important: The Tanium Client service is configured to start automatically when the OS is started. If the reference computer is restarted before the reference image is captured, you might need to repeat these steps.