Manually deploying patches

Use deployments to download and install Windows and Linux patches on a set of target computers. You can also use deployments to uninstall Windows patches. Deployments can run once, be ongoing to maintain operational hygiene for computers that come online after being offline, or be managed by end users with the End-User Self Service Client application.

Note:
  • Use ongoing deployments for general patch management and manual deployments for exigent circumstances.

  • Do not stagger deployments in an attempt to distribute the load on your network or Tanium. The more endpoints that are being patched simultaneously, the more efficient Tanium becomes with overall WAN usage. For bandwidth-constrained locations, you can implement site throttles. For more information, see Configure site throttles.

Tip: Tanium Automate implements install deployments in playbook steps. You can configure reusable playbooks with various steps and run a playbook multiple times to streamline and simplify your business processes. For more information on building a playbook, see Building playbooks. For more information on the available playbook steps, see Reference: Steps.

Create a deployment template

You can create an install or uninstall deployment template. This template saves basic settings for a deployment that you can issue repeatedly. You can either create a deployment template from the Deployment Templates menu item, or you can select an option when you create a deployment to save the options as a template.

  1. From the Main menu, go to Modules > Patch > Deployment Templates.
  2. Click either Create Deployment Template > Create Install Template or Create Deployment Template > Create Uninstall Template.
  3. Name the deployment template, select an operating system, and select a content set. For more information, see Managing access to content through content sets.
  4. Configure deployment options.
    • Deployment Frequency: You can do an ongoing deployment that does not have an end time, a single deployment with a specific start and end time, or a self service deployment to allow end users to manage the deployment in the Self Service Client application.

      Note: After patch installation starts, it continues even if you stop the deployment, the deployment ends, or the maintenance window closes.
      Note: After the deployment ends or the maintenance window closes, restarts do not occur and End-User Notification messages do not appear.
    • Endpoint Local Time: Use the local time on the endpoint for the deployment. If you do not select this option, then you can specify the UTC time when you create a deployment from the template.

    • If you selected an ongoing or one-time deployment, configure the Self Service settings.

      • Hide from Self Service Client: Hide this deployment from the Self Service Client application, including the Activity and History sections.

      • Make available before Start Time: Allow the end user to start this deployment in the Self Service Client application before the scheduled Start Time and outside of maintenance windows.

      Note: For self-service deployments that are set for the future, consider enabling the option to start outside of maintenance windows to allow more time for the deployment to complete.
    • Download Immediately: Download the patch content before the installation time.

      Note: Select this option for future deployments. If you find that endpoints are not completing patch installations within the specified windows, schedule the deployments even further in advance.
    • Distribute Over Time: Randomize the deployment start time on each endpoint by an amount of time up to the value that you configure. This option reduces concurrent consumption of shared compute resources in a virtual environment, network bandwidth, WSUS server load when using WSUS scan configuration technique, and repository server load when using the Repository Scan scan configuration technique.

      Note: Specify a Distribute Over Time value that is at least two hours less than the length of the deployment window and any maintenance windows. If the value exceeds deployment and maintenance windows, some endpoints will not be able to run the deployment or will deploy the patches outside of the maintenance window.
    • Override Maintenance Windows: Ignore maintenance window restrictions.

      If you enable this setting and a user applies this template to their deployment, the setting is applied only if the user has the required Patch Deployment Override Maintenance Window Write permission. If the user does not have the required permission, then the setting is not applied to their deployment configuration.

    • Override Block Lists: Ignore block lists and include patches that are blocked.

      If you enable this setting and a user applies this template to their deployment, the setting is applied only if the user has the required Patch Deployment Override Block Lists Write permission. If the user does not have the required permission, then the setting is not applied to their deployment configuration.

  5. To warn users before a change is made to endpoints, enable Notify user before deployment activity and then edit the associated Notification Options.
    • Duration of Notification Period: Configure the amount of time before the notification must be accepted. The deadline is calculated by adding this value to the time that the notification is first displayed. If a user is signed in but the screen is locked, the deadline is still set as if the notification was displayed. If a user is signed in to a Windows remote desktop session but is not currently connected, the deadline is still set as if the notification was displayed. The notification is then displayed if the user reconnects.
      Note: Ensure that the Duration of Notification Period value is less than a few days. To decrease the endpoints missing critical or important patches metric, the optimal value for this setting depends on your patching cycle. For best results, set the Duration of Notification Period value to less than three days.
    • Allow user to postpone: Give the user an option to defer accepting the notification for a specified amount of time. A user cannot postpone beyond the deadline.

      Then specify the amount of time a user can postpone the notification. The total amount of time specified must be less than the Duration of Notification Period value. Note that this is only the amount of time to defer the notification from being displayed again and does not affect when the countdown to deadline appears.

    • Allow user to minimize: Display the notification with a title bar that includes the minimize option.

    • Do not allow user to minimize: Display the notification without a title bar. Do not allow user to minimize is the default.

    • Final Countdown to Deadline: Configure the amount of time for users to accept the notification. The notification also shows a countdown until users must accept. If users dismiss the notification and a restart is required, the notification will reappear in the last minute of the final countdown to deadline before the computer restarts.

    • Message Content: Provide the title and body of the notification message. Optionally, upload icon and body images for branding to avoid confusing users and to limit support calls.

    • Add Language: Select additional languages and provide the translated title and body text for endpoints that are configured for other languages. To preview the additional languages, toggle the language dropdown list in the preview. You can also use the dropdown list to preview the notification in light or dark theme.
    • Show Countdown: Display a visual indicator of the remaining time before the deadline.
  6. In the Restart section, select whether to restart the endpoint.
    Note:

    Windows endpoints restart when this option is configured, regardless of which patches are installed. Linux endpoints restart only when installing patches that require restart, such as Linux kernel updates.

  7. (Windows endpoints only) If you enabled endpoint restarts, you can enable end-user notifications about the restarts. Select Notify User After Deployment Activity and configure the following settings. For more information, see Endpoint restarts.
    Note: For endpoints with multiple users, notifications appear for the user with the lowest active session ID. For example, when two users are logged in at the same time, User1 gets the notification but User2 does not. If User1 logs off and User3 logs in, User2 gets the notification because User2 now has the lowest active session ID.
  8. Click Save.

Set the default deployment template

The default deployment template is applied when you create new deployments. Importing Patch with automatic configuration creates a default installation deployment template for each supported operating system. You can change the default installation template. After you create an uninstallation deployment template, you can set it as the default template.

  1. From the Main menu, go to Modules > Patch > Deployment Templates.
  2. To set a default deployment template, select a deployment template and then click Set as Default.
  3. To remove the default designation, select a deployment template and then click Remove as Default.

Create a deployment to install patches

Note:
  • Use one-time deployments with a defined start and end time instead of continuously creating new deployments and manually stopping them after the patch window ends.

  • Avoid creating multiple deployments with the same patches to the same or overlapping endpoints.

  • Start with older patches first.

  1. From the Main menu, go to Modules > Patch > Deployments and then click Create Deployment > Create Install Deployment.
    Tip: You can also create a deployment from the Patches page or from the Patch Lists page. From the Patches page, select a group of patches and click Install; from the Patch Lists page, select a patch list and click Install. If you use either of these methods to create a deployment, then the patches or patch list that you select will already be populated in the Deployment Details section.
  2. (Optional) Click Apply Deployment Template to select an existing template upon which to base this deployment.
  3. In the Deployment Overview section, accept the default name or provide a name for the deployment, add an optional description, select an operating system, and select a content set. For more information, see Managing access to content through content sets.
  4. In the Deployment Details section, complete the following steps as needed for the operating system of the deployment:
    • (Windows) Add one or more patch lists, including version, or add patches manually.

    • (Linux) Select whether you want to Install All Updates; Install All Security Updates; Choose Patch List, including version; or Manually Select Patches.

      Note: Avoid choosing specific patches based on vulnerability reports. Instead, use dynamic, rule-based patch lists. These lists should be cumulative. For example, do not create any rules that prevent patches that are older than a specific date from being included in a patch list.
      CAUTION: For deployments to Amazon Linux 2023 endpoints, you can only Install All Updates or Install All Security Updates. You cannot deploy using the Choose Patch List or Manually Select Patches options.
  5. In the Endpoints to target section, add targeting criteria for endpoints.
    • Computer Groups: Select computer groups to target. If you make multiple selections, the computer groups are joined by an OR operator.

      Note: You can only target computer groups that are assigned to your user, user group, or persona. For more information, see Assign computer groups.
    • Question Criteria: Add Tanium question filters as a target. If you add multiple questions, the questions are joined by an OR operator. You must also click Set Limiting Group to limit the targeting conditions. If you select multiple limiting groups, the limiting groups are joined by an OR operator.

      Important:

      When you combine both Computer Group and Question Criteria targets, the following logic is used:

      (Limiting Group A OR Limiting Group B) AND (Computer Group OR Question)

      Consider the following example:

      • Computer Group = All Laptops

      • Question = Tanium Client IP Address starts with 192.168.1

      • Limiting Group = All Windows 10, All Windows 11

      With these conditions, the configuration targets All Windows 10 and All Windows 11 devices that are either laptops or have an IP address starting with 192.168.1.

      Tip: To target specific computer names, use the following filter builder and separate names by using the pipe (|) character. It is recommended to target fewer than 100 computer names.

      Computer Name matches "^(computername1|computername2)$"

      Computer names must be a fully qualified domain name that exactly matches the name registered with Tanium.

    • Enable Ring Deployment: (Windows) If you enable this option, you can select a ring deployment plan that defines how the deployment moves through a sequence of rings. The Patch deployment specifies when a deployment starts in ring 1. The ring deployment plan then specifies how the deployment progresses through the rings. For more information, including how Tanium Patch actions work with ring criteria, see Managing deployment plans for ring deployments and Ring-based deployment.

  6. Review the readiness score for your endpoints. Click the score to drill-down into Interact. For more information, see Endpoint readiness score.
    Note: The readiness score is created from cached data in Tanium Data Service (TDS).
    • If you use the Question Criteria filter, ensure that you use registered sensors in the question to get accurate readiness scores for targeted endpoints. For more information, see Register or unregister sensors for collection.

    • If you use Computer Names, Patch calculates readiness scores from endpoints in the selected limiting group.

  7. In the Deployment Type and Schedule section, set the deployment schedule.
    • Deployment Type: Select a deployment frequency. You can select an ongoing deployment that does not have an end time, a one-time deployment with a specific start and end time, or a self service deployment to allow end users to manage the deployment in the Self Service Client application

      Note: After a patch deployment starts, it continues even if you stop the deployment, the deployment ends, or the maintenance window closes.
      Note: After the deployment ends or the maintenance window closes, restarts do not occur and End-User Notification messages do not appear.
    • Deployment Time Zone: Designate the deployment time zone for the start and end times.

    • Start Time/End Time: Specify the period during which the deployment will be effective.

    • Distribute Over Time: Randomize the deployment start time on each endpoint by an amount of time up to the value that you configure. This option reduces concurrent consumption of shared compute resources in a virtual environment, network bandwidth, WSUS server load when using WSUS scan configuration technique, and repository server load when using the Repository Scan scan configuration technique.

      Note: Specify a Distribute Over Time value that is at least two hours less than the length of the deployment window and any maintenance windows. If the value exceeds deployment and maintenance windows, some endpoints will not be able to run the deployment or will deploy the patches outside of the maintenance window.
  8. Review the Deployment Settings section and click Edit edit to make changes as needed.
    •  Download all package files immediately: Files start downloading before the deployment start time and outside of maintenance windows. This option is available when Enable ring deployment is not selected.

    • Start downloading files outside of maintenance windows: With ring deployments, files start downloading at the deployment Start Time and outside of maintenance windows. This option is available when Enable ring deployment is selected.

      Note: For deployments that are set for the future, consider enabling the option to download outside of maintenance windows. If you find that endpoints are not completing patch installations within the specified windows, schedule the deployments even further in advance.
      Tip: To schedule a download time, leave this option cleared and create a maintenance window after the start time for this deployment. With this configuration, endpoints begin downloading software at the start time for the deployment and begin installing downloaded software at the start time for the maintenance window.
    • Override Maintenance Windows: Ignore maintenance window restrictions.

      This setting is visible only if you have the Patch Deployment Override Maintenance Window Write permission.

    • Override Block Lists: Ignore block lists and include patches that are blocked.

      This setting is visible only if you have the Patch Deployment Override Block Lists Write permission.

    • If you selected an ongoing or one-time deployment, configure the Self Service settings.

      • Hide from Self Service Client: Hide this deployment from the Self Service Client application

      • Make available before Start Time: Allow the end user to start this deployment in the Self Service Client application before the scheduled Start Time and outside of maintenance windows. This option is available when Enable ring deployment is not selected.

      • Allow end-users to start deployment prior to maintenance window: Allow the end user to start this deployment in the Self Service Client application outside of maintenance windows. This option is available when Enable ring deployment is selected.

      Note: For self-service deployments that are set for the future, consider enabling the option to start outside of maintenance windows to allow more time for the deployment to complete.
    • Restart: Select whether to restart the endpoint after deployment completes.

      Note:

      Windows endpoints restart when this option is configured, regardless of which patches are installed. Linux endpoints restart only when installing patches that require restart, such as Linux kernel updates.

  9. (Windows endpoints only) Review the User Notifications section and click Edit edit to make changes as needed.
    Note: For endpoints with multiple users, notifications appear for the user with the lowest active session ID. For example, when two users are logged in at the same time, User1 gets the notification but User2 does not. If User1 logs off and User3 logs in, User2 gets the notification because User2 now has the lowest active session ID.
    • To warn users before a change is made to endpoints, enable Notify user before deployment activity and then edit the associated Notification Options.

      • Duration of Notification Period: Configure the amount of time before the notification must be accepted. The deadline is calculated by adding this value to the time that the notification is first displayed. If a user is signed in but the screen is locked, the deadline is still set as if the notification was displayed. If a user is signed in to a Windows remote desktop session but is not currently connected, the deadline is still set as if the notification was displayed. The notification is then displayed if the user reconnects.
        Note: Ensure that the Duration of Notification Period value is less than a few days. To decrease the endpoints missing critical or important patches metric, the optimal value for this setting depends on your patching cycle. For best results, set the Duration of Notification Period value to less than three days.
      • Allow user to postpone: Give the user an option to defer accepting the notification for a specified amount of time. A user cannot postpone beyond the deadline.

        Then specify the amount of time a user can postpone the notification. The total amount of time specified must be less than the Duration of Notification Period value. Note that this is only the amount of time to defer the notification from being displayed again and does not affect when the countdown to deadline appears.

      • Allow user to minimize: Display the notification with a title bar that includes the minimize option.

      • Do not allow user to minimize Display the notification without a title bar. Do not allow user to minimize is the default.

      • Final Countdown to Deadline: Configure the amount of time for users to accept the notification. The notification also shows a countdown until users must accept. If users dismiss the notification and a restart is required, the notification will reappear in the last minute of the final countdown to deadline before the computer restarts.

      • Message Content: Provide the title and body of the notification message. Optionally, upload icon and body images for branding to avoid confusing users and to limit support calls.

      • Add Language: Select additional languages and provide the translated title and body text for endpoints that are configured for other languages. To preview the additional languages, toggle the language dropdown list in the preview. You can also use the dropdown list to preview the notification in light or dark theme.
      • Show Countdown: Display a visual indicator of the remaining time before the deadline.
    • If you enabled endpoint restarts and want to warn users about the restart, enable Notify user after deployment activity and edit the associated Notification Options. For more information about restarts, see Endpoint restarts.

  10. (Optional) To create a new template based on this deployment, click Save Settings as New Template, specify a name for the template, and then click Save. For more information, see Create a deployment template.
  11. Click Preview to Continue.
  12. Review the deployment details for the applicable patches, and then click Deploy.

To change the number of retries for each phase of a deployment, see Adjust the deployment retries.

Endpoint restarts

Patch can trigger a restart of any system after updates have been installed. You can choose between the following options for the restart:

  • (Windows and Linux endpoints) Restart silently and immediately after deployment. This option is typically used for servers and production machines in conjunction with maintenance windows and change control processes.

  • (Windows endpoints) Create a post-deployment notification to notify the system user about the pending restart and give the system user the option to hide the notification for a specified amount of time.

Tip: End-user notifications can be added to existing deployments by stopping, reconfiguring, and reissuing the deployment.
Important: If your deployment is configured for a notification, but the endpoint does NOT have the End User Notifications Tools installed, the endpoint installs the updates, but does NOT restart. A status message is displayed in the Patch workbench about the missing tools.
Note: If no user is logged into an endpoint, the endpoint restarts immediately after a deployment completion even if the deployment is configured for a notification.

Create a deployment to install patches on a single endpoint

You can quickly create a deployment to install patches on a single endpoint through the Endpoint Details page in Tanium Reporting. To create a deployment, you must have the Patch Deployment write permission.

Note: You can also install a patch on a single endpoint by following the steps in Create a deployment to install patches.
  1. Open the Endpoint Details page for the endpoint that requires a deployment. See View endpoint details.
  2. Select the Endpoint Management tab.
  3. In the OS Patch Applicability section, select up to 50 patches, click Install, and complete the deployment.

Windows: Create a deployment to uninstall patches

You can uninstall patches that appear in scan results; however, operating system limitations prevent some patches from being uninstalled.

  1. From the Main menu, go to Modules > Patch > Deployments and then click Create Deployment > Create Uninstall Deployment.

  2. The settings to uninstall are similar to the options to install. The only difference is that to uninstall a patch, you need to Add Patches Manually. You cannot add a patch list.

  3. After you complete all the fields, click Save.

Add targets to an existing deployment

You can add more targets to a deployment. For example, you can limit patch testing to a select computer group and then roll it out to more groups after it has been validated. All other deployment options remain the same and deployment results from the previous installation deployments are preserved.

Note: This procedure does not apply to ring deployments. A ring deployment's targets are governed by its assigned deployment plan, which determines the endpoints targeted in each ring as the deployment progresses. Because of this, the Edit button is disabled for ring deployments; ring deployments can only be stopped. To change the targets or deployment plan for a ring deployment, stop the deployment and create a new one.
  1. From the Main menu, go to Modules > Patch > Deployments.
  2. Click the deployment name and then click Edit.
  3. In the Endpoints to target section, click Computer Groups, Question Criteria, or Computer Names.
    Important: You cannot remove targets from active deployments. To remove a target from a deployment, you must stop the deployment and create a new deployment without that target.
  4. Click Preview to Continue.
  5. Review the deployment details, and then click Deploy.

Stop a deployment

You can stop a patch deployment. Stopping changes the deployment end time to now. It does not remove patches that have already completed installation.

  1. From the Main menu, go to Modules > Patch > Deployments.
  2. Click the deployment name and then click Stop.
  3. Go to the Inactive tab and click the deployment name to verify the status.

Reissue a deployment

You can restart a stopped deployment or reissue a one-time deployment. Reissuing a deployment creates a new deployment with the same configuration and targets.

  1. From the Main menu, go to Modules > Patch > Deployments and then click Inactive.
  2. Click the deployment name and then click Reissue.
  3. (Optional) Make any necessary changes.
  4. Click Preview to Continue.
  5. Review the deployment details, and then click Deploy.

Delete old inactive deployments

You can delete stopped or ended deployments that are older than a specified interval to help improve the performance of the Patch workbench.

  1. From the Main menu, go to Modules > Patch > Overview, click Settings cog and then click Configuration Settings if needed.
  2. In the Inactive Deployment Removal Settings section, select Enable Inactive Deployments Removal.
  3. In the Inactive Deployment Removal Frequency field, enter the number of days and then click Save. The minimum is 30 days. The maximum and default is 180 days.

Adjust the deployment retries

You can change how many times Patch attempts a deployment status within a specified time period. For example, with the default of five retries and 24 hours, Patch tries to download patches five times before stopping for 24 hours. Patch then tries again five times in the next 24 hours, as long as there is an active or ongoing deployment and an active maintenance window.

Note: When you adjust the Deployment Retry Settings, Patch applies the new values to new deployments. To apply the new values to an existing deployment, re-create the deployment.
  1. From the Main menu, go to Modules > Patch > Overview, click Settings cog and then click Configuration Settings if needed.
  2. In the Deployment Retry Settings section, select the number of retries from the Retry Limit dropdown list.
  3. In the Reset Frequency field, type in the number of hours and then click Save.