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

Error code 0073712 occurred during the installation of security updates on the Windows 2016 server. As I later discovered, this error was due to a damaged Windows component memory. In this article we look at how we can repair the Component Store of Windows 10 or Windows Server 2016/2012 R2 and how we can make the Windows Update service work again.

You get an error when you try to install updates in Windows Update :

Some update files are missing or have problems. Let’s try downloading the update.
Error code: ( 0073712)windows update error code 0073712 on windows server 2016/windows 10 windows update error code 0073712 on windows server 2016/windows 10

I first tried to reset the Windows Update Agent and delete the SoftwareDistribution directory, but it didn’t work.

Next I used the command dism /online /get-packages to check if all system updates are in the Installed state.

 

If the updates have the status ‘Install pending’, you can properly uninstall them using this DISM command (use the packet identifier string):
DISM.exe /Online /Remove-Package /PackageName : Package_for_KB4520724~31bf3856ad364e35~amd64~~~14393.3320.1.1 /quiet /norestart

It took me a while to find a way to fix this Windows Update error, but I had to install the .Net Framework 3.5 on Windows Server 2016 during my troubleshooting. During the installation of the .Net component with the DISM command, a typical error occurred which gave me the key to continue:

A request to add or remove functions on the specified server failed. One or more roles, services or functions could not be determined. The component warehouse is damaged. Error: 0073712.failed to install roles or functions on the Windows 2016 server … Corrupted storage of components 0073712 could not install roles or features on Windows Server 2016 … Damaged component memory 0073712

At the same time you will find the following error in the CBS.log file (%WinDir%LogsCBSCBS.log) :

[HRESULT = 0073712 – ERROR_SXS_COMPONENT_STORE_CORRUPT].

As you can see, your computer’s component memory has been damaged for some reason. As a result, Windows Update is unable to retrieve the manifest data from CBS (Component-Based Servicing) needed to install the updates. The component memory can be restored using the built-in DISM functions.

In the simplest case, you do not need a Windows installation image (disk) to restore the component archive. The system will then use the component repository source files on your local hard drive and the Windows Update website to restore them (the local WSUS server cannot be used to restore the component repository).

First check the status of the component memory with the command :

Removing/cleaning images/health monitoring

If the message Component Store to be repaired appears after the analysis, try repairing the Component Store with the following command:

Removing/cleaning images/health restoration

In some cases, that’s enough. But in my situation, the DISM sent this error back:

Error: 00f0906 Source files could not be loaded.

In this case, you need the installation disk with the Windows distribution to restore Windows. Suppose you have linked your Windows Server installation ISO file. Then check the list of current Windows versions in the install.wim file on the mounted image (disk):

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

 

I installed Windows Server 2016 Standard (Desktop Experience), so I will use the index (2) in the next command:

logout /online /leanup-image /restore-health /source:e:sourcesinstall.wim:2 /LimitAccess

Check the component memory status again:

Disassembly / Online / Cleaning Image / Health check

The ORSM should be back by now: No damage to the bearing of the part has been observed.

 

After restoring the component archive, restart Windows and make sure the Windows updates

Related Tags:

" cbs called error with 0x80073712",windows 10 update agent version,dism error 14098 server 2012 r2,0x80073712 error for windows update,some updates are missing,reset windows update agent tool download,cbs called error with 0x80073712,kb 80073712,install error 0x800711c7,update error,error code 80073712 windows 8,0x800737712,how to fix some update files are missing,run deployment image servicing tool,kb4528760 error 0x80073712,0x80073712 2019 05,dism error 80073712,kb4474419 error 80073712,code80073712,error code 0x80073712 2019,ox80073712,kb4549951 error 0x80073712,reset windows update history,ten forums reset windows update,unable to install windows updates, error code 0x80073712,fix windows update error 80073712 in windows 7,windows 7 80073712 fix,windows 7 update error 0x80073712,error code 0x80073712 server 2016,windows update troubleshooter server 2012