Server Updates Stuck at Downloading 100%

brent24099 111 Reputation points
2020-07-30T16:32:21.113+00:00

I use Azure Update Automation for our on-premise servers. Starting with the July updates, all updates are failing on Windows Server 2019.

Tried using the GUI to install, they still fail. It gets stuck at "Downloading 100%".

Get-WindowsUpdateLog is showing this:

2020/07/30 01:05:45.6895363 9784 9920 DownloadManager The downloaded bytes (717341703) is greater than the expected total bytes (361211195).
2020/07/30 01:05:45.7061981 9784 9920 DownloadManager Attempted to resume update 4C46BBE8-DB9A-4297-8438-1F5AC3BA28DA for reason 0x6 (NetworkCost|Restricted), update is no longer suspended afterward.
2020/07/30 02:06:11.7055389 9784 7484 DownloadManager FAILED [80D02002] All available CDNs for the update 4C46BBE8-DB9A-4297-8438-1F5AC3BA28DA.1 are tried but the download job 35550A76-3E0C-4F8F-AD29-8E10EA264297 still failed.
2020/07/30 02:06:11.7056259 9784 7484 DownloadManager DO job {35550A76-3E0C-4F8F-AD29-8E10EA264297} failed, updateId = 4C46BBE8-DB9A-4297-8438-1F5AC3BA28DA.1, hr = 0x80D02002. File URL = http://2.tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f578faa5-8004-4d38-8354-76c1cd322ffb?P1=1596092914&P2=402&P3=2&P4=EK1XH9MRk%2fkjmEl3aUTWTZWVHGMOnHz93Y5t9kRQJUp3j7OukOxchj8O%2byXYaXtIA4BQDBz%2bM%2bewOSTdfA3YBQ%3d%3d, local path = C:\Windows\SoftwareDistribution\Download\07340c114cbcf6e391981020a016c587\Windows10.0-KB4559003-x64.cab

Thought it might be a firewall issue, but I can download from the URL in the logs fine. If I manually put the .cab file in SoftwareDistribution, the update will complete. This issue started with the July updates. Manually installing works fine for these, they just won't complete the download through the built in GUI or Azure Update Automation. Neither KB4558998 or KB4559003 will complete a download through the regular Windows Update GUI in the Settings or Azure Update Automation.

I tried resetting the updates via renaming SoftwareDistrubtion and catroot2 folders also to no avail.
I tried scf /scannow and dism /online /cleanup-image /restorehealth.
I tried disabling AV.

The issue occurs on every single of our servers, all running Windows Server 2019. I'm completely at a loss here. I can install the updates manually, but I'd love to have the update automation working again.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,501 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,269 questions
0 comments No comments
{count} votes

Accepted answer
  1. brent24099 111 Reputation points
    2020-08-04T15:39:22.337+00:00

    I found the issue! It is not related to windows or Microsoft at all. In fact, our Sophos XG Firewall was blocking traffic to valid CDNs. Once I allowed those false positive IPS signatures updates resumed normally!

    If you have a Sophos XG and Windows Updates are failing, check this out:

    https://community.sophos.com/products/xg-firewall/f/intrusion-prevention/121896/constant-ips-alerts-for-july-windows-updates-kb4558998/443528

    0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2020-07-30T16:39:19.153+00:00

    Might also try manual download and install the latest SSU
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4558997

    followed by the latest cumulative update.
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4558998

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. brent24099 111 Reputation points
    2020-07-30T16:58:42.863+00:00

    Yeah forgot to mention I installed the latest SSU manually also.

    0 comments No comments

  3. Dave Patrick 426.2K Reputation points MVP
    2020-07-30T17:00:55.207+00:00

    Sounds good, if it was successful then follow up with manual download of the latest cumulative update.
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4558998

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  4. brent24099 111 Reputation points
    2020-07-30T17:27:10.39+00:00

    Right, manual updates work fine, but I want to find out why I can't update automatically.

    0 comments No comments