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.
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!
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:
- Method 1. Restart PC and Run the Command Prompt As Administrator
- Method 2. Check RAM
- Method 3. Run CHKDSK
- Method 4. Run SFC
- Method 5. Update Your Operating System
Don't forget to share these efficient methods with others who are facing the same problem:
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 %.
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.
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.
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.
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.
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:
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.
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.
How Can We Help You
About the Author
Cici is the junior editor of the writing team of EaseUS. She accepted the systematic training on computers at EaseUS for over one year. Now, she wrote a lot of professional articles to help people resolve the issues of hard drive corruption, computer boot errors, and disk partition problems.
I love that the changes you make with EaseUS Partition Master Free aren't immediately applied to the disks. It makes it way easier to play out what will happen after you've made all the changes. I also think the overall look and feel of EaseUS Partition Master Free makes whatever you're doing with your computer's partitions easy. Read More
Partition Master Free can Resize, Move, Merge, Migrate, and Copy disks or partitions; convert to local, change label, defragment, check and explore partition; and much more. A premium upgrade adds free tech support and the ability to resize dynamic volumes. Read More
It won't hot image your drives or align them, but since it's coupled with a partition manager, it allows you do perform many tasks at once, instead of just cloning drives. You can move partitions around, resize them, defragment, and more, along with the other tools you'd expect from a cloning tool. Read More