Need Help Using DISM Restorehealth from a mounted ISO file source

Rachel Sampson 50 Reputation points
2026-02-04T00:46:09.57+00:00

I am trying to repair corruption on my computer but the using the normal dism restorehealth command failed saying it couldn't find the source. I downloaded from the link under "Create Windows 11 Installation Media" From the Microsoft website. I went through the setup and chose to create an ISO. I mounted that ISO as a virtual device, then used the command

DISM /online /Cleanup-Image /RestoreHealth /Source:esd:F:\Sources\Install.esd:1and got the same error. Can someone please help me?

Edit: I tried after closing file explore in case that might be interfering somehow and got a new error. In the dism log there were errors saying

DISM API: PID=36844 TID=34132 Time_InternalToPublic failed - Time_InternalToPublic(hr:0x80070057)

Windows for home | Windows 11 | Recovery and backup
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Q&A Assist
    2026-02-04T00:46:18.8833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To use DISM with a mounted ISO file as a source for the RestoreHealth command, ensure that you are using the correct syntax and that the source file is accessible. Here are some steps to help you troubleshoot the issue:

    1. Verify the Mount Point: Ensure that the ISO is correctly mounted and that the drive letter (in your case, F:) is correct. You can check this by opening File Explorer and confirming that the contents of the ISO are accessible.
    2. Correct Command Syntax: The command you provided seems to have a small syntax error. The correct format for using an ESD file should look like this:
         DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:F:\Sources\Install.esd:1
      
      Make sure to include a space after esd: and ensure that the path is correct.
    3. Use the Correct Index: If the ESD file contains multiple images, ensure that the index number (the :1 part) corresponds to the correct version of Windows you want to restore. You can list the available images in the ESD file using the following command:
         DISM /Get-WimInfo /WimFile:F:\Sources\Install.esd
      
      This will show you the available indexes and help you choose the correct one.
    4. Check for Updates: Ensure that your Windows installation is updated. Sometimes, the repair process may fail if the target OS is patched to a higher level than the source.
    5. Use Windows Update as a Source: If the above steps do not work, you can try running the command without specifying a source, allowing DISM to fetch files from Windows Update:
         DISM /Online /Cleanup-Image /RestoreHealth
      

    If you continue to encounter issues, consider checking the CBS.log file for more detailed error messages that could provide further insight into the problem.


    References:

    0 comments No comments

  2. Ramesh Srinivasan 72,520 Reputation points Independent Advisor
    2026-02-04T02:14:31.4266667+00:00

    Hi Rachel,

    After running DISM, please upload the C:\Windows\Logs\CBS\CBS.log file in your next reply.

    If you can't upload the file here, share it on OneDrive or GoFile.io and post the link here.

    The CBS log contains details as to which component store files are corrupt.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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