Updated by

Sherly

Written by

Cici

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.

Run DSIM Tool as an Alternative to Fix Corrupted Files

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.

    Here are the translations for the provided text snippets into English:
  • Disk Health is used to check disk health and temperature conditions.
  • Translation:
  • Disk Health is used to monitor the disk's health and temperature status.
  • Disk Surface Test for checking and marking bad sectors.
  • Translation:
  • Disk Surface Test is used for detecting and marking bad sectors on the disk.
  • Check the file system to check and repair corrupted system files.
  • Translation:
  • Check the file system to identify and fix corrupted system files.
  • Boot repair can fix any boot errors caused by system files.
  • Translation:
  • Boot Repair can resolve any boot issues resulting from system files.

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!

How to Fix DISM /Online/Cleanup-Image/Restorehealth Stuck How to resolve the issue where the DISM (Deployment Image Servicing and Management) command with the parameters /Online /Cleanup-Image /Restorehealth gets stuck:

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.

I see you've listed various languages, but there doesn't seem to be any specific text for me to translate into American English. If you could provide the sentences or phrases you need translated, I'd be happy to assist.

Method 1: Restart PC and Run Command Prompt as Administrator

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 %.

Method 2: Check RAM

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.

Method 3: Run CHKDSK Method 3: Perform a CHKDSK Scan

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.

chkdsk

Step 3. When you're done, continue running the command "dism /online /cleanup-image /restorehealth" in Command Prompt.

Method 4: Run System File Checker

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.

RUN SFC

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.

Method 5: Update Your Operating System

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.

check for updates

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

Read Also:

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

"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:

    Here are the translations for the provided phrases in English: 1.
  • DISM stands for Deployment Imaging and Servicing Management
  • 2.
  • /online tells the system to check the image of the currently running operating system.
  • 3.
  • /cleanup-image removes unnecessary and corrupted files from the image.
  • 4.
  • /restorehealth restores the expected normal functionality.

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:

My laptop was unexpectedly shutting down, so I ran the command "Dism.exe /Online /Cleanup-Image /Restorehealth" through the Command Prompt. However, the process is now stuck. Can you please advise on what steps I should take next?

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.

1. 中文 (Chinese): Chinese to English 2. 阿拉伯语 (Arabic): Arabic to English 3. 法语 (French): French to English 4. 德语 (German): German to English 5. 西班牙语 (Spanish): Spanish to English 6. 日语 (Japanese): Japanese to English 7. 韩语 (Korean): Korean to English 8. 俄语 (Russian): Russian to English 9. 意大利语 (Italian): Italian to English 10. 葡萄牙语 (Portuguese): Portuguese to English 11. 泰语 (Thai): Thai to English 12. 印度尼西亚语 (Indonesian): Indonesian to English 13. 土耳其语 (Turkish): Turkish to English 14. 希腊语 (Greek): Greek to English 15. 荷兰语 (Dutch): Dutch to English 16. 波斯语 (Persian): Persian to English 17. 印地语 (Hindi): Hindi to English 18. 乌尔都语 (Urdu): Urdu to English 19. 越南语 (Vietnamese): Vietnamese to English 20. 他加禄语 (Tagalog): Tagalog to English

Conclusion

"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.

Frequently Asked Questions (FAQs) About DISM /Online/Cleanup-Image/Restorehealth Stuck

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.