Troubleshooting Patch

If Patch is not performing as expected, you might need to do some troubleshooting or change settings. For information about specific error messages, see Reference: Common Patch errors.

Note: To prevent issues that might occur due to endpoint health issues, ensure that endpoints have:
  • At least 5 GB of free space

  • A healthy Windows Update Agent

  • An up-time of less than 90 days

Collect a troubleshooting package

For your own review or to assist support, you can compile Patch logs and files that are relevant for troubleshooting. The ZIP file is also known as a support bundle.

  1. From the Main menu, go to Modules > Patch > Overview and click Help help.
  2. Click the Support tab and click Collect.
  3. When the Status: is updated, click Download.

    The log ZIP file might take a few moments to download. The files have a timestamp with a Patch-YYYY-MM-DDTHH-MM-SS.mmmZ  format.

Download audit log

You can download an audit log for a single object (for example, a deployment) or multiple objects (for example, all deployments). The audit log contains all creation, modification, and deletion events for the object or objects. For example, you can download the audit log for a deployment to view the details of when it was stopped.

To download an audit log, on a Patch page, click Optionsoptions-blue > Download <Object> Audit Logs. The CSV file is available in your downloads folder.

View job logs to troubleshoot job failed errors

You can download job logs to troubleshoot "job failed" errors.

  1. From the Main menu, go to Modules > Patch > Overview and click Help help.
  2. Click the Support tab and click View Job Status.
  3. In the Job Detail window, click Download Logs to download a job-logs.txt file with more details about recent jobs.

Collect Patch troubleshooting information from Windows and Linux endpoints

You can collect and review endpoint artifacts to troubleshoot Patch issues on Windows and Linux endpoints. You can use Client Management to directly connect to an endpoint and collect a bundle of logs and other artifacts, sometimes referred to as an Endpoint Must Gather (EMG).

  1. From the Main menu, go to Shared Services > Client Management.
  2. From the Client Management menu, click Client Health.
  3. In the Direct Connect search box, enter all or part of an IP address or a computer name.

    Matching results appear after the search completes.

  4. From the search results, click the computer name to connect to the endpoint.
  5. Click the Gather tab.

    For the Domain filter, select the domain and category names for which you want to gather troubleshooting information. You can optionally filter the category list by domain, and you can select the check box in the header row to toggle the selection of all categories in the current filter.

    Select a domain and category name in the 'Available Steps' section

    For Patch information, select the Core and Patch domains.

  6. Click Gather from Endpoint.

    The selected logs and artifacts are gathered from the endpoint. The package appears in the Must Gathers section, and the name of the package corresponds with its time stamp.

  7. When Finished appears in the Run State column, select the package and click Download to download a ZIP file that contains the troubleshooting information.

For more information about how to connect directly to endpoints, see Tanium™ Direct Connect.

For more information about Client health features in Client Management, see Monitor the Client health overview in Client Management and Access detailed Client health and troubleshooting information on an endpoint.

(Windows) Determine whether patch-cx client extension is running on an endpoint

Patch-cx is a client extension that was introduced in Endpoint Configuration Toolset 2.20 and Tanium is currently enabling the extension in phases. During this phased rollout, patch-cx might be running on some endpoints, but not all.

Note: Patch-cx client extension is currently available for Windows endpoints only.

To find endpoints that are running patch-cx, ask the following question in Tanium Interact:

Get Computer Name and Client Extensions - Status having Client Extensions - Status:Domain contains Patch from all entities with Client Extensions - Status:Domain contains Patch

Conversely, to find endpoints that are not running patch-cx, ask the following question in Tanium Interact:

Get Computer Name and Client Extensions - Status from all entities with all Client Extensions - Status:Domain not contains Patch

(Windows) Use TaniumCX commands to check patch-cx status

To determine the state of patch-cx directly on an endpoint, you can run the following TaniumCX commands from the <Tanium Client> directory.

Note: Patch-cx client extension is currently available for Windows endpoints only.

Check the status of all extensions

To display the status and health checks of all extensions on the endpoint, run the following command:

CODE
TaniumCX get-status
Tip: You can also retrieve this information from the Client Extensions - Status and Client Health - Health Failures sensors.

Example output:

CODE
...
patch
  applied_scan_name: [Offline CAB Scan] - Windows
patch
  applied_scan_type: CAB
patch
  version: 1.2.1478.0
...
software_manager
  deploy_service_running: true
software_manager
  windows_update_service_status: stopped
software_manager
  patch_service_running: false
software_manager
  version: 3.8.564.0
...

Check deployment status history

To display the status of all known deployments on the endpoint, including deployments that are no longer active, run the following command:

CODE
TaniumCX call patch.get-deployment-statuses

The last column in the output indicates whether the deployment is active.

CODE
1|Installing|Installing|Yes
3|Downloading|Downloading|Yes

Check the CX task schedule

To display the status of all Client Extension scheduled tasks, including patch scans, deployments, and maintenance windows, run the following command:

CODE
TaniumCX.exe call extras.get-schedule-status

The current_time_local value in the results shows the current time on the endpoint. Use that current_time_local value to compare against the scheduled times.

JSON
current_time_utcs: 1746019769
current_time_local: "2025-04-30T06:29:29.000-07:00"
starting {
  domain: "patch"
  name: "scans"
  id: "scan_2_1"
  started_count: 1
  next_start {
    value: "2025-05-01T12:48:29.000+00:00"
  }
  active: true
}
maintenance {
  domain: "patch"
  name: "deployments"
  id: "maintenancewindow_18_1"
  window_start {
    value: "2025-04-30T07:37:00.000-07:00"
  }
  window_end {
    value: "2025-05-01T07:37:00.000-07:00"
  }
  blocking: true
}

To view a list of all available commands for a given extension, run TaniumCX call <extension name>, for example, TaniumCX call patch.

You can also read the current Endpoint Configuration settings for patch-cx from the following file on the endpoint: [Tanium Client Directory]\extensions\patch\data\last-apply.json.

Configure endpoint logging for Windows and Linux endpoints

Distribute the Patch - Set Patch Process Options package to your Windows and Linux endpoints to change the default logging type and log rotation settings.

  1. In Interact, target the endpoints on which you want to configure logging. For example, Get Operating System from all machines.
  2. Click Deploy Action. Choose the Patch - Set Patch Process Options package and specify the log level, log size, and number of logs to keep.
  3. Click Preview and then click Deploy Action.

Endpoint has unhealthy readiness score (Needs Attention)

You can review the endpoint issues contributing to an unhealthy readiness score by clicking Needs Attention in the Endpoint Readiness section on the Overview page, when creating a deployment after selecting endpoints to target, and when viewing a deployment.

unhealthy_endpoint_breakdown

The following table lists the specific issues that contribute to an unhealthy readiness score. Troubleshoot the issues to improve the endpoint readiness score.

Table 1. Issues that need attention

Issue

Solution

Missing Scan Results

Has Scan Errors

Stale Scan Results

Troubleshoot scan errors on Windows and Linux endpoints

No Scan Targeted

No Longer Targeted

Not Targeted

The endpoint is not included in any targeted computer groups for the scan configuration. Edit a scan configuration to include the endpoint.

Tools Missing

Unexpected Tools Error

Unexpected Tools Status

Unable to Load Tools

The endpoint does not have the required tools or there is an issue with the tools. Review the following troubleshooting topics:

Windows and Linux patches are not listed in the Patches view

If you are having difficulty getting Windows and Linux patches to appear:

  1. Verify that the Patch - Is Process Running sensor returns Yes for your endpoints.

  2. Ensure that the expected endpoints are in the action group.

  3. Verify that the expected endpoints are targeted by a scan configuration.

  4. Check for scan errors on the endpoints targeted by a scan configuration.

Troubleshoot scan errors on Windows and Linux endpoints

Investigate Windows and Linux endpoints with scan errors that have scan results older than two days and resolve the errors for each endpoint. If Patch is unable to successfully scan an endpoint for its applicable patches, Patch does not know what patches to deliver to the endpoint during a patch deployment.

  1. From the Main menu, go to Modules > Patch > Scan Management and then click Scan Errors.
  2. Review any scan errors.
  3. Review Reference: Common Patch errors and implement solutions for applicable errors.
  4. For other errors, complete the following general troubleshooting steps.
    1. (Windows) Review the Windows Update log on the endpoint. Search for key errors and then search the internet for solutions for the identified error. To get the Windows Update log, see Collect Patch troubleshooting information from Windows and Linux endpoints.
    2. Review the Tanium Patch logs for information on why the scan did not start or complete successfully on an endpoint. To get the Tanium Patch logs, see Collect a troubleshooting package.
  5. Confirm that routine scan error remediation is done before your routine patching cycle. To help identify errors, create a report from a saved question that identifies endpoints with scan errors.

    For example, you might use the following saved question:

    Get Computer Name and Operating System and Patch - Scan Errors and Patch - Scan Age and Patch - Has Enforced Scan Configuration and Patch - Is Process Running from all machines with ( Patch - Scan Errors matches "^[1-9]\d+\|.*$" or ( Patch - Has Enforced Scan Configuration equals No or ( Patch - Scan Age matches "^(?!([0-2] Day|N\/A|Could not get results).*).*$" and Uptime matches "^\d+ [Dd]ays$" ) ) )

    For more information on saved questions and reporting, see Managing saved questions in Console and Interact.

Offline CAB scans fail for Windows 7 and Windows Server 2008 R2

If offline CAB scans fail for Windows 7 and Windows Server 2008 R2 with the error:

Error creating Update Service Object - See C:\Windows\windowsupdate.log for more details

Check the Windows Update log for the following errors:

WARNING: Digital Signatures on file C:\Windows\SoftwareDistribution\ScanFile\f6f0081a-1e6e-4e64-a804-58cf334a1f48\Source.cab are not trusted: Error 0x800b0109

WARNING: Digital Signatures on file C:\Windows\SoftwareDistribution\ScanFile\f6f0081a-1e6e-4e64-a804-58cf334a1f48\Source.cab are not trusted: Error 0x800b0109

If you see these errors, then prerequisite patches might not be installed on the endpoints. To resolve this issue, use either Tanium Scan or a method outside of Patch to install updates for SHA2 signing and Extended Security Update on the endpoints. For more information, see Tanium Scan and Knowledge Article: Enabling and Delivering Microsoft Extended Security Updates with Tanium.

Scans are not completed on Linux endpoints

Patch 2.3.5 supports Red Hat and CentOS Linux endpoints. Patch 2.4.3 also supports Oracle and Amazon Linux endpoints. Patch 3.2.160 also supports SUSE endpoints.If you are having difficulty getting scans to run on Linux endpoints:

  1. From the Main menu, go to Modules > Patch > Overview, click Settings cog and then click Operating Systems to verify that the Enhanced Linux Support option is enabled.
  2. Verify that the Patch - Is Process Running sensor returns Yes for your Linux endpoints.
  3. Verify that the Tanium Server can reach the repomd.xml file by appending /repodata/repomd.xml to the configured baseurl value.
  4. Check the endpoint log at /opt/Tanium/TaniumClient/Tools/Patch/logs/patch-process.log for errors.

Red Hat Linux endpoints stuck in Waiting for Initial Scan status

If you configure a repository that includes both Red Hat Enterprise Linux 6 Server (RPMs) and Red Hat Enterprise Linux 7 Server (RPMs) endpoints, your targeted endpoints might appear to be stuck in the Waiting for Initial Scan status.

  1. Verify that each major operating system is targeted in repositories.

  2. Target Linux endpoints by major operating systems.

Linux repository snapshots issues

If you encounter issues creating or using snapshots, review the following solutions. For information about specific snapshot errors, see Reference: Common Patch errors.

Warning about a failed snapshot

A warning message appears, to indicate that a snapshot failed. To modify the snapshot, click Manage Repository Snapshots. To remove the warning, click Dismiss warning.

Patch process is not running on Linux endpoints

Start the Patch process.

  1. In Interact, ask the Get Operating System from all machines question.

  2. From the grid, select the Linux operating systems.

  3. Click Deploy Action. Choose the Patch - Start Patch Process [Non-Windows] package.

  4. Click Preview and then click Deploy Action.

Patch deployment status: Download Failed, Download Size Threshold Exceeded

When reviewing a deployment, you might notice a Download Failed, Download Size Threshold Exceeded status under the parent Needs Attention status.

Issue

During a deployment, an endpoint incorrectly identified a UUP patch as a non-UUP patch resulting in a download failure due to network bandwidth protections.

Solution

  1. From the Main menu, go to Modules > Patch > Deployments.

  2. Click the Deployment with the error. The Deployment details page loads.

  3. Review the patches that are applicable to the deployment. If the deployment uses a patch list, go to the Patch List details page.

  4. Click the name of each UUP patch to view the Patch details page.

  5. Verify whether the patch should have been considered a UUP patch. UUP patches usually have the following characteristics:

    • Are Cumulative Updates

    • Are approximately 10 GB in size

    • Have at least 10 files

  6. If the patch is supposed to be synchronized with UUP but was not, then open a support ticket and provide the following information:

    • The title of the patch

    • The list of files associated with the patch

    • The total size of the patch

    • The endpoints targeted by the deployment

  7. If the patch is not a UUP patch, add an advanced setting to increase the DownloadSizeThreshold.

    CAUTION: By adding this advanced setting, all endpoints that are applicable for this patch will download the full contents of the patch. This can result in substantial bandwidth utilization.
    1. From the Main menu, go to Modules > Patch > Overview and then click Settings.

    2. In Advanced Settings, click Add Setting.

    3. Add the following settings:

      1. Setting name: DownloadSizeThreshold

      2. Value: <an integer greater than the total download size of the patch, in bytes>

    4. Click Save. After this new value is updated on endpoints, the deployment will proceed with the download step.

Resolve UUP synchronization errors

If Tanium encounters problems synchronizing patches for Windows 11 22H2 or later endpoints, errors appear in the UUP Synchronization Management section of the Overview page or in the Summary section of a Patch details page.

Table 2. UUP synchronization errors and resolutions

Error message

Problem

Solution

Not enough disk space on the Tanium Server

Synchronization will result in less than 10% total disk space remaining on the Tanium Server so the process does not progress.

To resolve the error you can do one of the following actions:

  • Get more disk space and then retry the failed synchronization.

  • In time-sensitive emergency situations, configure the BypassUUPStorageLimit advanced setting, which allows synchronization to fill the disk to 95% disk usage.

    1. From the Main menu, go to Modules > Patch > Overview > Settings.

    2. In the Advanced Settings section, click Add Setting and then set BypassUUPStorageLimit = 1

    3. Click Save.

    4. Retry the failed synchronization. For more information, see Manually synchronize patches.

    5. After synchronization is successful, set BypassUUPStorageLimit = 0 to disable the setting.

Failed to upload data to Tanium Server

Potential System User Service error or some internal error within the Tanium Server.

This error often self-resolves after the sync retries. If the problem persists, contact Tanium Support.

All known urls failed to respond

Tanium could not reach any of the URLs on patch.

  • If you are using are using a local WSUS server:

    1. Confirm that the WSUS server is reachable from the Tanium Module Server.

    2. On the WSUS server, verify whether the update is approved.

    3. If the update is approved, verify that making a head request from the Tanium Module Server to the URL of the associated metadata file responds with a 200 status. If the response is a 404, proceed with troubleshooting any proxy settings that might be present in the environment.

    4. If the update is not approved, approve the update and then Manually synchronize patches.

  • If you are not using a local WSUS server:

    1. Go to the Patch details page and confirm whether the patch URLs have any of the following domains:

      • windowsupdate.microsoft.com

      • *.windowsupdate.microsoft.com

      • *.update.microsoft.com

      • *.windowsupdate.com

      • download.windowsupdate.com

      • download.microsoft.com

      • *.download.windowsupdate.com

      • dl.delivery.mp.microsoft.com

      • *.delivery.mp.microsoft.com

    2. If a patch URL domain is not on the list:

      1. Use Tanium to target the endpoints that have this patch marked as applicable.

      2. Deploy the Patch - Reset Windows Update Client package to perform a Windows Update Agent reset.

      3. Wait for a re-scan.

    3. If the issue is not resolved, check the proxy configuration of the environment and confirm whether the Tanium Module Server can reach any of the patch URLs that have errors. Resolve any proxy issues.

All reachable urls responded with 404

The update is revoked or proxy settings are causing issues.

  • If you are using a local WSUS server, see the solution for All known urls failed to respond.

  • If you are not using a local WSUS server, the patch is likely a revoked update. No action is needed. If the patch is not a revoked update, retry the failed synchronization. For more information, see Manually synchronize patches

    .

Hash mismatch

Incorrect files might have been staged on the WSUS server.

  1. On the third-party patching tool or WSUS server, approve the patches that failed to synchronize.

  2. Retry the failed synchronization. For more information, see Manually synchronize patches.

  3. If the problem persists, deploy the Patch - Reset Windows Update Client package to all endpoints to perform a Windows Update Agent reset.

If the problem persists, contact Tanium Support to help investigate the issue.

Failed to sync update with endpoint config

Patch files were downloaded successfully, and packages were created, but Endpoint Configuration failed to register the necessary metadata for endpoints.

  1. Collect a troubleshooting package.

  2. In the logs, search for the root cause of the Endpoint Configuration errors and resolve the issues

  3. Retry the failed synchronization. For more information, see Manually synchronize patches.

OpenSUSE and SLES endpoints install later version of software

OpenSUSE and SUSE Linux Enterprise Server (SLES) endpoints might install a later version of software than specified in a deployment. Zypper, which manages software packages on those endpoints, automatically selects the latest available version of software for installation. If you create a deployment to install version 1.0.1 of software and the latest available version of the software is 1.0.2, when the endpoint receives the deployment, Zypper installs version 1.0.2.

To workaround this Zypper behavior, use repository snapshots. For more information, see Manage Linux repository snapshots.

End-user notifications are not displayed or endpoints have errors

End-user notifications are supported for Windows endpoints only. If end-user notifications are not being displayed on the endpoints or the endpoints have errors (for example, their statuses are Non-compliant):

  1. Confirm that the endpoints have the latest versions of the tools. For more information, see Manage and promote toolset versions in the upgrade rings.

  2. Verify that the Tanium End-User Notifications solution is installed. For more information, see Installing End-User Notifications.

  3. Ask the question: Get Endpoint Configuration - Tools Status from all machines to check if your endpoints have the End-User Notifications tools.

  4. Verify that any security software exclusions include the \Tanium\Tanium End User Notification Tools directory. For more information, see Security exclusions.

  5. Uninstall the End-User Notifications tools on the endpoints. For more information, see Remove End-User Notifications tools from endpoints. Then wait up to 10 minutes for the tools to automatically reinstall.

    Note: You can also reinstall the End-User Notifications tools with the Endpoint Configuration - Reinstall Tool package.

Patch workbench slowly loads pages

If the Patch workbench slowly loads pages, confirm that you have enabled the Inactive Deployments Removal option to remove old inactive deployments. The deployment cleanup helps improve the performance of the Patch workbench. For more information, see Delete old inactive deployments.

Identify and resolve issues with Client Extensions

Use the following steps to troubleshoot issues with the Client Extensions that Patch installs and uses. During troubleshooting, consider environmental factors such as security exclusions, file locks, CPU usage, RAM usage, and disk failures.

Tip: For more information about the Client Extensions that Patch installs and uses, see Client extensions and endpoint tools.
  1. If endpoints have Client Extension shared process mode enabled and you need to troubleshoot resource usage or crashes in the combined TaniumCX.exe or TaniumCX process, disable shared process mode on the affected endpoints, and then reproduce the issue if possible. For more information, see Manage Client extension shared process mode.
  2. To review the health of Client Extensions or to start an investigation into an existing error, ask a question using the Client Extensions - Status sensor.

    The results of these questions help to identify endpoints with errors and provide a starting point to deploy actions that might help correct the issue. Filter the results and drill down as necessary to investigate results that indicate errors.

    Tip: Consider whether endpoints with errors share common characteristics, such as operating system, domain or organization unit, or the antivirus software that is installed.
  3. Target one or more endpoints with errors, and uninstall tools that report errors without blocking reinstallation. For more information, see Remove Patch tools from endpoints and Uninstall tools installed by Endpoint Configuration.
    CAUTION: When you perform a hard uninstallation of some tools, the uninstallation also removes data that is associated with the tool from the endpoint. This data might include important historical or environmental data. If data that you want to keep is associated with the tool, make sure you perform only a soft uninstallation of the tool.

    Wait for automatic reinstallation of the tool. If the reinstallation does not resolve the issue, continue to the next step.

  4. Ask a question using the Endpoint Configuration - Tools Status Details sensor, and include filters to limit the results to the tool that you are investigating. For example:

    Get Endpoint Configuration - Tools Status Details having Endpoint Configuration - Tools Status Details:Tool Name contains Patch from all machines with Endpoint Configuration - Tools Status:Tool Name contains Patch

    Review the columns in the results for specific information about errors. The following table provides guidance for some common error conditions:

    Table 3. Potential errors returned by the Endpoint Configuration - Tools Status Details sensor

    Error Condition

    Possible Resolution

    No error appears, but an available new version has not been installed

    Review the Targeted Version column to make sure that the endpoint has received the latest manifest. If the targeted version does not yet show the updated version, the Endpoint Configuration manifest has not updated on the endpoint, usually for one of the following reasons:

    • The manifest update is still pending. Either wait for the manifest to update and then review the results again, or follow the steps in Verify and manually update the Endpoint Configuration manifest.

    • Action lock is enabled on the endpoint. Follow the steps in Verify and manually update the Endpoint Configuration manifest to identify endpoints with action lock turned on.

    • Patch is no longer installed, or it is no longer targeting the endpoint. In some cases, Patch might stop targeting an endpoint because it no longer needs the endpoint for a particular workload. Consider whether Patch should still target the endpoint:

      • If it is expected or intentional that Patch no longer targets the endpoint, you can optionally uninstall Patch tools and dependencies. For more information, see Remove Patch tools from endpoints.

      • If Patch should still target the endpoint, make sure that the Patch action group includes the endpoint, and make sure Patch targets the endpoint in any expected configurations or profiles. Then, either wait for the manifest to update and then review the results again, or follow the steps in Verify and manually update the Endpoint Configuration manifest.

    Installation Blocker: Unmet Dependencies: [Tool name]

    If no Failure Message or Failure Step appears, the endpoint might be waiting for the dependencies to install. Wait to see if the condition resolves on its own. If this condition remains for an extended period, ask the question again and review any error information in other columns, especially the Failing Dependency column.

    Failing Dependency: [Tool name]

    Ask the question: Endpoint Configuration - Tools Status Details having Endpoint Configuration - Tools Status Details:Tool Name contains [Tool name] from all machines with Endpoint Configuration - Tools Status:Tool Name contains [Tool name]

    Investigate further errors with the tool.

    If the dependency has not been installed on an endpoint, ask the question: Get Endpoint Configuration - Tools Retry Status from all machines with Computer Name equals Computer_Name to review the retry status for the tool installation. For more information, see Review tool installations that are scheduled for a retry.

    Manually Blocked: blocked

    The tool was previously blocked, either manually or during a previous uninstallation. Unblock the tool. For more information, see Block or unblock tools from installing on an endpoint.

  5. Review the Extensions logs on the endpoint. Take note of entries that include fail or error. For more information, see Review the Extensions log for an endpoint.

For additional help, collect all logs for Tanium Patch, and Contact Tanium Support.

Review the Extensions log for an endpoint

Use Client Management to directly connect to an endpoint and view and download extension logs.

  1. From the Main menu, go to Shared Services > Client Management.

  2. From the Client Management menu, click Client Health.

  3. In the Direct Connect search box, enter all or part of an IP address or a computer name.

    Matching results are displayed after the search completes.

  4. From the search results, click the computer name to connect to the endpoint.

  5. Click the Logs tab, and select an extensions[#].log file.

  6. (Optional) To download the log, click Download.

For additional help, collect all logs for Tanium Patch, and Contact Tanium Support.

(Windows) Disable patch-cx

You might encounter situations where you need to disable patch-cx temporarily to troubleshoot Patch issues. To disable patch-cx from running on an endpoint without removing the tool completely, you can deploy a client setting.

  1. In Interact, ask a question to target the Windows endpoints on which you want to disable patch-cx.
  2. Select the endpoints from the results and click Deploy Action.
  3. For Deployment Package, select Modify Tanium Client Setting and configure the following settings:
    • RegType: REG_DWORD

    • ValueName: DisableExtension_patch

    • ValueData: 1

      Tip: To re-enable patch-cx, set ValueData to remove.
  4. Click Show Preview to Contiue, review the list of targeted endpoints, and then click Deploy Action. The change takes effect after the next client extension restart.
  5. To force a client extension restart, deploy the Endpoint Configuration - Restart Client Extensions [Windows] deployment package to the same endpoints.

Remove Patch tools from endpoints

You can deploy an action to remove Patch tools from an endpoint or computer group. Separate actions are available for Windows and non-Windows endpoints.

Important: (Windows) Removing patch-cx can cause loss of historical data, and take longer to restore functionality than temporarily disabling the tools. It is recommended that you disable patch-cx instead of removing the tool, particularly in cases where Patch needs to be disabled as part of diagnosing a problem or for other temporary reasons. For more information, see (Windows) Disable patch-cx.
  1. Prevent Patch tools from installing on endpoints and scheduled actions from running.
    1. From the Main menu, go to Administration > Actions > Action Groups.
    2. Click the Patch action group, change the Computer Groups, and click Save.
      • To prevent Patch actions on select endpoints, change the computer groups to no longer target the endpoint or computer group.

      • To prevent Patch actions on all endpoints, change the computer groups to No Computers.

  2. In Interact, target the endpoints from which you want to remove the tools. For example, ask a question that targets a specific operating system: Get Endpoint Configuration - Tools Status from all machines with Is Windows equals true
  3. In the results, select the row for Patch, drill down as necessary, and select the targets from which you want to remove Patch tools. For more information, see Drill down into results.
  4. Click Deploy Action.
  5. For the Deployment Package, select Endpoint Configuration - Uninstall Tool [Windows] or Endpoint Configuration - Uninstall Tool [Non-Windows], depending on the endpoints you are targeting.
  6. For Tool Name, select one of the following options depending on the target endpoints:
    1. For Windows and Linux endpoints that are running legacy Patch tools, select Patch.
    2. For Windows endpoints that are running patch-cx, select patch-cx.
  7. (Optional) By default, after the tools are removed they cannot be reinstalled. To allow tools to be automatically reinstalled, clear the selection for Block reinstallation. Re-installation occurs almost immediately.
    Note:

    If reinstallation is blocked, you must unblock it manually:

    • To allow Patch to reinstall tools, deploy the Endpoint Configuration - Unblock Tool [Windows] or Endpoint Configuration - Unblock Tool [Non-Windows] package (depending on the targeted endpoints).

    • If you reinstall tools manually, select Unblock Tool when you deploy the Endpoint Configuration - Reinstall Tool [Windows] or Endpoint Configuration - Reinstall Tool [Non-Windows] package.

  8. (Optional) To remove all Patch databases and logs from the endpoints, clear the selection for Soft uninstall.
    CAUTION: When you perform a hard uninstallation of some tools, the uninstallation also removes data that is associated with the tool from the endpoint. This data might include important historical or environmental data. If data that you want to keep is associated with the tool, make sure you perform only a soft uninstallation of the tool.
  9. (Optional) To also remove any tools that were dependencies of the Patch tools that are not dependencies for tools from other solutions, select Remove unreferenced dependencies.
  10. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Note: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  11. Click Show preview to continue.
  12. A results grid appears at the bottom of the page showing you the targeted endpoints for your action. If you are satisfied with the results, click Deploy Action.
Note: If you have enabled Endpoint Configuration approval, tool removal must be approved in Endpoint Configuration before tools are removed from endpoints.

Uninstall Patch

If you need to uninstall Patch, first clean up the Patch artifacts on the endpoint and then uninstall Patch from the server.

  1. Remove the Patch solution from the Tanium Module Server. From the Main menu, go to Administration > Configuration > Solutions.

    1. In the Patch section, select Patch, click Uninstall, and follow the process.

    2. Click Proceed with Uninstall. The uninstaller disables any actions.

    3. Return to the Solutions page and verify that the Import button is available for Patch. If the Patch module has not updated in the console, refresh your browser.

  2. Delete any remaining files in the <Module Server>\services\patch-service and Tanium Module Server\services\patch-files directories.

  3. Unregister all Patch-related sensors.

    1. Go to the Interact Overview page and click Settings Settings.

    2. Filter the Registration & Collection tab to find the Patch-related sensors.

    3. For each sensor, select Actions > Release to unregister.

  4. Delete all Patch-related Endpoint Configuration items.

    1. From the Main menu, go to Shared Services > Endpoint Configuration > Configurations.

    2. Select Patch Toolset and all items in the Patch domain, and click Delete.

  5. Delete all scheduled actions under the Patch action group.

    1. From the Main menu, go to Administration > Actions > Scheduled Actions.

    2. Select the Patch action group.

    3. Select the scheduled actions and click More > Delete.

  6. Delete the Patch action group.

    1. From the Main menu, go to Administration > Actions > Action Groups.

    2. Select the Patch action group, click Migrate and Delete, and complete the process.

  7. Delete all Patch-related saved questions.

    1. From the Main menu, go to Administration > Content > Saved Questions.

    2. Select all Patch-related questions and click Delete trash.

  8. Delete all sensors prefixed with Patch - .

    1. From the Main menu, go to Administration > Content > Sensors.

    2. Select all sensors prefixed with Patch - and click Delete trash.

  9. Delete all packages prefixed with Patch - .

    1. From the Main menu, go to Administration > Content > Packages.

    2. Select all packages prefixed with Patch - and click Delete trash.

Restore the state of the Patch database

You can import the patch.db file to restore the Patch configuration.

  1. Stop the Patch service on the Tanium Module Server.
  2. Copy your patch.db file into the <Module Server>\services\patch-service\ directory, replacing the existing file.
  3. Restart the Patch service.
  4. In Tanium Console, refresh the Patch workbench.
  5. Any existing data, including patch lists, deployments, and associated patches and actions appear in the Patch workbench.
    Note: If a deployment scheduled action is missing, you might need to wait up to 5 minutes for it to show up.

(Windows) Configure endpoint disk space requirements

Patch uses Client Extension free disk space safety checks to avoid excessive disk usage, defaulting to a 5% free space requirement. On very large disks, percentage checks might be too restrictive. If an endpoint does not have at least 5% free space, Patch stops the download of files. Affected endpoints appear in the Needs Attention status of the Endpoint Readiness health check. When you drill down to View in Interact, you might see the following client extension statuses:

  • Disk space below warning threshold of 5%

  • Not downloading patch files due to cx-core disk space health check

If your Windows endpoints are running the patch-cx client extension, you can configure the CX.patch.MinFreeSpaceMB client setting to check the number of available megabytes instead of a percentage.

Disk space requirement example

Suppose you have an endpoint with a 1 TB system drive. A 5% free-space requirement means the device must have at least 50 GB free for patch installation. If the endpoint has only 45 GB free space (which is below the 5% threshold), the patch files will not be installed. To allow patching to continue in this scenario, you can override endpoint disk space requirements with the CX.patch.MinFreeSpaceMB client setting to a value such as 20,000 (20,000 MB/20 GB).

Tip: You can use the Disk Drive Details sensor to identify large disks that could be candidates for using the CX.patch.MinFreeSpaceMB client setting.

Procedure

To change requirements to check for free disk space in megabytes, complete the following steps:

  1. In Interact, ask a question to target the Windows endpoints on which you want to change the disk space requirements.
  2. Select the endpoints from the results and click Deploy Action.
  3. For Deployment Package, select Modify Tanium Client Setting and configure the following settings:
    • RegType: REG_DWORD

    • ValueName: CX.patch.MinFreeSpaceMB

    • ValueData: <free_space_in_megabytes>

      Tip: To revert back to percentage-based checks, set ValueData to 0.
      Action Deployment with settings required to configure disk space check
  4. Click Show Preview to Contiue, review the list of targeted endpoints, and then click Deploy Action.

Cannot use Tanium Patch to deploy Microsoft out-of-band updates

Tanium Scan for Windows synchronizes with the Microsoft Windows Server Update Services (WSUS) catalog. Only updates which Microsoft publishes to the Server Update Services release channel are visible to endpoints scanned with the Tanium Scan method. Microsoft typically does not release out-of-band updates to the Server Update Services channel.

To deploy out-of-band updates, use Tanium Deploy to install the Latest Cumulative Update (LCU) package that includes the out-of-band update. For more information, see Knowledge Article: Deploying Out-of-Band Microsoft Updates with Tanium. If the out-of-band update is not included in an LCU, download the update from Microsoft and then create a software package in Tanium Deploy. For more information, see Tanium Deploy User Guide: Create a software package.