[SOLVED] Windows Server 2012 R2 Corrupt Files Unrepairable

Erisian

Member
Joined
Apr 4, 2022
Posts
10
Hello, I am having a horrible time trying to get the March Security Rollup (KB5011564) to install on a server running 2012 R2, this is a virtual server, and a Citrix golden image, so it's kind of important that it be up to date.

This is the result of running SFCFix
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-04 12:27:08.694
Microsoft Windows Server 2012 R2 Update 3 - amd64
Not using a script file.




AutoAnalysis::
CORRUPT: C:\Windows\winsxs\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll
CORRUPT: C:\Windows\winsxs\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll


SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 2
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 0
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2022-04-04 13:02:24.697
----------------------EOF-----------------------


These are the CBS logs: CBS.zip
This is the COMPONENTS file: COMPONENTS.zip

Any assistance would be greatly appreciated, I do have access to the original install media.
 
SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.
 

Attachments

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-12 16:59:57.860
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at C:\SFCFix\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll

Successfully copied file C:\Users\ldcaltana\AppData\Local\niemiro\Archive\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll to C:\Windows\WinSxS\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll.
Successfully copied file C:\Users\ldcaltana\AppData\Local\niemiro\Archive\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll to C:\Windows\WinSxS\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll.

Successfully restored ownership for C:\Windows\WinSxS\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll
Successfully restored permissions on C:\Windows\WinSxS\x86_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_fb5f820bf43d7082\System.Web.dll
Successfully restored ownership for C:\Windows\WinSxS\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll
Successfully restored permissions on C:\Windows\WinSxS\amd64_system.web_b03f5f7f11d50a3a_6.3.9600.21301_none_b3b24b34dfc1477c\System.Web.dll
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-04-12 16:59:58.425
Script hash: JwS0cWHPSnXasR3TIfB1i1oKTU/8TJhsD1gODZj2dk0=
----------------------EOF-----------------------
 
Could you please open an elevated command prompt and then run the following command:

Code:
sfc /scannow

If it fails, then please post the CBS log, otherwise please attempt an update again.
 
SFC reported clean, 4 updates report available, 2 failed, 2 succeeded. Messages below.
Code:
Install
Object: 2022-03 Cumulative Security Update for Internet Explorer 11 for Windows Server 2012 R2 for x64-based systems (KB5011486)
Status: Success
Details: Successfully installed. 

Install
Object: 2022-03 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5011564)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-03 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB5011560)
Status: Failure
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: Windows Malicious Software Removal Tool x64 - v5.99 (KB890830)
Status: Success
Details: Successfully installed.

Second WU Run, 7 updates report available, 3 failed, 4 succeeded.
Code:
Install
Object: 2022-03 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5011564)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-03 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB5011560)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-04 Security and Quality Rollup for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 for Windows Server 2012 R2 for x64 (KB5012331)
Status: Success
Details: Successfully installed. 

Install
Object: 2022-04 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5012670)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-04 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB5012639)
Status: Success
Details: Successfully installed. 

Install
Object: 2022-04 Security Only Update for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 for Windows Server 2012 R2 for x64 (KB5012326)
Status: Success
Details: Successfully installed. 

Install
Object: Windows Malicious Software Removal Tool x64 - v5.100 (KB890830)
Status: Success
Details: Successfully installed.

Third WU Run, 3 updates report available, 3 failed.
Code:
Install
Object: 2022-03 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5011564)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-03 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB5011560)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-04 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5012670)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712

CBS Files: CBS-2022-04-13-1021.zip

Running SFCFix after attempting WU produced this result
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-13 10:23:00.491
Microsoft Windows Server 2012 R2 Update 3 - amd64
Not using a script file.




AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-04-13 10:47:41.839
----------------------EOF-----------------------

But, the DISM output reported this
Code:
Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
 repaired.
The operation completed successfully.

So SFCFix and the DISM command it calls are saying two different things.
 
So SFCFix and the DISM command it calls are saying two different things.
That's because SFCFix and DISM will detect and repair different issues. Since DISM has supposedly fixed some corruption, could you please try and update again? If it fails, then please your latest CBS log.
 
Here's the situation that I'm dealing with, and the problem I can't solve.

Code:
Install
Object: 2022-03 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5011564)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-03 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB5011560)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712 

Install
Object: 2022-04 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB5012670)
Status: Failed
Details: Install failed. The component store has been corrupted HRESULT: 0x80073712

This happened after the DISM run. This happens every time I try.

When I attempt to run DISM manually, this is the result. Y: is mapped to a known good install of Windows Server 2012 R2.

Code:
C:\>dism /online /cleanup-image /restorehealth /source:Y:\Windows

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
 repaired.
The operation completed successfully.

C:\>dism /online /cleanup-image /restorehealth /source:Y:\Windows

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
 repaired.
The operation completed successfully.

C:\>dism /online /cleanup-image /restorehealth /source:Y:\Windows

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
 repaired.
The operation completed successfully.

Every time DISM is run to repair, it reports the repair succeeded.
Every time I attempt to install updates, they fail.

CBS Files: CBS-2022-04-14-0820.zip
 
Rich (BB code):
2022-04-14 08:11:29, Error                 CSI    00000024 (F) HRESULT_FROM_WIN32(14098) #11115652# from Windows::ServicingAPI::CCSITransactionAnalysis_ICSIInventory::EnumComponentsDeployments(flags = (ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_INCLUDE_PINNED|ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_INCLUDE_INSTALLED|ICSIINVENTORY_ENUMCOMPONENTSDEPLOYMENTS_FLAG_ASSEMBLY_NOT_FOUND_RETURNS_NULL), cComponents = 1)
[gle=0x80073712]
2022-04-14 08:11:29, Info                  CBS    Failed to EnumerateComponentDeployment, component: wow64_microsoft-windows-lsa-minwin_31bf3856ad364e35_6.3.9600.16408_none_38d92e689a61b289 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-14 08:11:29, Info                  CBS    Failed to load component owners on component: wow64_microsoft-windows-lsa-minwin_31bf3856ad364e35_0.0.0.0_none_c7b8dd20c736d686, version: 6.3.9600.16408 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2022-04-14 08:11:29, Info                  CBS    Failed to load current component state [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

Okay, I know what the issue is, could you please provide both your COMPONENTS hive and your CBS hive using the following instructions:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to a file sharing service. Examples of services to upload to are Dropbox or OneDrive or SendSpace and then just provide the link in your reply.

Export CBS hive
  • Click on the Start button and in the search box, type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (.).
  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send To -> Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload to Dropbox or OneDrive or SendSpace and just provide the link here.
 
Could you please provide your CBS hive as a hive file rather than a .reg?
 
Thank you, could you please follow these instructions:

SFCFixScript.txt
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.[/list]
 

Attachments

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-04-18 16:23:12.355
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\SFCFix\SFCFixScript.txt [0]




RegistryScript::
Failed to import registry key HKEY_LOCAL_MACHINE\C\CanonicalData\Deployments\b3cac1e8447..1508d68520e_31bf3856ad364e35_6.3.9600.16408_8ac7e2dd568d806c. A root key cannot be created under this hive.
RegistryScript:: directive failed to complete successfully.




Failed to process all directives successfully.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-04-18 16:23:12.371
Script hash: +3PcbQ7ZG2QLrC12/wPAqW0nSdOdO9+hJRHEkqet6UM=
----------------------EOF-----------------------
 
Apologises! Please find the corrected version attached.

If it imports successfully, then please try Windows Update again and attach the CBS log if it fails.
 

Attachments

That fixed it.

Thank you very much, and thank you for sticking with me, I really appreciate the effort. I'm stuck in a situation where I actually cannot create a new golden image, so I'm stuck with this thing, now I can keep it security compliant.
 
No problem, glad it seems to be updating correctly now and at least you'll be able to install the latest security patches at least.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top