Problem with Windows Updates - 0x8007000d ERROR_INVALID_DATA

MasterOfChilli 6 Reputation points
2022-05-04T10:20:19.587+00:00

Hello,

I am currently having problems installing Windows updates on a Windows Server 2016 Datacenter image (version 1607).
The last update that could be installed successfully was the February update (KB5010359).

Since the March update (KB5011495), there are problems with the installation and no further updates can be installed.
Unfortunately, this has not changed with the April update (KB5012596).

The error message I receive after the installation is: 0x8007000d.

I have uploaded the corresponding CBS log via OneDrive: https://1drv.ms/u/s!AnhC33_lRcGTgQAWIeBuFrkmDUXn?e=YtsNsn
Below there are some timestamps for references:

29.04 13:35 - Start of Windows Update installation.

29.04 approx. 14:20 - Reboot required to complete the installation.

29.04 14:26 - Completion of the reboot.

In this regard, I have also already tried some standard troubleshooting:

  1. Running the Windows Update troubleshooter.
  2. A manual installation via the Windows Update Catalog.
  3. Renaming the SoftwareDistribution and Catroot2 folders under C:\Windows\System32\ and then restarting the Windows Update services.
  4. sfc /scannow
  5. Repairing the image via DISM using the Windows Server 2016 ISO.

None of the actions have been successful so far.

The result of DISM /online /cleanup-image /scanhealth and /checkhealth is: The component store is repairable

A repair via dism /online /cleanup-image /restorehealth /source:WIM:E:\sources\install.wim:3 /limitaccess, however, still fails with the following error: 0x800f081f - The source files could not be found.

Of course, I have previously mounted the Windows Server 2016 ISO on E:.

I also uploaded the CBS log after the DISM repair via OneDrive: https://1drv.ms/u/s!AnhC33_lRcGTgQFpcSsYJrPk150d?e=bLTsQV

I noticed the CBS Registry Errors. Do these have anything to do with the problem or how can they be fixed?

Are there any other ideas for troubleshooting

Many thanks in advance.

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. MasterOfChilli 6 Reputation points
    2022-05-09T06:36:04.887+00:00

    @Rita Hu -MSFT

    I was able to fix the problem at the weekend.
    Several registry keys had to be deleted. These could be identified from the CBS log.
    Nevertheless, thank you for your efforts.

    1 person found this answer helpful.
    0 comments No comments

  2. Rita Hu -MSFT 9,661 Reputation points
    2022-05-05T02:03:39.24+00:00

    @MasterOfChilli
    Thanks for your posting on Q&A.

    May I know whether the Windows Server 2016 Server could connect to the Internet? If so, please run the Dism /Online /Cleanup-Image /RestoreHealth command to repair the damaged image.

    If you do not specify a /Source for the repair files, the default location for Features on Demand is used. For more information, see Configure a Windows Repair Source.

    Also, please downlaod and install the KB5012118 Cumulative Update for .NET Framework 4.8 for Windows 10, version 1607 and Windows Server, version 2016 update manually.

    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.


  3. Rita Hu -MSFT 9,661 Reputation points
    2022-05-06T02:45:40.193+00:00

    @MasterOfChilli
    According to the log files, it seems that the issue is due to the server missing the April 12, 2022—KB5012596 (OS Build 14393.5066). Please try to check whether the Server has installed the KB5011570: Servicing stack update for Windows 10, version 1607 and Server 2016: March 8, 2022 first. If not, please try to install it first. Then we could try to install the latest CU in April.

    We could download the latest SSU in here.

    Please keep us in touch if there are any updates. Wish you have a great weekend.

    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.


  4. Rita Hu -MSFT 9,661 Reputation points
    2022-05-09T02:08:33.48+00:00

    @MasterOfChilli
    Please try to install the latest KB4589210 Intel microcode updates for Windows 10, version 1607 and Windows Server 2016 and check whether the issue will be resolved. I tried to check for updates on my Windows Server 2016 servers and it seems that the servers missed the updates.

    Click here to get the updates.
    200072-5.png

    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

  5. Rita Hu -MSFT 9,661 Reputation points
    2022-06-02T02:25:45.303+00:00

    @MasterOfChilli

    Sorry for missing the reply. It is so glad to hear that the issue has been resolved. Here's a short summary for the problem , this will help other users to search for useful information more quickly.

    Problem/Symptom:
    Fail to install windows update: Windows Updates - 0x8007000d ERROR_INVALID_DATA

    Solution/Workaround:
    Several registry keys have to be deleted. We could review the registry keys in CBS log.

    Thanks for your time and have a great day.

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.