FIXED: DISM /Online/Cleanup-Image/Restorehealth Stuck🔥

Cici updated on Apr 18, 2024 to Partition Master | How-to Articles

What should I do if DISM /Online/Cleanup-Image/Restorehealth is stuck? Don't worry, and this page provides you with a solution to fix DISM stuck at 20, 40, 62 or 100%. We will also provide you with one of the most comprehensive tools to repair corrupt system files.

DISM (i.e. Deployment Image Service and Management DISM.exe) is a built-in command line utility provided by Windows. Opened via the command line or Windows PowerShell, it is primarily used for Windows images. Among other things, DISM /online /cleanup-image /restorehealth can be used to find and repair corrupted system files. But what do you do when the DISM /online/cleanup-image /restorehealth is stuck at 20%, 40%, 62.3%, or some other point?

Various reasons may cause DISM to get stuck or take a long time to repair system files, such as running out of memory, lack of administrator identity, or an outdated Windows system. Don't worry; EaseUS has prepared a detailed solution for you to fix the DISM stuck or not working issue. Please continue reading this guide.

Run DSIM Alternative to Fix Corrupted Files

The "DISM/online/cleanup-image/restore health" command is complex and can easily lead to problems like data loss and computer crashes. Therefore, before we start repairing, we recommend a reliable third-party tool for Windows repair - EaseUS Partition Master Professional.

This tool is dedicated to Windows disk and system issues, and it offers a variety of repair solutions that can replace and surpass Windows built-in tools:

  • Disk Health is used to check disk health and temperature conditions.
  • Disk Surface Test for checking and marking bad sectors.
  • Check the file system to check and repair corrupted system files.
  • Boot repair can fix any boot errors caused by system files.

EaseUS Partition Master can provide any solution you need. The tool is easy to use, so even if you are new to computers, you can easily manage your computer and disks and fix the dism /online/cleanup-image /restorehealth is stuck error.

Step 1. Right-click the target partition that has a problem.

Step 2. Choose "Advanced" > "Check File System".

Step 3. Confirm if you want to hide the partition or not.

Step 4. In the Check File System window, check the "Try to fix errors if found" option.

Step 5. Click "Start" to check errors on your partition.

In addition, EaseUS Partition Master provides more advanced repair functions, including installing Windows from ISO files in case of system crashes or fixing the defaultuser0 password error when you boot your PC. You can download it and have a try!

How to Fix DISM /Online/Cleanup-Image/Restorehealth Stuck 

This section will provide detailed solutions to fix DISM /Online/Cleanup-Image/Restorehealth stuck at 40%, 62%, 100%, or other points. But before starting any other program, please ensure you have entered the commands correctly and waited long enough. If your system has too much-corrupted content, the DISM command may take several hours to last. If the progress bar does not change, take the following options: 

Don't forget to share these efficient methods with others who are facing the same problem:

 

Method 1. Restart PC and Run the Command Prompt As Administrator

Some unnecessary processes and services in the background may slow down your computer and cause DISM /online /cleanup-image /restorehealth to take a long time.

A reboot can solve most of these problems. You can do this by rebooting and closing unwanted services and programs. Then, please run DISM /online /cleanup-image /restorehealth or DISM.exe /online /cleanup-image /restorehealth as administrator again:

Step 1. Reboot and search for cmd in the taskbar.

Step 2. Right-click on Command Prompt and run as administrator.

If you are not running the command prompt as administrator, it may keep getting stuck on %.

Method 2. Check RAM

If your computer lacks enough RAM, the DISM command may not be executed successfully. Therefore, ensure you have enough RAM to avoid DISM /online /cleanup-image /restorehealth getting stuck while running.

4GB of RAM is suitable for Windows 10/11. If it is less than 4GGB, please upgrade or replace it with a larger RAM.

Method 3. Run CHKDSK

CHKDSK is another repair command provided by Windows. It can fix the "DISM /online/cleanup-image /restorehealth Is Stuck" issue.

Step 1. Run CMD as administrator.

Step 2. Type the command chkdsk C: /f /r/x and press the Enter button to run it.

Step 3. When you are done, continue running the command "dism /online /cleanup-image /restorehealth" command in cmd.

Method 4. Run SFC

In addition to the DISM command, you can fix system file issues encountered with Windows 11/10 via SFC (System File Checker):

Step 1. Open Command Prompt as administrator.

Step 2. Type sfc /scannow and press Enter to execute the command.

Step 3. Wait patiently for the process to complete and repair the corrupted system files.

If the SFC stuck, go straight to EaseUS Partition Master for a professional and seamless repair.

Method 5. Update Your Operating System

If your operating system is outdated, it may also cause "dism /online /cleanup-image /restorehealth stuck" or other system errors. Please make sure your Windows system is updated:

Step 1. Press and hold Windows + I to open the Settings app.

Step 2. Find Windows update under settings.

Step 3. You can check if an update is available for installation, and if so, click "Download and install" Or check for updates manually.

Step 4. Restart your computer and complete the update process.

Read Also:

How Long Does DSIM /Online/Cleanup-Image/Restorehealth Take 

DISM /Online/Cleanup-Image/Restorehealth is a command with various parameters. Before we understand the length of time the command takes, we can briefly break down the components of the command:

  • DISM stands for Deployment of Image Services and Management
  •  /online tells the system to check the image of the currently running operating system.
  • /cleanup-image removes unnecessary and corrupted files from the image.
  • /restorehealth restores normal functionality as expected.

This command is more complex. However, it checks for corrupted files and replaces them with files in good condition. The time it takes to run depends on the size of the corrupted files. The more files there are, the longer it will take. In addition, the speed of the computer or the speed of the Internet also affects the command running time. Too much time can cause the command to get stuck. Here is a typical case study from a Microsoft forum:

My laptop was shutting down all of a sudden, and hence, I ran the Dism.exe /Online /Cleanup-Image /Restorehealth from the cmd prompt. However, it is now stuck. Please let me know what I should do now.

Running DISM /online /cleanup-image /restorehealth or DISM.exe /online /cleanup-image /restorehealth is not a quick process. It can take several minutes or even hours to complete the entire process, depending on the number of corrupted files in the image. If DISM /online /cleanup-image /restorehealth takes too long and never changes, seek additional help.

 

Conclusion

DISM /online /cleanup-image /restorehealth stuck? Don't worry! Try the five comprehensive and effective solutions provided in this article. You can successfully resolve the issue if your DISM /online/cleanup-image /restorehealth is stuck at 0%, 40%, 62.3%, or 99%.

Besides, if you find the command prompt too complicated, please try to use the professional system repair tool - EaseUS Partition Master, to help you solve all the problems.

FAQs About DISM /Online/Cleanup-Image/Restorehealth Is Stuck 

This section also provides additional questions and answers focusing on the DISM command. If you are interested, you can read on to resolve any queries:

1. What if DISM gets stuck?

If DISM gets stuck, you can reboot your system or use other tools to repair corrupted system files, such as SFC, CHKDSK, or a third-party tool - EaseUS Partition Master. This page provides you with detailed solutions.

2. Can I stop the DISM command?

Of course, you can cancel the DISM command. Whether you have just started or are in the middle of the process, you can stop the DISM process by closing the Command Prompt window. However, please be careful to close the window when the DISM command is running to avoid data loss.

3. Why DISM does not work?

When DISM does not work, it may be caused by Windows Update Service. A DISM error occurs when an update is started, but the service does not support it and interferes with the system's normal operation. You can reset the Windows Update Service.