How to repair "The component store is repairable"?

MiguelRA22 0 Reputation points
2023-09-04T20:01:06.2766667+00:00

Hello everyone!

I've been trying to repair, what seems to be the windows image, without success. I ran a ScanHealth command and it resulted in "the component store is repairable". I've tried a few solutions but have not fixed the issue. I tried the RestoreHealth command and it gave me the error 0x800f081f "The source files could not be found". I then tried using DISM by mounting the windows ISO and specifying the correct index but nothing seems to work. I also ran the sfc /scannow and it didn't find any integrity violation. Is there something else I can try or should I reinstall windows?

I will attach the dism.log file to see if you can help me "decode" it to give me guidance on what to do.

Thanks!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,468 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. S.Sengupta 18,691 Reputation points MVP
    2023-09-05T00:57:15.46+00:00

    If sfc /scannow or, DISM commands fail to correct the issue then go for a Repair installation.

    See also:

    https://www.winhelponline.com/blog/repair-windows-10-using-dism-sfc/

    0 comments No comments

  2. Docs 15,511 Reputation points
    2023-09-05T08:21:23.7133333+00:00

    1)Please uninstall any of these non-Microsoft software:

    a) antivirus

    b) firewall

    c) drive encryption

    .

    .

    2)If using bitlocker > suspend or turn it off

    .

    .

    3)Perform an in place upgrade repair:

    .

    https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html

    https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html

    https://www.microsoft.com/en-us/software-download/windows10

    .

    .

    .

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    .

    .

    .

    0 comments No comments

  3. Juan Sobrado - MSFT 421 Reputation points Microsoft Employee
    2023-09-06T19:42:16.76+00:00

    Hello @MiguelRA22

    Upon checking the dism.log, I noticed a small error in the syntax of the DISM command. It was logged as:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:C:\w10\Sources\install.wim
    

    Copy

    The correct command should be:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:C:\w10\Sources\install.wim:1
    

    Copy

    Note: Make sure that the index number matches the edition of your Windows OS. For more information about checking image indexes, see article https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/take-inventory-of-an-image-or-component-using-dism?view=windows-11#list-images-that-are-contained-in-a-wim-or-vhd-file on taking inventory of an image or component using DISM.

    Best regards.

    Juan S.


    If you found my response helpful, please consider upvoting it. This will help other users with similar questions find the answer more easily. Thank you for your support!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.