DISM /online /cleanup-image /restorehealth is stuck

DISM, or Deployment Image Servicing and Management, is a command-line utility allowing users to find and fix corrupt system image files through PowerShell or Command Prompt. However, if the DISM /online /cleanup-image /restorehealth command is stuck at 62.3 or any point, here are some solutions that you should try.

DISM /online /cleanup-image /restorehealth is stuck

As you have already run the above-mentioned command, you might know what it does. However, if you do not know about the command or used it after copying it from somewhere, here is a brief you should know. This particular command has three parameters – /online, /cleanup-image, and /restorehealth.

The first one checks for system files. The second parameter deletes all the corrupt files, and the last one restores the file from your system image.

DISM /online /cleanup-image /restorehealth is stuck

If DISM /online /cleanup-image /restorehealth process is stuck at 62.3 or any percentage, follow these solutions to resolve the issue on your Windows computer:

  1. Restart your computer
  2. Run CHKDSK command
  3. Run System File Checker

To learn more about these solutions, continue reading.

1] Restart your computer

When you run the DISM tool, you cannot do anything else fluently since several things change in the background. In other words, you need to keep your computer in standby mode. Having said that, if the DISM command is not running on your PC or is stuck for a long time, you cannot do anything, as usual.

That is why it is suggested that you restart your computer. For your information, your files will be intact, and nothing will happen with any application if you close the ongoing process and restart your computer.

2] Run CHKDSK command

DISM /online /cleanup-image /restorehealth is stuck

CHKDSK command also helps you find disk-related errors and fixes them automatically. If DISM was stuck at a certain point, a corrupt disk could be a reason. That is why it is recommended to run the CHKDSK tool to get rid of this issue.

Although there are so many chkdsk parameters, you need to use /f and /r parameters only. In other words, the command will look like this:

chkdsk c: /r

In case you don’t know, if you include the /r parameter, it will cover /f as well.

Read: Disk Error Checking: How to run CHKDSK in Windows

3] Run System File Checker

DISM /online /cleanup-image /restorehealth is stuck

System File Checker or SFC lets you check corrupt system files and rectify them on the go. One of the reasons for the aforementioned problem is having some corrupt files in your system. That is why we recommend you run the SFC scan.

Once you have completed these steps, connect to the internet and run the DISM command again; it should work.

That’s all! I hope it helped.

Read: ChkDsk stuck at particular % or hangs at some Stage

How long should DISM online cleanup image Restorehealth take?

There is no fixed time for DISM /online /cleanup-image /restorehealth to be completed on a Windows 11 or Windows 10 computer. It depends on the system, the number of bad sectors, the type of files it needs to repair, etc. However, it can take 30 minutes to 3 hours, depending on your situation.

What to do if DISM gets stuck?

There are mainly two things you can do. Restart your PC, and run the chkdsk tool to check for problems in your disk. Second, you can run the System File Checker or SFC scan to find and fix corrupt system files. Apart from that, if you have any pending updates, it is highly recommended that they be installed immediately.

Original Article