DISM - RESTORE HEALTH ISSUES

Karel Grulich 15 Reputation points
2025-07-24T20:59:51.0233333+00:00

Hello,

When I run SFC /scannow I get a message that some files are corrupted but can be repaired. When I run the command Dism /Online /Cleanup-Image /RestoreHealth I get a message that it cannot find the source. I've tried any other suggestions according to this article below but no luck. Can anyone assist me with this?

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-11&source=recommendations

Screenshot (128)

Windows for business | Windows Server | Devices and deployment | Other
0 comments No comments
{count} votes

10 answers

Sort by: Most helpful
  1. Beatrix 1,350 Reputation points Independent Advisor
    2025-07-25T15:59:39.18+00:00

    Hi Karel,

    Hope you're doing well.

    It seems that some corruption was detected in the component store. This can often be resolved by running the RestoreHealth command with a healthy source, such as the original Windows ISO. You can follow the steps below:

    Open Command Prompt as Administrator

    Run the following command:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:<path_to_wim_or_esd_file> /LimitAccess

    Hope this helps and let me know how it goes!


  2. BryceSor 3,890 Reputation points Volunteer Moderator
    2025-07-26T03:37:55.05+00:00

    Hi Karel Grulich,

    Make sure your Windows edition is the same as the source,

    User's image

    so you need the number after wim:6 which is this case is for Pro

    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:F:\Sources\install.wim:6 /LimitAccess

    You can also copy the wim file/folder to C:\ if it easier.


  3. Docs 16,711 Reputation points
    2025-07-26T22:28:50.7466667+00:00
    0 comments No comments

  4. BryceSor 3,890 Reputation points Volunteer Moderator
    2025-07-28T21:24:28.0566667+00:00

    Did you download from here and which one did you download, do a screen shot and mark the part you downloaded. https://www.microsoft.com/en-us/evalcenter

    0 comments No comments

  5. Karel Grulich 15 Reputation points
    2025-07-29T14:46:56.2533333+00:00

    Yes, all the servers are fully licensed and functional. It's just that this specific server shows the sfc error as posted here. I downloaded the eval ISO (see screenshot), it is Windows server 2025. See output of DISM command

    Screenshot (133)

    Screenshot (134)

    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.