Updated on April 22, 2024
DISM (short for Deployment Image Servicing and Management tool, executed as DISM.exe) is a built-in command-line utility in Windows. Accessible through the Command Prompt or Windows PowerShell, it primarily functions with Windows images. One of its uses is to identify and fix corrupted system files using the command "DISM /online /cleanup-image /restorehealth." However, what should you do if the DISM process gets stuck at 20%, 40%, 62.3%, or any other stage?
Various reasons can cause DISM to get stuck or take a long time to repair system files, such as running out of memory, lacking administrator privileges, or having an outdated Windows system. Don't worry; our comprehensive tools have a detailed solution to fix the DISM stuck or not working issue. Please continue reading this guide for assistance.
The "DISM/online/cleanup-image/restorehealth" command is intricate and can easily result in issues such as data loss or system crashes. Hence, before commencing the repair process, we recommend using a trustworthy third-party Windows repair tool - tools Partition Master Professional.
This utility focuses on Windows disk and system issues, providing various repair solutions that can replace and outperform built-in Windows tools.
The Partition Master tool can provide any solution you might need. The tool is user-friendly, so even if you are new to computers, you can easily manage your computer and disks, and fix the "dism /online/cleanup-image /restorehealth" stuck error.
Step 1. Right-click the problematic partition.
Step 2. Choose "Advanced" > "Check File System".
Step 3. Confirm whether you want to hide the partition or not.
Step 4. In the Check File System window, select the "Try to fix errors if found" option.
Step 5. Click "Start" to begin checking for errors on the partition.
Moreover, Partition Master also offers more advanced repair utilities, such as installing Windows from ISO files in the event of system failures, or fixing the defaultuser0 password error when you start up your computer. Feel free to download it and give it a try!
This section will provide comprehensive solutions to address the issue where DISM /Online/Cleanup-Image/Restorehealth gets stuck at 40%, 62%, 100%, or any other stage. However, before attempting any fixes, make sure you have entered the commands correctly and given it ample time to complete. If your system contains a significant amount of corrupted data, the DISM process might take hours to finish. If the progress bar remains static, consider the following options:
Don't forget to share these effective methods with others who are facing the same issue.
Certain unnecessary background processes and services might slow down your computer, causing the DISM /online /cleanup-image /restorehealth operation to take longer than usual.
A reboot can resolve most of these issues. You can accomplish this by restarting your device and closing unnecessary services and programs. After that, please run the following command as an administrator: DISM /online /cleanup-image /restorehealth or DISM.exe /online /cleanup-image /restorehealth
Step 1. Restart and search for cmd in the taskbar.
Step 2. Right-click on Command Prompt and run it as an administrator.
Run Command Prompt as administrator
If you're not running the Command Prompt as an administrator, it might keep getting stuck at %.
If your computer doesn't have sufficient RAM, the DISM command might not execute successfully. Hence, make sure you have adequate RAM to prevent the DISM /online /cleanup-image /restorehealth command from getting stuck while running.
4GB of RAM is suitable for running Windows 10/11. If it's less than 4GB, please consider upgrading or replacing it with a larger amount of RAM.
CHKDSK is another repair command offered by Windows. It can resolve 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 key to run it.
Step 3. When you're done, continue running the command "dism /online /cleanup-image /restorehealth" in Command Prompt.
In addition to the DISM command, you can address system file issues encountered with Windows 11/10 using the SFC (System File Checker) utility:
Step 1. Open Command Prompt as an administrator.
Step 2. Type sfc /scannow and press Enter to run the command.
Step 3. Wait patiently for the process to complete and repair the corrupted system files.
If the SFC gets stuck, proceed directly to Partition Master for a professional and seamless repair.
If your operating system is outdated, it might also lead to the "dism /online /cleanup-image /restorehealth stuck" issue or other system errors. Please ensure that your Windows system is up to date:
Step 1. Press and hold Windows + I to open the Settings app.
Step 2. Look for Windows Update under Settings.
Step 3. You can check if an update is available for installation, and if so, click "Download and install." Alternatively, you can check for updates manually.
Step 4. Restart your computer and finish the update process.
Read Also:
"DISM /Online /Cleanup-Image /Restorehealth" is a command with multiple parameters. Before we delve into how long the command takes to execute, let's briefly break down its components:
This command is more intricate. It checks for damaged files and replaces them with healthy ones. The duration it takes to execute depends on the size of the corrupted files. The more corrupted files there are, the longer it will run. Furthermore, the speed of your computer or the speed of your internet connection can also impact the command's runtime. If it takes too long, the command can become stuck. Here's a typical scenario from a Microsoft forum:
Running DISM /online /cleanup-image /restorehealth or DISM.exe /online /cleanup-image /restorehealth isn't a quick process. It can take several minutes or even hours to finish the whole operation, depending on the number of corrupted files in the image. If DISM /online /cleanup-image /restorehealth takes too long and doesn't show any progress, seek further assistance.
"DISM /online /cleanup-image /restorehealth stuck?" Don't panic! Try out the five comprehensive and efficient solutions outlined in this article. Whether your DISM /online/cleanup-image /restorehealth is stuck at 0%, 40%, 62.3%, or 99%, these methods will help you effectively resolve the issue.
Besides, if you find the command prompt too complicated, please try to use the professional system repair tool - Partition Master, to help you solve all the problems.
This section also includes additional questions and answers specifically about the DISM command. If you're interested, feel free to continue reading to address any queries you might have:
< strong > 1. What if DISM gets stuck? < /strong >
If DISM gets stuck, you can restart your system or utilize other tools to fix corrupted system files, such as SFC, CHKDSK, or a third-party utility like Partition Master. This page offers comprehensive solutions.
**2. Can I stop the DISM command?**
Certainly, you can cancel the DISM command. Whether you've just initiated it or are in the middle of the process, you can stop the DISM operation by closing the Command Prompt window. However, exercise caution while closing the window when the DISM command is running to prevent data loss.
3. Why isn't DISM working?
When DISM fails to function, it might be due to the Windows Update Service. A DISM error occurs when an update attempt initiates, but the service doesn't support it, thus disrupting the system's regular operation. You can rectify this by resetting the Windows Update Service.