Fixing Windows Update and DISM Error 0x80073712 on Windows Server 2016/Windows 1…

I confronted an error code 0x80073712 when making an attempt to put in safety updates on Windows Server 2016. As I discovered later, this error was associated to the broken Windows part retailer. In this text we’ll look on how you can restore the part retailer in Windows 10 or Windows Server 2016/2012 R2 and restore the proper operation of Windows Update service.

When making an attempt to put in updates in Windows Update, an error seems:

Some replace recordsdata are lacking or have issues. We’ll attempt to obtain the replace.
Error code: (0x80073712)

windows update error code 0x80073712 on windows server 2016/windows 10

First, I attempted to reset the Windows Update agent settings and clear the SoftwareDistribution listing as really helpful within the article “”, however it didn’t assist.

Then utilizing the dism /on-line /get-packages command, I checked that every one system updates are within the Installed state.

dism /online /get-packages - get update state

If any updates have Install Pending standing, you possibly can utilizing this DISM command (use your Package Identity string):
DISM.exe /Online /Remove-Package /PackageIdentify:Package_for_KB4520724~31bf3856advert364e35~amd64~~14393.3320.1.1 /quiet /norestart

It took me fairly a very long time to discover a strategy to clear up this Windows Update error, however through the troubleshooting I needed to . During the set up of .Net part with the DISM command, the standard error appeared that gave me the important thing for the additional actions:

The request so as to add or take away options on the required server failed. Installation of a number of roles, position providers or options failed. The part retailer has been corrupted. Error: 0x80073712.

failed to install roles or features on windows server 2016.. The component store has been corrupted 0x80073712

At the identical time, you’ll find the next error in your CBS.log (%WinDirpercentLogsCBSCBS.log):

[HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

As you possibly can see, the part retailer on your laptop has been corrupted for some motive. So Windows Update can not get knowledge from the CBS (Component-Based Servicing) manifest crucial to put in updates. You can recuperate the part retailer utilizing the built-in DISM options.

In the best case, you’ll not want a Windows set up picture (disk) to recuperate the part retailer. Then the system will use the supply part retailer recordsdata on your native disk and Windows Update web site for restoration (the can’t be used to recuperate the part retailer).

First, test your part retailer state with the command:

dism /on-line /cleanup-image /checkhealth

If you see the “part retailer is repairable” message after the evaluation, you possibly can attempt to recuperate your part retailer with the next command:

dism /on-line /cleanup-image /restorehealth

In some instances it is sufficient to do it. But in my state of affairs DISM returned this error:

Error: 0x800f0906
The supply recordsdata couldn't be downloaded.

In this case, to recuperate Windows you want an set up disk together with your Windows distribution. Suppose, you’ve gotten mounted your Windows Server set up ISO file. Then test the record of present Windows editions within the set up.wim file on the mounted picture (disk):

dism /Get-WimInfo /WimFile:e:sourcesinstall.wim

dism /Get-WimInfo from install.wim

I’ve Windows Server 2016 Standard (Desktop Experience) put in, so I’ll use its index (2) within the following command:

dism /on-line /cleanup-image /restorehealth /supply:e:sourcesinstall.wim:2 /LimitAccess

Check the state of the part retailer once more:

Dism /Online /Cleanup-Image /CheckWell being

DISM ought to return: No part retailer corruption detected.

Dism CheckHealth No component store corruption detected

After the part retailer has been recovered, restart Windows and be sure that Windows updates

Check Also

How to Backup Active Directory Domain Controller?

In this text we’ll speak about Active Directory area controller backup and find out how …

Leave a Reply

Your email address will not be published. Required fields are marked *