Enable proxy for Microsoft Unified Update Platform

Symptom

You may need to enable a proxy for Unified Updated Platform (UUP) if Tanium Patch" /> shows Download Failed, Download retry limit exceeded - Retry 5 error when you attempt to apply patches to Windows 11 endpoints. Some Windows 11 endpoints may be patched successfully and do not require you to enable the proxy for UUP.

You can review the most recent patch logs from the C:\Program Files (x86)\Tanium\Tanium Client\Patch\patch0.log file on the impacted Windows 11 endpoint to check for the following symptom:

7/26/2024 1:18:15 PM+0800   INFO: PatchProcess - Has direct download results? True

7/26/2024 1:18:15 PM+0800   INFO: PatchProcess - Has direct download results? True

7/26/2024 1:18:15 PM+0800   INFO: PatchProcess - 1 missing updates

7/26/2024 1:18:15 PM+0800   WARN: DownloadStatusManager - patch a14d65fcae4dcd4f45a1d8acfd566728 previously failed to download with error 10

7/26/2024 1:18:15 PM+0800   INFO: PatchProcess - All patches that need to be downloaded have timed out during download, but patch cannot fall back to Client API. Setting download retry to retry limit, and will re-attempt to direct download once the deployment retry reset frequency has elapsed

7/26/2024 1:18:15 PM+0800   INFO: PatchProcess - Direct download retry limit exceeded.

Solution

If the UUP proxy is not enabled on the Tanium Server, then Windows 11 22H2 endpoints will try to directly download patches from Microsoft. After enabling UUP proxy, Tanium server will download and cache the patch files locally. After you enable the UUP proxy, the Windows 11 22H2 endpoints will download the files from Tanium Server instead of directly from Microsoft.

Complete the following steps to enable the UUP proxy from the Tanium console:

  1. Click Settings.


    A screenshot of a web page Description automatically generated
  2. Scroll to the bottom of your Settings page. In the Advanced Settings section, click Add Setting.


    A screenshot of a computer Description automatically generated
  3. Enter EnableUUPProxy for the setting name, and set the value to 1.


    A screenshot of a computer Description automatically generated
  4. Click Save.

Note:

It may take up to 48 hours for the EnableUUPProxy setting to change in your environment after you enable it.

To verify if you enabled the UUP proxy correctly, complete the following steps:

  1. Navigate to the Tanium Console.

  2. Click Administration > Packages.

  3. In the Search box, enter UUP. Verify that the new UUP packages appear.


A screenshot of a computer Description automatically generated

After you enable the UUP proxy, the content of the C:\Program Files (x86)\Tanium\Tanium Client\Patch\patch0.log file on the Windows 11 endpoint that displayed the error will show following logs:

7/29/2024 2:45:13 PM+0800   INFO: PatchProcess - Direct download criteria met. Supported: False, UUP Mode: True, Forced: False

7/29/2024 2:45:13 PM+0800   INFO: PatchProcess - Has direct download results? True

7/29/2024 2:45:35 PM+0800   INFO: DirectDownload - Launching with UUP Proxy configuration

7/29/2024 2:45:40 PM+0800   INFO: ScanRegistryManager - Setting Direct Download related registry state for UUP proxy

7/29/2024 2:45:40 PM+0800   INFO: ScanRegistryManager - Handling registry value: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\UpdateServiceUrlAlternate

7/29/2024 2:45:40 PM+0800   INFO: ScanRegistryManager - Done setting Direct Download related registry state for UUP proxy

7/29/2024 2:45:40 PM+0800   INFO: PatchManager - Applying updated registry settings to Windows Update Service

7/29/2024 2:45:40 PM+0800   INFO: PatchManager - Stopping Windows Update Service to apply registry values

7/29/2024 2:45:40 PM+0800   INFO: WindowsUpdateManager - Returning Windows Update Service to original state

7/29/2024 2:46:15 PM+0800   INFO: Running command:

   "C:\Program Files (x86)\Tanium\Tanium Client\TPython\TPython.bat" "C:\Program Files (x86)\Tanium\Tanium Client\Tools\Patch\py\wsus\run_uup_proxy_server.py" "--taniumUids=740bff219f331ba3db84b89719043529" "--ts=127.0.0.1:8443"

7/29/2024 2:46:25 PM+0800   INFO: PatchManager - Preparing to download 1 updates.

Now that you enabled the UUP proxy on your Tanium Server, your Windows 11 endpoints will try to download the updates from Tanium instead of directly from Microsoft, eliminating the failed downloads.