How to Fix DISM Error 87 on Windows 10 and Windows 11

  1. Run Command Prompt as Administrator: Ensure you are running Command Prompt with administrative privileges to execute DISM commands.

    • On Windows 10: Right-click on the Start button, then select "Windows Terminal (Admin)" or "Command Prompt (Admin)."
    • On Windows 11: Right-click on the Start button, then select "Windows Terminal (Admin)" or search for "Command Prompt," right-click, and choose "Run as administrator."
  2. Check DISM Command Syntax: Verify that you are using the correct syntax for the DISM command you are trying to execute. The correct format depends on the task you are performing with DISM. For example:

    • To check the health of the Windows image:

      DISM /Online /Cleanup-Image /CheckHealth
    • To scan for and repair corruption in the Windows image:

      DISM /Online /Cleanup-Image /RestoreHealth
    • To specify an alternative source for repair:

      DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess

    Make sure there are no typos or incorrect spaces in the command.

  3. Use the Correct Windows Version: Ensure you are using the correct DISM version for your Windows version. For example, if you are running a command on Windows 10, use DISM from a Windows 10 installation or bootable media.

  4. Check for Windows Updates: Make sure your Windows installation is up to date. Some DISM issues might be resolved by installing the latest Windows updates.

  5. Scan and Repair System Files: Before running DISM, it's a good idea to run the System File Checker (SFC) tool to check and repair system files:

    sfc /scannow
  6. Disable Antivirus and Firewall: Temporarily disable your antivirus and firewall software, as they might interfere with the DISM process.

  7. Perform a Clean Boot: Perform a clean boot to start Windows with minimal services and startup programs. This can help eliminate any software conflicts that might be causing the issue.

  8. Check for Corrupted Windows Image: If the error persists, there might be corruption in the Windows image. In this case, you can use the Windows installation media to repair the system image:

    • Insert the Windows installation media (USB or DVD) into your computer.

    • Open Command Prompt as Administrator.

    • Type the following command and press Enter:

      DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:X:\Sources\Install.wim:1 /LimitAccess
    • Replace "X:" with the drive letter of your Windows installation media.

  9. Reinstall Windows: If none of the above steps work, you might consider performing a Windows reinstallation. Before doing this, back up your important data to prevent data loss.

However considering you have already purchased Restoro and would like us to assist you in doing that utilizing a remote session, please contact our support and they will be happy to help you.


Revision #1
Created 10 months ago by Ghicel Santos
Updated 10 months ago by Ghicel Santos