SOLVED! DISM.exe /Online /Cleanup-Image /Restorehealth

Is your Windows computer hanging from time to time in the course of operation? Have you tried all sorts of measures to return your computer to normal but the issue persists? Do you suspect corruption in system files to be the root cause? Then the command DISM.exe /Online /Cleanup-Image /Restorehealth could help you out.

“DISM.exe /Online /Cleanup-Image /Restorehealth”: Summary

All in all, the command DISM.exe /Online /Cleanup-Image /Restorehealth orders Windows to scan for corrupted files and fix them. That is going to restore operations on computers for most of the time.

  • Step 1: Open Start menu, scroll all the way down and click Windows System.
  • Step 2: Right-click Command Prompt, pick More and then select Run as administrator.
  • Step 3: In Command Prompt (Admin), type DISM /Online /Cleanup-Image /RestoreHealth and hit Enter.

How To Get The Most Out Of DISM

Update

If your computer crashes amidst a Windows Update session, things could go haywire. By taking advantage of DISM, you get Update Client to run normally again. 

  • Step 1: Open Start menu, type Command Prompt, right-click Command Prompt and pick Run as administrator.
  • Step 2: If prompted, enter your password. Alternatively, you can click Allow.
  • Step 3: In Command Prompt (Admin), type DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess and press Enter. After the command finishes running, close Command Prompt and give Windows Update a go.

The command above uses your Windows operating system as a repair source for the Update Client. If your repair source is not your Windows OS, replace Windows with whatever source you like in C:\RepairSource\Windows. Repair sources include removable media, side-by-side folders shared via networks, etc. 

Image

In case you don’t know, Deployment Image Servicing and Management (DISM) is able to repair damaged Windows images. Following the repair, the images can be used to install operating systems or serve as a foundation for a Virtual Machine (VM). Here is how to use DISM to fix a Windows Image:

  • Step 1: Open Start menu, type Command Prompt, right-click Command Prompt and pick Run as administrator.
  • Step 2: If prompted, enter your password. Alternatively, you can click Allow.
  • Step 3: In Command Prompt (Admin), run the command Dism /Online /Cleanup-Image /CheckHealth to see if the Windows image is healthy, repairable or unrepairable.
  • Step 4: If the image is damaged but repairable, run the command Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows to repair it.
  • Step 5: Wait for the command to wrap up, close Command Prompt and see how things turn out.
  • In case you don’t provide a source for the repair process, DISM will use the default location that’s specified in Features on Demand.

Frequently Asked Questions

What is the main purpose of the DISM?

Deployment Image Servicing and Management (DISM) is a diagnostic tool built into Windows. It scans system files or Windows Images for corruption then conducts servicing, preparation, modification and repair. Windows users can use many DISM commands and DISM.exe /Online /Cleanup-Image /Restorehealth is one of them. 

Is there an alternative to DISM?

Yes, there is. A user can make use of System File Checker (SFC) to diagnose and address issues in their computer system. It is a solid alternative to the Deployment Image Servicing and Management (DISM) tool.

Can I use the DISM in Recovery Mode?

Of course, you can. If your computer’s operating system is damaged, load a Windows 10 installation DVD and boot up from it. Next, select repair followed by troubleshoot. Finally, click Command Prompt and run the command DISM.exe /Online /Cleanup-Image /Restorehealth.

What is the difference between the CheckHealth and the ScanHealth DISM commands?

The CheckHealth command performs a quick analysis of an operating system image’s wellbeing. On the other hand, the ScanHealth commands perform a deeper, progressive analysis.

Tips And Tricks

  • Always run System File Checker (SFC) command (SFC/ scannow) before Deployment Image Servicing and Management (DISM).
  • After you finish running a DISM scan, restart your PC at the earliest opportunity. That will let the system implement all the changes introduced during the diagnostic process.
  • Close all programs including those in the background prior to running DISM commands. The commands require a lot of your computer’s resources so you should avoid creating competition,
  • If you intend to continue working once the DISM scan concludes, add the / Quiet option to your commands. By doing so, you could prevent the computer from prompting a restart.
  • Make sure your computer is connected to the Internet prior to running DISM commands to tackle Windows Update issues. That is going to let your PC download and install updates the moment the screen comes back on.

 

Leave a Comment