Fix DISM /Online/Cleanup-Image/RestoreHealth Stuck: Full Guide and Solutions

Is your DISM command stuck during system repair? This article explains the causes and provides effective fixes to get DISM running smoothly again.

Posted by @Roxanne December 17, 2024 Updated By @Roxanne December 12, 2024

The Deployment Image Servicing and Management (DISM) tool is a command-line utility built into Windows systems. It is primarily used to repair corrupted or missing Windows system files, manage system images, and resolve errors that the System File Checker (SFC) cannot fix.

One of the most commonly used commands is: DISM /Online /Cleanup-Image /RestoreHealth

This command allows Windows to scan and repair the system image online using Windows Update or other repair sources.

However, many users encounter a frustrating issue where the DISM /Online /Cleanup-Image /RestoreHealth process gets stuck for hours or is not complete. This can happen for various reasons, leaving users unsure how to proceed. Continue reading and we will provide the full guide to fix the DISM /Online/Cleanup-Image/RestoreHealth Stuck error.

How Long Should DISM /Online /Cleanup-Image /RestoreHealth Take?

The time it takes to complete the DISM /Online /Cleanup-Image /RestoreHealth command can vary depending on the following factors:

  • System Performance: Faster CPUs and SSDs complete the process quicker.
  • Extent of Corruption: If many system files are corrupted, the process can take longer.
  • Internet Speed: DISM may download files from Windows Update, requiring a stable internet connection.

On average, the process should take anywhere between 10 to 30 minutes. If it takes significantly longer or remains stuck for hours, corrupted system files, insufficient RAM, hard drive errors, outdated Windows OS and conflicting software may cause the delay.

Next, we will discuss a quick and reliable alternative tool to repair corrupted files without using DISM.

Quick Guide to Run DISM Alternative to Fix Corrupted Files

If DISM is stuck or fails to work, you can use a powerful third-party tool such as AOMEI Partition Assistant to repair your system. AOMEI Partition Assistant is a trusted disk management tool with powerful features to repair corrupted files, check disk health, and recover lost data. With a simple interface, even if you are new to the computer, you can fix your errors like an expert.

Download FreewareWin 11/10/8.1/8/7/XP
Secure Download

With the Check Partition feature, AOMEI Partition Assistant can: Scan for corrupted system files, fix logical errors on your hard drive, and ensure system stability without requiring complicated commands.

Step 1. Download and install AOMEI Partition Assistant on your Windows computer.

Step 2. Right-click on the partition you want to check and select “Advanced” -> “Check Partition”.

Step 3. Select how you want to perform the error checking.

  • Use chkdsk.exe to check the partition and fix errors in this partition
  • Use chkdsk.exe to check the partition for errors
  • Check for bad sectors on the partition

When the level is lowered, the time taken becomes less.

Step 4. The operation will complete successfully in a few seconds or minutes. During the operation, you can check the progress in a pop-up window. Click OK to complete the task.

This feature is usually used to find and fix errors on partitions. If you want to check and find bad sectors on a disk, you can try this feature Surface Test.

The tool also allows you to recover accidentally deleted or lost data, making it a complete solution for system maintenance.

Full Guide to Fix DISM /Online /Cleanup-Image /RestoreHealth Stuck

Here are detailed solutions to resolve the DISM stuck issue:

1. Wait and Restart Your Computer

Sometimes, the DISM process may appear stuck but is still running in the background. Wait for a while, and then restart your computer to see if the issue persists.

2. Run Command Prompt as Administrator

Ensure you’re executing the command with administrative privileges:

Step 1. Search for Command Prompt in the Start menu.

Step 2. Right-click it and select Run as Administrator. And re-enter the command:

DISM /Online /Cleanup-Image /RestoreHealth

3. Check Your RAM

Faulty RAM can cause the DISM command to freeze. You need to ensure 4GB RAM for Windows 11/10. Use the Windows Memory Diagnostic Tool to check for memory issues:

Step 1. Press Win + R, type mdsched.exe, and hit Enter.

Step 2. Restart your PC to scan for RAM errors.

4. Run SFC (System File Checker)

Before running DISM, use SFC to repair basic file corruption:

Step 1. Open Command Prompt as Administrator.

Step 2. Enter the command: sfc /scannow

Once completed, retry the DISM command.

5. Run CHKDSK

Use CHKDSK to scan for bad sectors on your hard drive:

Step 1. Open Command Prompt as Administrator.

Step 2. Enter the command: chkdsk g: /f /r /x

Step 3. Restart your computer and check if DISM works.

6. Update Your Operating System

Make sure your Windows system is up-to-date to avoid compatibility issues:

Step 1. Press Windows + I and go to Settings.

Step 2. Find Update & Security > Windows Update.

Step 3. Check for updates and see if there is available for installation.

7. Run DISM in Safe Mode

Running DISM in Safe Mode can prevent third-party interference:

Step 1. Restart your computer and enter Safe Mode (press F8 during startup).

Step 2. Open Command Prompt as Administrator and run the DISM command.

Conclusion

The DISM /Online /Cleanup-Image /RestoreHealth command is an essential tool for repairing corrupted Windows system files. However, if the process gets stuck, you can follow the above solutions or use a reliable alternative like AOMEI Partition Assistant to resolve the issue quickly and effectively. With these steps, you can restore system health and improve overall performance.

Download FreewareWin 11/10/8.1/8/7/XP
Secure Download

FAQs About DISM /Online /Cleanup-Image /RestoreHealth Stuck

1. How do you fix a broken DISM?

To fix a broken DISM, run the SFC /scannow command first, restart your PC, and retry the DISM command with administrative privileges.

2. Why is DISM taking so long?

DISM may take longer due to system file corruption, insufficient RAM, slow internet connection, or hard drive errors.

3. How to repair DISM fully online?

To repair DISM fully, use the command:

DISM /Online /Cleanup-Image /RestoreHealth

Ensure you have a stable internet connection and sufficient system resources.