1.    05 May 2017 #1

    Component store has been corrupted. (0x80073712) and Error: 14098


    Windows Server 2012R2 Essentials
    RE: StartComponentCleanup Task fails
    DISM giving contradictory results

    My StartComponentCleanup task in Tasks Scheduler was failing with the error:
    Last Run Result: The component store has been corrupted. (0x80073712).

    The task is located in Task Sheduler under Microsoft, Windows, Servicing

    No problem, I thought - over to elevated command prompt and DISM.


    >DISM /Online /Cleanup-Image /ScanHealth
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    [==========================100.0%==========================]
    No component store corruption detected.
    The operation completed successfully.


    OK Great, should be ready to clean.


    >DISM /Online /Cleanup-Image /StartComponentCleanup
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    [==========================100.0%==========================]
    Error: 14098
    The component store has been corrupted.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

    Odd, letís fix that up.

    >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.

    Letís be safe and re-scan.

    >DISM /Online /Cleanup-Image /ScanHealth
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    [==========================100.0%==========================]
    No component store corruption detected.
    The operation completed successfully.


    And on to cleanup


    >DISM /Online /Cleanup-Image /StartComponentCleanup
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    [==========================100.0%==========================]
    Error: 14098
    The component store has been corrupted.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


    Iím totally at a loss. How can it report as non-corrupted, repaired and corrupted all in quick succession????
    Unsure how to fix. Windows Updates works fine and we have no other symptoms except that the StartComponentCleanup Task always fails as explained above.

    Thank You.


    =========================

    I don't see an obvious solution it the log files. Can anyone help analyze these (short) log files? Thank You!

    I have attached:

    Fresh Log Files generated after this command with corrupt message: DISM /Online /Cleanup-Image /StartComponentCleanup
    CBS [StartComponentCleanup].log CBS [StartComponentCleanup].log
    dism [StartComponentCleanup].og dism [StartComponentCleanup].log

    Fresh Log Files generated after this command with success message: Dism /Online /Cleanup-Image /RestoreHealth
    CBS [RestoreHealth].log CBS [RestoreHealth].log
    dism [RestoreHealth].log dism [RestoreHealth].log
      My ComputerSystem Spec
  2.    05 May 2017 #2
    Join Date : Mar 2017
    Posts : 471
    Win 10 Pro 15063.332 (ex-Insider)

    Hi Intrepid1,

    I see you have posted your issue in a multitude of online forums so I am hoping someone can help you; however, I do not think I can personally help you; however, even though you presented your issue very well, I don't see where you posted the specific issue it was causing (if any). With that said, have you considered trying to run the component store cleanup with the /ResetBase switch?:

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

    Please understand I am not advising you to do that. I was just curious if you tried it with the same result.

    Good luck,

    WOT

      My ComputersSystem Spec
  3.    05 May 2017 #3

    Thanks for responding. I see you get around. :-)

    This is the only symptom:

    My StartComponentCleanup task in Tasks Scheduler was failing with the error:
    Last Run Result: The component store has been corrupted. (0x80073712).
    The task is located in Task Scheduler under Microsoft, Windows, Servicing.

    Yes, I have considered /ResetBase If I do try it, I will need to do it over a weekend after a full server backup image is completed. However, I expect it won't complete and will result in the same error as the command: DISM /Online /Cleanup-Image /StartComponentCleanup

    The fact that the ComponentCleanup task won't work anymore doesn't appear to be serious. The WinSxS folder will grow over the years - not a big deal. Older Windows didn't even have ComponentCleanup tasks. Just concerned this issue could get worse. Microsoft reports that Error 0x80073712 means "The component store is in an inconsistent state." However, the log after the command DISM /Online /Cleanup-Image /RestoreHealth shows no errors found!

    Just trying to see if there is a solution to this issue. I have found others with the same exact issue (not necessarily same cause of course).

      My ComputerSystem Spec
  4.    05 May 2017 #4
    Join Date : Mar 2017
    Posts : 471
    Win 10 Pro 15063.332 (ex-Insider)

    OK, thanks for identify the task scheduler failure as the reason for your concern. Who knows, with that additional information, maybe someone here can help you. Good luck with the /resetbase if you try it.

    regards,

    WOT
      My ComputersSystem Spec
  5.    05 May 2017 #5

    -------------------------------------------------------------------------
    SOLUTION: Antivirus Conflict
    It was ESET File Security for Microsoft Windows Server v.6.3.12010.0
    Added an exclusion for C:\Windows\WinSxS
    Also added an exclusion for process dism.exe
    -------------------------------------------------------------------------
      My ComputerSystem Spec
  6.    05 May 2017 #6
    Join Date : Mar 2017
    Posts : 471
    Win 10 Pro 15063.332 (ex-Insider)

    Quote Originally Posted by Intrepid1 View Post
    -------------------------------------------------------------------------
    SOLUTION: Antivirus Conflict
    It was ESET File Security for Microsoft Windows Server v.6.3.12010.0
    Added an exclusion for C:\Windows\WinSxS
    Also added an exclusion for process dism.exe
    -------------------------------------------------------------------------
    WOW, nice work! Glad you got it sorted.

    Regards,

    WOT
      My ComputersSystem Spec
  7.    05 May 2017 #7

    Thanks WOT.
      My ComputerSystem Spec
  8.    13 Aug 2017 #8
    Join Date : Jul 2016
    Posts : 68
    Windows 10 Home 64bits

    I'm using Windows Security Defender, how to exclude WinSxS folder, because it only excludes files.

    Quote Originally Posted by Intrepid1 View Post
    -------------------------------------------------------------------------
    SOLUTION: Antivirus Conflict
    It was ESET File Security for Microsoft Windows Server v.6.3.12010.0
    Added an exclusion for C:\Windows\WinSxS
    Also added an exclusion for process dism.exe
    -------------------------------------------------------------------------
      My ComputerSystem Spec
  9.    13 Aug 2017 #9

    Even with the Antivirus exclusions, the issue would come and go. I left the task disabled. Once a month after every windows update and about a half hour after a fresh boot, I would run the following commands from an elevated (administrator) command prompt. Most of the time it works, especially after a reboot. This really only needs to be run a few times a year as it just keeps your Component Store smaller and clean of obsolete updates. In fact, Component Cleanup didn't even exist as an automated task before Server 2012 / Windows 8.

    Dism /Online /Cleanup-Image /RestoreHealth

    And then Run Cleanup:

    DISM /Online /Cleanup-Image /StartComponentCleanup

    If Cleanup fails with a corruptoin message, run this again:
    Dism /Online /Cleanup-Image /RestoreHealth

    And try the whole process again after the next windows update and reboot.
    Last edited by Intrepid1; 13 Aug 2017 at 15:24.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Udpate KB4015217 causes error 0x80073712 and fails
Hi, I'm trying to install the update KB4015217 and get the error 0x80073712 while that.What I already tried to fix that:1. Dism Imagerepair -> Win could be repaired2. sfc /scannow -> no errors3.Disabled Antivirus (Kaspersky) during install 4....
Windows Updates and Activation
Performance & Maintenance Clean Up Component Store (WinSxS folder) in Windows 10
How to Clean Up Component Store (WinSxS folder) in Windows 10 One commonly asked question is can I delete the WinSxS folder to regain some disk space? The short answer is no. However, there are ways to reduce the size of the WinSxS folder. The...
Tutorials
Performance & Maintenance Analyze Component Store (WinSxS folder) in Windows 10
How to Analyze Component Store (WinSxS folder) in Windows 10 One commonly asked question is can I delete the WinSxS folder to regain some disk space? The short answer is no. However, there are ways to reduce the size of the WinSxS folder. The...
Tutorials
Udpate KB4015217 causes error 0x80073712
Moved this post to here: Udpate KB4015217 causes error 0x80073712 and fails - - Windows 10 Forums
Windows Updates and Activation
KB3194496 - Corrupts Component Store?
Hi. I've been trying to install update KB3194496, but without success. Before installing it, DISM /CheckHealth reports "No component store corruption detected.". When trying to install the update, DISM aborts giving the error code 0x80073712...
Windows Updates and Activation
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:34.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums