Troubleshooting DISM Repair Command Stuck at Processing

DISM is a tool used for servicing and managing Windows images and its core components. When your system files are corrupted, the DISM tool helps repair the images. However, sometimes the process gets stuck despite the operation being successfully completed. This issue is caused by an outdated operating system which prevents the tool from finishing its execution.  

DISM Command is Stuck During its Process
DISM Command is Stuck During its Process Fix

This guide will show you how to fix the DISM tool when it’s stuck during processing.

Workaround: Perform a System Restart

When the command prompt fails to execute a command, then the issue arises from the system itself. Therefore, as a workaround, you must restart your computer so that all the processes and programs boot properly to avoid such an error from occurring. You can perform a system restart as listed below:

  1. Open the Windows Start Menu by pressing the Win key.
  2. Restart your computer by clicking on the Power option and selecting “Restart.”
    Restarting the Windows computer
    Restarting the Windows computer
  3. After restarting your computer, open the Windows Start Menu by pressing the Win key.
  4. Type “cmd” in the Windows Search bar.
  5. Right-click on the Command Prompt, and select the “Run as administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  6. Now you can run the DISM command again.

1. Upgrade your RAM Size

The minimum requirement to r un the system smoothly is 4GB RAM. If your system doesn’t meet the given requirements, then as a result, you will face issues when performing scans and other tasks on the system. Therefore, you must upgrade your current RAM. First, you must check how much RAM is installed on your system:

  1. Open the Run Command by pressing the Win +R keys together.
  2. Type “dxdiag” in the search bar and click OK.
    Opening the Diagnostic Tool
    Opening the Diagnostic Tool
  3. Open the System tab and check the RAM size in the “Memory” section of the page.
    Checking the Memory size.png
    Checking the Memory size.png
  4. If the RAM is below 4GB, then you must Upgrade it.

2. Run the System File Checker

The major cause of the error is corruption in your system files. Therefore, to ensure that your system is free from file corruption, you must perform the system file checker that scans and repairs the corrupted system files automatically. With the steps listed below, you can run the system file checker: 

  1. Open the Windows Start Menu by pressing the Win key.
  2. Type “cmd” in the Windows Search bar.
  3. Right-click on the Command Prompt, and select the “Run as administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  4. Run the system file checker by typing the following command in the Command Prompt while giving a space between “sfc” and “/.”
    sfc /scannow
    Running system file checker on the command prompt.
    Running system file checker on the command prompt.
  5. After scanning your System, the file checker will automatically repair the corrupted files. 

3. Run a Disk Checker

A corrupted disk prevents the system from accessing certain drives and damages the performance of the system. Therefore, you must run a Disk Checker that will repair the corruption in the disk. With the instructions given below, you can run a Disk Checker:

  1. Open the Windows Start Menu by pressing the Win key.
  2. Type “cmd” in the Windows Search bar.
  3. Right-click on the Command Prompt, and select the “Run as administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  4. Run the disk checker by typing the following command on the Command Prompt and pressing the Enter button:
    chkdsk /f /r C:
    Performing a chkdsk scan.
    Performing a chkdsk scan.
  5. After the scan is completed, restart your computer to make the necessary changes.
If chkdsk command is unable to run because your Windows is forcing it to run in read-only mode. You will have to run the chkdsk command on reboot so it can repair the disk corruption.

Check to see if the command runs properly.

4. Update your Windows

When using an outdated Windows, certain programs will not execute their tasks properly. which can lead to an error. Therefore, an outdated Windows can also be one of the reasons for the occurrence of this error. You must follow the instructions given below to update your Windows to the latest version: 

  1. Open the Windows Settings by pressing the Win + I keys together.
  2. Navigate to Update and Security > Windows Update.
  3. Click on the “Check for Updates” option.

    Checking an available Windows Update
    Checking an available Windows Update
  4. After a Windows update is found, you must download it by clicking on the Download option on the page. 
  5. Restart your system to make the necessary changes. 
Note: If Windows fails to find an update for your system automatically, then you must manually download the latest update for your Windows.
  1. Go to the Official Microsoft Web Page.
  2. Download the latest Windows Update by clicking on the “Update Now” option.

    Downloading the Latest Windows Update
    Downloading the Latest Windows Update
  3. Install the update by clicking on the “Update Now” option on the Windows Update Assistant page.

    Installing Windows Update
    Installing Windows Update
  4.  After the installation is completed, restart the computer by clicking on the Restart option.

    Restarting the Computer
    Restarting the Computer

5. Run the Command in Safe Mode

If the error still occurs in a Normal State, then you must test the system on Safe Mode. When booting on Safe Mode, the system starts with default programs and a minimal set of drivers. This mode will help you find the problem in the system. You can run the system on Safe Mode as shown below:

  1. Open the Run Command by pressing the Win + R keys together.
  2. Type “msconfig” in the search box and click OK.

    Opening System Configuration
    Opening System Configuration
  3. Open the Boot tab and check the “Safe Mode” box.
  4. Click on “Minimal” under Safe Mode.
  5. Set the timer as per your choice and Click Apply and OK.
    Booting System on Safe Mode
    Booting System on Safe Mode
  6. Restart your computer by selecting the “Restart” option on the System Configuration Prompt.
    Restarting computer
    Restarting computer
  7. Open the Windows Start Menu by pressing the Win key.
  8. Type “cmd” in the Windows Search bar.
  9. Right-click on the Command Prompt, and select the “Run as administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  10. Run the DISM command by pasting the following command into the command prompt and pressing the Enter button.
    Dism.exe /online /cleanup-image /restorehealth
    Running DISM Command on the Command Prompt
    Running DISM Command on the Command Prompt

Command should run without getting stuck now.

6. Use In-Place Upgrade

When facing DISM command issues, you must use the “In Place Upgrade“.  It is the final method before reinstalling Windows on your system and is commonly used for repairing and fixing restore-health errors. 

Disclaimer: When using the In-Place upgrade, you must have a backup copy of your data. Although this tool doesn’t affect your data, it still cleans up your entire system after completion. Therefore, perform this method at last. 
ABOUT THE AUTHOR

Muhammad Zubyan


Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.