
(Optional) Type the following variant of the previous command to accomplish the same task and press Enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\ESD\Windows\sources\install.esd:1 /LimitAccess. (Optional) Type the following command to limit the use of Windows Update and press Enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd /LimitAccess. Type the following command to repair the image with an "install.esd" file and press Enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esdIn the command, change C:\ESD\Windows\sources with the path to the location of the ".esd" file (if different). Search for Command Prompt, right-click the top result, and select the Run as administrator option. To use DISM with an "install.esd" image file as the source to repair Windows 10, use these steps: If you have an encrypted "install.esd" image, it's possible to use it to repair the damaged files on Windows 10. Once you complete the steps, the command will scan and repair the problems using the "install.wim" file you specified as the alternative source. (Optional) Type the following variant of the previous command to accomplish the same task and press Enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\install.wim:1 /LimitAccessIn the command, change E:\Sources, for the path to the "install.wim" file. (Optional) Type the following command to limit the use of Windows Update and press Enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:E\Sources\install.wim /LimitAccess. Select the Create installation media (USB flash drive, DVD, or ISO file) for another PC option. Click the Accept button to agree to the terms. Double-click the MediaCreationToolxxxx.exe file to launch the setup. Open this Microsoft support website (opens in new tab). To download the ISO file of Windows 10, use these steps: If you need to use another file source, it is recommended to use the Media Creation Tool to download a fresh copy of Windows 10. You only need to make sure that the files match the version, edition, and language of the version of Windows 10 you are trying to fix. Typically, you can use an "install.wim" or "install.esd" file from another device, bootable install media, or Windows 10 ISO file. However, if the tool finds problems replacing the damaged files or the computer isn't connected to the internet, you will need to provide another image using the Source option. The Deployment Image Servicing and Management command usually doesn't cause issues. Fix problems with DISM using install.wim image Once you complete the steps, the tool will connect to Windows Update online to download and replace damaged files (as necessary).
Source: Windows Central (Image credit: Source: Windows Central)