Windows 10: DISM /cleanup-image /scanhealth cmd Error 2 for external drive

Discus and support DISM /cleanup-image /scanhealth cmd Error 2 for external drive in Windows 10 Software and Apps to solve the problem; When I try to run dism /Image:D:\ /cleanup-image /scanhealth /source:"c:\windows" cmd to scan the external D: drive I receive the following message... Discussion in 'Windows 10 Software and Apps' started by CurtisVandenbossche, Oct 31, 2024.

  1. DISM /cleanup-image /scanhealth cmd Error 2 for external drive


    When I try to run dism /ImageDISM /cleanup-image /scanhealth cmd Error 2 for external drive :D:\ /cleanup-image /scanhealth /source:"c:\windows" cmd to scan the external D: drive I receive the following message "Error: 2 Unable to access the image. Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder." I have complete read write permissions for the D: drive an dit is operational and accessible and I can read and write the files on it. Any ideas on why this is happening?

    :)
     
    CurtisVandenbossche, Oct 31, 2024
    #1

  2. How to get damn DISM to work?

    you dont need the "esd" command unless your running an esd file type.

    i recommend if ytour just scanning to
    DISM /Online /Cleanup-Image /ScanHealth

    or DL an ISO , and run the command i linked above.
    DISM /Online /Cleanup-Image /RestoreHealth /sources:WIM:X:\sources\Install.wim:1 /LimitAccess
    "x" = drive letter.

    iso can be DL'd from here
    https://www.microsoft.com/en-us/software-download/techbench

    be certain to run elevated CMD prompt.
     
    jboydgolfer, Oct 31, 2024
    #2
  3. Dism error 87 "cleanup-image option is unknown"

    Im in winPE trying to use:

    on an offline image but cannot get past this error:

    I did the exact same procedure on windows 8 and a separate fresh install of windows 10 with no issues at all.

    I've gone through all the Microsoft articles about dism i could find, many sites, and forum posts outlining the same handful of procedures that are supposed to fix this and other issues but don't seem to work half the time.

    Supposedly error 87 is a syntax issue but this clearly doesn't apply to my situation. The error occurs with other options as well, /scanhealth, /checkhealth, /restorehealth, it isn't limited to just /cleanup-image.There appears to be no proven solution to this problem, if so its very hidden.

    Any suggestions?
     
    BrainRenticus, Oct 31, 2024
    #3
  4. DISM /cleanup-image /scanhealth cmd Error 2 for external drive

    DISM /Online /Cleanup-Image /ScanHealth is stuck

    I opened cmd as administrator and ran

    DISM /Online /Cleanup-Image /ScanHealth

    It outputted

    Deployment Image Servicing and Management tool

    Version: 10.0.22621.2794

    Image Version: 10.0.22631.3374

    and the cursor is still blinking right under

    It's been like this for at least an hour or two now and still nothing is happening

    Should I be worried or does a scan usually take this long?

    I am on Windows 11
     
    moderateblue_, Oct 31, 2024
    #4
Thema:

DISM /cleanup-image /scanhealth cmd Error 2 for external drive

Loading...
  1. DISM /cleanup-image /scanhealth cmd Error 2 for external drive - Similar Threads - DISM cleanup image

  2. DISM /cleanup-image /scanhealth cmd Error 2 for external drive

    in Windows 10 Gaming
    DISM /cleanup-image /scanhealth cmd Error 2 for external drive: When I try to run dism /Image:D:\ /cleanup-image /scanhealth /source:"c:\windows" cmd to scan the external D: drive I receive the following message "Error: 2 Unable to access the image. Make sure that the image path and the Windows directory for the image exist and you have...
  3. DISM /Online /Cleanup-Image /ScanHealth is stuck

    in Windows 10 Gaming
    DISM /Online /Cleanup-Image /ScanHealth is stuck: I opened cmd as administrator and ranDISM /Online /Cleanup-Image /ScanHealthIt outputtedDeployment Image Servicing and Management toolVersion: 10.0.22621.2794Image Version: 10.0.22631.3374and the cursor is still blinking right underIt's been like this for at least an hour or...
  4. DISM /Online /Cleanup-Image /ScanHealth is stuck

    in Windows 10 Software and Apps
    DISM /Online /Cleanup-Image /ScanHealth is stuck: I opened cmd as administrator and ranDISM /Online /Cleanup-Image /ScanHealthIt outputtedDeployment Image Servicing and Management toolVersion: 10.0.22621.2794Image Version: 10.0.22631.3374and the cursor is still blinking right underIt's been like this for at least an hour or...
  5. Should I only run dism /online /cleanup-image /restorehealth if scanhealth detects corruption?

    in Windows 10 Software and Apps
    Should I only run dism /online /cleanup-image /restorehealth if scanhealth detects corruption?: Should I only run dism /online /cleanup-image /restorehealth if scanhealth detects corruption? https://answers.microsoft.com/en-us/windows/forum/all/should-i-only-run-dism-online-cleanup-image/43d76304-de7d-4748-bb59-536cb6c82a3d
  6. I can't use Dism/cleanup-image/scanhealth and restorehealth command

    in Windows 10 Drivers and Hardware
    I can't use Dism/cleanup-image/scanhealth and restorehealth command: I ran the command sfc /scannow to look for corrupted files but I can't follow using dism to repair the files it keeps giving the following message the term dism/online is not recognized as a cmdlet name, function, script file or operable program etc. how can i solve?...
  7. I can't use Dism/cleanup-image/scanhealth and restorehealth command

    in Windows 10 Gaming
    I can't use Dism/cleanup-image/scanhealth and restorehealth command: I ran the command sfc /scannow to look for corrupted files but I can't follow using dism to repair the files it keeps giving the following message the term dism/online is not recognized as a cmdlet name, function, script file or operable program etc. how can i solve?...
  8. I can't use Dism/cleanup-image/scanhealth and restorehealth command

    in Windows 10 Software and Apps
    I can't use Dism/cleanup-image/scanhealth and restorehealth command: I ran the command sfc /scannow to look for corrupted files but I can't follow using dism to repair the files it keeps giving the following message the term dism/online is not recognized as a cmdlet name, function, script file or operable program etc. how can i solve?...
  9. DISM /Online /Cleanup-Image /ScanHealth is stuck at Image Version

    in AntiVirus, Firewalls and System Security
    DISM /Online /Cleanup-Image /ScanHealth is stuck at Image Version: Hello I am trying to run this command but it seems that it has not been doing anything i think it is stuck, it is now 20 minutes but still no luck, can you help me fix the situation. [ATTACH]...
  10. Dism /ScanHealth Results in Error 1726

    in Windows 10 Performance & Maintenance
    Dism /ScanHealth Results in Error 1726: When I run a 'Dism /Online /Cleanup-Image /ScanHealth' command, I get the following error after reaching the 20% point: Error: 1726 The remote procedure call failed. I also had the following errors in my dism.log file: 2016-02-14 17:30:49, Error DISM DISM Package...