Unable to install Service Stack Update due to Error 80073712

kalel1983

Member
Joined
Mar 27, 2023
Posts
8
Hello,

Trying to install 2023-03 Servicing Stack Update (KB5023790) for Windows Server 2012 R2 but keeps failing. The monthly security update installed without any issue. I've attached logs as instructed.
 

Attachments

Hello and welcome,

Provide the 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. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
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 Gofile or WeTransfer and just provide the link here.


Option#2 (only if you are unable to follow the previous instructions)

  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5018922
  4. Let me know if it says it was successful or if there are any errors.
 
Step 1:
Follow the instructions below please.

WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system.
  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFixScript.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
    1p8eDnI.gif
  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Open the file, then copy and paste its content in your next reply.

Step 2:
Restart the computer.
Run the command sfc /scannow in an elevated commandprompt and report the result.
If it fails, copy the file C:\Windows\Logs\CBS\cbs.log to your desktop. Zip the copied file and attach the zipped cbs.log to your next reply.
 

Attachments

Output from SFCFix:

SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-03-29 08:07:50.667
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\Users\aagregoryjj\Desktop\SFCFixScript.txt [0]

RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.3.9600.20617 (winblue_ltsb_escrow.220914-1740)\ComponentFamilies\amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_none_dc5ce04847bbc5ab\v!6.3.9600.20617.

WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.3.9600.20617 (winblue_ltsb_escrow.220914-1740)\ComponentFamilies\amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_none_dc5ce04847bbc5ab\v!6.3.9600.20617.

Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.3.9600.20617 (winblue_ltsb_escrow.220914-1740)\ComponentFamilies\amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_none_dc5ce04847bbc5ab\v!6.3.9600.20617.

Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.3.9600.20617 (winblue_ltsb_escrow.220914-1740)\ComponentFamilies\amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_none_dc5ce04847bbc5ab\v!6.3.9600.20617.
RegistryScript:: directive completed successfully.

Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2023-03-29 08:08:24.231
Script hash: 7ZLH0TgcRryPZEeFnhuqbdY476nVuBb+dxdvs4tBq+I=
----------------------EOF-----------------------

Result from SFC Scannow

1680095265409.png
 
Try to install KB5023790 again and report the result.
If it fails attach the file cbs.log to your next reply.
 
That worked. Thanks. Can you tell me which log I sent to you gave you the info regarding what needed to be fix/restored and which specific line in the log? I'm trying to learn more about this kind of stuff.
 
The cbs.log shows this error:
Code:
2023-03-27 08:32:29, Error                 CSI    00000025@2023/3/27:12:32:29.930 (F) base\wcp\componentstore\versionedindex.cpp(3568): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
  MissingWinningComponentKey on resource [100]"amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_6.3.9600.20617_none_109b9c11b02cbb57"[gle=0x80004005]
...
2023-03-27 08:32:30, Error                 CSI    00000026 (F) STATUS_SXS_COMPONENT_STORE_CORRUPT #16989# from CCSDirectTransaction::OperateEnding at index 0 of 11 (0x000000000000000b) operations, disposition 0[gle=0xd015001a]
2023-03-27 08:32:30, Error                 CSI    00000027 (F) HRESULT_FROM_WIN32(14098) #16564# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddComponents(Flags = 4, a = @0x67a846c0c0, mp = @0x67a846c8c0, disp = 0)[gle=0x80073712]
2023-03-27 08:32:30, Info                  CBS    Failed to add one or more component [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

The registry keys found in the COMPONENTS hive and related to the one mentioned in the cbs.log looks normal except for the registry value we removed.
Hope that helps.
 

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

Back
Top