Forum Discussion

Mieowo's avatar
Mieowo
Iron Contributor
Mar 01, 2025

Problem Running DISM.../RestoreHealth

I'm having these errors when I run DISM /...... restore health.

DISM.EXE: Failed validating command line: "C:\Windows\system32\dism.exe" /image:"C:\Boot\mt_abc_1\MountedMTWinPE\" /add-package /packagepath:"C:\Recovery\DISM60X64\WinPE-WMI.cab"

DISM.EXE: Failed validating command line: "C:\Windows\system32\dism.exe" /image:"C:\Boot\mt_abc_1\MountedMTWinPE\" /add-package /packagepath:"C:\Recovery\DISM60X64\WinPE-WMI_en-us.cab"

DISM.EXE: Failed validating command line: "C:\Windows\system32\dism.exe" /image:"C:\Boot\mt_abc_1\MountedMTWinPE\" /add-package /packagepath:"C:\Recovery\DISM60X64\WinPE-StorageWMI.cab"

DISM.EXE: Failed validating command line: "C:\Windows\system32\dism.exe" /image:"C:\Boot\mt_abc_1\MountedMTWinPE\" /add-package /packagepath:"C:\Recovery\DISM60X64\WinPE-StorageWMI_en-us.cab"

DISM API: PID=6556 TID=6252 Time_InternalToPublic failed - Time_InternalToPublic(hr:0x80070057) (56 times)

I'm not a professional and I don't understand what that means, I'll appreciate any help.
Thanks in advance

  • Holaway's avatar
    Holaway
    Steel Contributor

    Your DISM command is failing due to incorrect paths or missing files. Try this:

    Run CMD as Admin
    Check Paths – Ensure the MountedMTWinPE folder and .cab files exist.
    Use Correct Syntax – Example:cmd

    dism /online /cleanup-image /restorehealth

     

Resources