Why am I getting WSUS updates Errors 0x80070005 on Server 2016. Happens on Office Updates and .Net 4.8.

MEvansDCC 11 Reputation points
2022-05-18T08:26:48.183+00:00

Hello,

I've recently been having trouble with updates failing sporadically with error 0x80070005 Access denied. Running the updates manually will work, and sometimes logging on to the VM (Windows Server 2016 Datacenter build 1607) and running USOCLIENT STARTINSTALL will work also.

These and other workarounds have kept things going for a while but the problem has not subsided. So I've focused on update KB486129 .Net 4.8 for Windows 1607.

Here is a snippet of the WindowsUpdateLog which was generated:

2022/05/18 05:36:31.0253626 448   2360  Shared          Effective power state: AC
2022/05/18 05:36:31.0253661 448   2360  Agent           Released network PDC reference for callId {263D9664-30DD-4759-B1EA-8B5A523DCC9A}; ActivationID: 70
2022/05/18 05:36:31.0254743 448   3068  ComApi          *RESUMED* Download ClientId = UpdateOrchestrator
2022/05/18 05:36:31.0254751 448   3068  ComApi          Download call complete (succeeded = 0, succeeded with errors = 0, failed = 1, unaccounted = 0)
2022/05/18 05:36:31.0254763 448   3068  ComApi          Exit code = 0x00000000; Call error code = 0x80240022
2022/05/18 05:36:31.0254767 448   3068  ComApi          * END *   Download ClientId = UpdateOrchestrator
2022/05/18 05:36:31.0254774 448   3068  Agent           WU client calls back to download call {263D9664-30DD-4759-B1EA-8B5A523DCC9A} with code Call complete and error 0x80070005
2022/05/18 05:36:31.0259610 448   2008  ComApi          ISusInternal:: DisconnectCall failed, hr=8024000C
2022/05/18 05:36:31.0312324 448   2360  DownloadManager The update's sandbox is in use.  Will download when it is no longer busy.
2022/05/18 05:36:31.0340846 448   5000  DownloadManager Generating download request for update {E704CD3A-DB85-4197-AA31-F62F6C07B1D2}.201
2022/05/18 05:36:31.5793450 448   5000  DownloadManager Calling into handler 0x3 to generate download request for update E704CD3A-DB85-4197-AA31-F62F6C07B1D2.201
2022/05/18 05:36:31.5796150 448   5000  Handler         MSP download: file excel-x-none.cab already exists in sandbox directory (C:\Windows\SoftwareDistribution\Download\5e040ccb5b37cba3e7a992f17657d65c)
2022/05/18 05:36:32.2861818 448   5000  Handler         MSP Download: file C:\Windows\SoftwareDistribution\Download\5e040ccb5b37cba3e7a992f17657d65c\excel-x-none.cab passed cert/hash validation.
2022/05/18 05:36:37.4054375 448   5000  DownloadManager Resetting shared sandbox
2022/05/18 05:36:37.4058473 448   5000  DownloadManager Download request generation failed with 0x80070005.
2022/05/18 05:36:37.4059096 448   5000  DownloadManager Error 0x80070005 occurred while downloading update; notifying dependent calls.
2022/05/18 05:36:37.4077520 448   2360  DownloadManager * END * Download Call Complete Call 3 for caller UpdateOrchestrator has completed; signaling completion.
2022/05/18 05:36:37.4096189 448   2360  Shared          Effective power state: AC
2022/05/18 05:36:37.4096221 448   2360  Agent           Released network PDC reference for callId {CC6BC872-29B6-4310-9288-8DCCAA1F723E}; ActivationID: 71
2022/05/18 05:36:37.4099067 448   3068  ComApi          *RESUMED* Download ClientId = UpdateOrchestrator
2022/05/18 05:36:37.4099075 448   3068  ComApi          Download call complete (succeeded = 0, succeeded with errors = 0, failed = 1, unaccounted = 0)
2022/05/18 05:36:37.4099426 448   3068  ComApi          Exit code = 0x00000000; Call error code = 0x80240022
2022/05/18 05:36:37.4099430 448   3068  ComApi          * END *   Download ClientId = UpdateOrchestrator
2022/05/18 05:36:37.4099442 448   3068  Agent           WU client calls back to download call {CC6BC872-29B6-4310-9288-8DCCAA1F723E} with code Call complete and error 0x80070005
2022/05/18 05:36:37.4104239 448   2008  ComApi          ISusInternal:: DisconnectCall failed, hr=8024000C

I've think I've gone down a few incorrect routes looking into this so any advise would be much appreciated. On older machines its mentioned about registry permissions and Indexing Service but these both turned out to be fruitless. One article I found was mentioned that build 1607 wasn't working so they upgraded to version 1803, which isn't an option now. I'd have to make a case to upgrade to 1809 as its 300 Production VMs which will need updating.

Thanks.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,055 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. MEvansDCC 11 Reputation points
    2022-05-19T09:47:42.273+00:00

    Thank you for your quick response!
    I'll apply policy change this to our WSUS testing group, I've also done a WSUS reset on those machines so hopefully will start to see some results tomorrow.
    I will update here as soon as I know more.

    1 person found this answer helpful.

  2. Rita Hu -MSFT 9,626 Reputation points
    2022-05-19T02:01:50.713+00:00

    @MEvansDCC
    Thanks for your posting on Q&A.

    The phenomenon only occurred on the Windows Server 2016 Version 1607 servers. Right? Have you enabled the SSL in your WSUS Server? Would you mind sharing the whole windowsupdate.log for me to research further?

    Thanks for your understanding and cooperation.

    Best regards,
    Rita


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. MEvansDCC 11 Reputation points
    2022-05-19T08:39:28.733+00:00

    Thanks for the reply @Rita Hu -MSFT !

    Yes it does seems to just be on our Windows Server 2016 1607 servers.
    203661-image.png

    We don't have SSL enabled in WSUS. I've attached a copy of the Windows Update log which was generated yesterday: 203625-windowsupdate.log
    Thanks again for looking into this.

    0 comments No comments

  4. Rita Hu -MSFT 9,626 Reputation points
    2022-05-19T09:03:59.097+00:00

    @MEvansDCC
    Thanks for your response.

    I have reviewed the log files in detail. It seems that the device tried to updates but the BITs Service isn't running normally. Then the device try to request the task from DO(Delivery Optimization). But it failed again. I recommended to apply the following group policy to disable the DO(Delivery Optimization) in the affected devices.
    Browse to the following location:
    Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization
    203600-1.png

    Then please run the below link to reset Windows Update components on the affected devices and check whether it is helpful.
    https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-resources

    Hope the above will be helpful :-)

    Best regards,
    Rita


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments