Storarge Server 2012 Essentials - Monthly rollup updates fail

lumi

Member
Joined
Jul 11, 2018
Posts
11
Hi Sysnatives,

I'm no longer able to install the monthly updates on this server, DISM always reports the component store corruption was repaired every run, but all other steps show no problem. I've attached the CBS. Could I get assistance with this?

Thanks!


View attachment CBS.zip
 
Code:
2018-07-11 15:59:31, Error                 CSI    0000000c (F) HRESULT_FROM_WIN32(14098) #199043# 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]
2018-07-11 15:59:31, Info                  CBS    Failed to EnumerateComponentDeployment, component: amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.3.9600.17031_none_01dac51388a3a832 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2018-07-11 15:59:31, Info                  CBS    Failed to load component owners on component: amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_0.0.0.0_none_90e203f5b55a04b8, version: 6.3.9600.17031 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

Export Component Based Servicing

  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. 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\
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  7. Right Click on the ComponentBasedServicing file on your Desktop and choose Send To -> Compressed (Zipped) Folder.

Once done please upload ComponentBasedServicing.zip via DropBox OneDrive or SendSpace
 
Glad to help :)

Please manually upload the components hive by following these instructions:

Upload Components Hive
  1. Navigate to C:\Windows\System32\config
  2. Right-click on the current COMPONENTS file and select copy
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  3. Right-click on your Desktop and select paste
  4. Right-click on the COMPONENTS file on your Desktop and select Send To -> Compressed (zipped) Folder
  5. Upload the zip from your Desktop to a file sharing service such as DropBox, OneDrive, SendSpace, etc. and include the link with your reply.
 
Let's try the following:

Install Update with DISM

  1. Download the update MSU here: Download Windows Server 2012 R2 Update (KB2919355) from Official Microsoft Download Center
  2. Copy the MSU file to a convenient location (such as C:\temp).
  3. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  4. When you see Command Prompt on the list, right-click on it and select Run as administrator
  5. When command prompt opens, copy and paste the following commands into it, press enter after each

    cd C:\temp

    replace C:\temp with your path if different

    expand {update name}.msu -f:* C:\temp

    replace {update name} with the name of the MSU file downloaded in step 1

    DISM.exe /Online /Add-Package /PackagePath:C:\temp\{update name}.cab

  6. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now (Y/N)?

  7. Make sure to allow the computer to restart if prompted.

    If you receive any other message:
  8. Right-click on the Command Prompt window and click Select All, this will invert all of the colours by selecting the text, now press enter. All of this text is now copied.
  9. Paste (Ctrl+V) it into your next post.
  10. Zip and attach C:\Windows\Logs\CBS\CBS.log
 
Failed :(

C:\tempini>dism /online /add-package /packagepath:c:\tempini\Windows8.1-KB291935
5-x64.cab
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Processing 1 of 1 -
An error occurred - Package_for_KB2919355 Error: 0x80073712
Error: 14098
The component store has been corrupted.
The DISM log file can be found at C:\windows\Logs\DISM\dism.log
C:\tempini>

View attachment CBS.zip
 
Looks like the appid is missing from the deployment.
Let's see if that fixes it.

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.

View attachment SFCFix.zip

Once complete, try installing the update with DISM again.
If it fails, zip and attach the CBS log as before.
 
This is actually progress, a new key is listed :)

Code:
2018-07-17 15:33:31, Error                 CSI    0000000c (F) HRESULT_FROM_WIN32(14098) #423321# 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]
2018-07-17 15:33:31, Info                  CBS    Failed to EnumerateComponentDeployment, component: amd64_microsoft-windows-i..resources.resources_31bf3856ad364e35_11.0.9600.18350_en-us_3f2ff07ffa8fc224 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2018-07-17 15:33:31, Info                  CBS    Failed to load component owners on component: amd64_microsoft-windows-i..resources.resources_31bf3856ad364e35_0.0.0.0_en-us_bb65c196182093de, version: 11.0.9600.18350 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]


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.

View attachment SFCFix.zip

Once complete, try installing the update with DISM again.
If it fails, zip and attach the CBS log as before.
 
Progress indeed! DISM completed successfully!
I had no prompt to restart, so I immediately attempted kb4284815, which failed. Maybe I should restart the server first?
CBS for kb4284815 on dropbox:
Dropbox - CBS.zip
 
Code:
2018-07-17 16:37:51, Error                 CSI    0000000e (F) HRESULT_FROM_WIN32(14098) #1791894# 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]
2018-07-17 16:37:51, Info                  CBS    Failed to EnumerateComponentDeployment, component: amd64_microsoft-windows-m..console-nodemanager_31bf3856ad364e35_6.3.9600.17415_none_713ab83df4c5c51c [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2018-07-17 16:37:51, Info                  CBS    Failed to load component owners on component: amd64_microsoft-windows-m..console-nodemanager_31bf3856ad364e35_0.0.0.0_none_00284e88218fff8c, version: 6.3.9600.17415 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

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.

View attachment SFCFix.zip

Once complete, try installing the update with DISM again.
If it fails, zip and attach the CBS log as before.
 
Success! The server now has all windows updates applied. Thank you so much!

I'm running a Dism /Online /Celanp-Image /RestoreHealth to see if it is still reporting any more Component store corruption. Is there anything else you would recommend?
 
C:\windows\system32>Dism /Online /Cleanup-Image /RestoreHealth
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
repaired.
The operation completed successfully.
C:\windows\system32>Dism /Online /Cleanup-Image /RestoreHealth
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
repaired.
The operation completed successfully.
C:\windows\system32>

I restarted the server after applying updates and then ran this. It seems there is still some issues. Do you have any recommendation about this?
CBS:
 
Code:
2018-07-18 11:54:54, Info                  CSI    00000013@2018/7/18:15:54:54.251 Corruption detection complete. numCorruptions = 0, Disp = 1.
2018-07-18 11:54:54, Info                  CBS    Repr: CSI meta data corruption found, will commit repair transaction if repair is asked.
2018-07-18 11:54:54, Info                  CBS    Repr: CSI Store check completes
2018-07-18 11:54:54, Info                  CBS    Exec:Only CSI metadata corruption found, Process CSI repair.
2018-07-18 11:54:54, Info                  CSI    00000014 Creating NT transaction (seq 3), objectname [6]"(null)"
2018-07-18 11:54:54, Info                  CSI    00000015 Created NT transaction (seq 3) result 0x00000000, handle @0x43c
2018-07-18 11:54:54, Info                  CSI    00000016@2018/7/18:15:54:54.254 Beginning NT transaction commit...
2018-07-18 11:54:54, Info                  CSI    00000017@2018/7/18:15:54:54.260 CSI perf trace:
CSIPERF:TXCOMMIT;6164
2018-07-18 11:54:54, Info                  CSI    00000018 StoreCorruptionRepair transaction completed.
2018-07-18 11:54:54, Info                  CBS    Repr: Finished repairing CSI store.
2018-07-18 11:54:54, Info                  CBS    Ensure CBS corruption flag is clear
2018-07-18 11:54:54, Info                  CBS    Ensure WCP corruption flag is clear
2018-07-18 11:54:54, Info                  CBS    
=================================
Checking System Update Readiness.


Summary:
Operation: Detect and Repair 
Operation result: 0x0
Last Successful Step: Entire operation completes.
Total Detected Corruption:	0
	CBS Manifest Corruption:	0
	CBS Metadata Corruption:	0
	CSI Manifest Corruption:	0
	CSI Metadata Corruption:	0
	CSI Payload Corruption:	0
Total Repaired Corruption:	0
	CBS Manifest Repaired:	0
	CSI Manifest Repaired:	0
	CSI Payload Repaired:	0
	CSI Store Metadata refreshed:	True

Total Operation Time: 392 seconds.

2018-07-18 11:54:54, Info                  CBS    SQM: CheckSur: hrStatus: 0x0 [S_OK], download Result: 0x0 [S_OK]
2018-07-18 11:54:54, Info                  CBS    Count of times corruption detected: 0

Looks okay :)

SFC Scan

  1. Click on the Start
    Start%20Orb.jpg
    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 commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt

  4. This will create a file, cbs.txt on your Desktop. Please zip and attach this to your next post.
 
Code:
2018-07-18 11:54:54, Info                  CSI    00000013@2018/7/18:15:54:54.251 Corruption detection complete. numCorruptions = 0, Disp = 1.
2018-07-18 11:54:54, Info                  CBS    Repr: CSI meta data corruption found, will commit repair transaction if repair is asked.
2018-07-18 11:54:54, Info                  CBS    Repr: CSI Store check completes
2018-07-18 11:54:54, Info                  CBS    Exec:Only CSI metadata corruption found, Process CSI repair.
2018-07-18 11:54:54, Info                  CSI    00000014 Creating NT transaction (seq 3), objectname [6]"(null)"
2018-07-18 11:54:54, Info                  CSI    00000015 Created NT transaction (seq 3) result 0x00000000, handle @0x43c
2018-07-18 11:54:54, Info                  CSI    00000016@2018/7/18:15:54:54.254 Beginning NT transaction commit...
2018-07-18 11:54:54, Info                  CSI    00000017@2018/7/18:15:54:54.260 CSI perf trace:
CSIPERF:TXCOMMIT;6164
2018-07-18 11:54:54, Info                  CSI    00000018 StoreCorruptionRepair transaction completed.
2018-07-18 11:54:54, Info                  CBS    Repr: Finished repairing CSI store.
2018-07-18 11:54:54, Info                  CBS    Ensure CBS corruption flag is clear
2018-07-18 11:54:54, Info                  CBS    Ensure WCP corruption flag is clear
2018-07-18 11:54:54, Info                  CBS    
=================================
Checking System Update Readiness.


Summary:
Operation: Detect and Repair 
Operation result: 0x0
Last Successful Step: Entire operation completes.
Total Detected Corruption:	0
	CBS Manifest Corruption:	0
	CBS Metadata Corruption:	0
	CSI Manifest Corruption:	0
	CSI Metadata Corruption:	0
	CSI Payload Corruption:	0
Total Repaired Corruption:	0
	CBS Manifest Repaired:	0
	CSI Manifest Repaired:	0
	CSI Payload Repaired:	0
	CSI Store Metadata refreshed:	True

Total Operation Time: 392 seconds.

2018-07-18 11:54:54, Info                  CBS    SQM: CheckSur: hrStatus: 0x0 [S_OK], download Result: 0x0 [S_OK]
2018-07-18 11:54:54, Info                  CBS    Count of times corruption detected: 0

Looks okay :)

SFC Scan

  1. Click on the Start
    Start%20Orb.jpg
    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 commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt

  4. This will create a file, cbs.txt on your Desktop. Please zip and attach this to your next post.
 
Very good, should be all clear :thumbsup2:

Does everything appear to be functioning as expected at this point?
 
Everything seems to be working fine, except the
Dism /Online /Cleanup-Image /RestoreHealth command still always reports "The component store corruption was repaired."

Maybe I leave good enough be?

Patient: It hurts when I do this.
Doctor: Don't do that.

 
Has the machine been restarted since the last DISM run? If not, try that and run DISM once it has started up to see if corruption is still reported.
 

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

Back
Top