Windows 10: Why does the dism checkhealth and restorehealth commands do not work

Discus and support Why does the dism checkhealth and restorehealth commands do not work in Windows 10 Software and Apps to solve the problem; Hi, just bought a pc and it wasnt factory reset so I tried to do so but it didnt work, so I did the SFC scan and then tried to do the dism check health... Discussion in 'Windows 10 Software and Apps' started by DeclanH0209, Dec 21, 2024.

  1. Why does the dism checkhealth and restorehealth commands do not work


    Hi, just bought a pc and it wasnt factory reset so I tried to do so but it didnt work, so I did the SFC scan and then tried to do the dism check health command and restore health one but it doesnt work saying that the cleanup-image option is unknown error 87. See images attatched. I believe it is running windows 11 but possibly is on 10. I tried to upload photos but it didnt not work for some reason. There is also another error code 1639

    :)
     
    DeclanH0209, Dec 21, 2024
    #1

  2. How to get damn DISM to work?

    Well, i browsed to the sub directory containing the install.esd file and initiated the following command (one of your previous command)

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:install.esd:1


    Why does the dism checkhealth and restorehealth commands do not work [​IMG]


    it worked as expected
     
    blobster21, Dec 21, 2024
    #2
  3. How to get damn DISM to work?

    I see its giving you trouble.
    I too couldnt get the esd source command to work, thats why i suggest you go the "install.wim" route.

    You posted that your downloading a iso, hopefully you try the wim method.

    Best of luck

    P.S.
    if you decide to go with the "install.wim" method i recommended, this command worked just a moment ago for me, and hopefully it will for you too...

    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:X:\sources\Install.wim:1 /LimitAccess
    im sure you know, but be certain to replace "X" with Your mounted drive letter.
     
    jboydgolfer, Dec 21, 2024
    #3
  4. RejZoR Win User

    Why does the dism checkhealth and restorehealth commands do not work

    How to get damn DISM to work?

    Yes, I have the image mounted, the same bloody image I've used to install the OS I'm just using. This is absurd. I've tried this:

    Dism /Online /Cleanup-Image /RestoreHealth /Source:E:\x64\sources\install.esd
    Dism /Online /Cleanup-Image /RestoreHealth /Source:E:\x64\sources\install.esd:1
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd /limitaccess
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd:1
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd:1 /limitaccess

    None of this crap works even though entire freaking internet is saying that this is the way to do it. Some even mention using quotas for the path which makes no difference (It doesn't need it anyway since there aren't any spaces anyway.

    I just can't understand how can OS integrity check tool feature be dumber as years pass by instead of being smarter and more useful.

    EDIT:
    Redownloading 4 gigs of stupid image because the one I have apparently isn't good enough. *sigh*
     
    RejZoR, Dec 21, 2024
    #4
Thema:

Why does the dism checkhealth and restorehealth commands do not work

Loading...
  1. Why does the dism checkhealth and restorehealth commands do not work - Similar Threads - Why does dism

  2. DISM Restorehealth command is not working by any cost, need help!

    in Windows 10 Gaming
    DISM Restorehealth command is not working by any cost, need help!: Hello, recently i've run the dism commands for scanhealth and checkhealth after i got the BSOD out of nowhere, and they say that the component store is repairable. After that i ran the restorehealth command and it said that the source files could not be found. After this i...
  3. DISM /restorehealth not working

    in Windows 10 Gaming
    DISM /restorehealth not working: I recently like 3 days ago installed windows 11 from windows 10 because I couldn't install an update for some reason. Now I'm trying to get this updateBut for some reason it always failsI've tried using DISM to fix, but I'm getting a the source files cannot be found error....
  4. DISM /restorehealth not working

    in Windows 10 Software and Apps
    DISM /restorehealth not working: I recently like 3 days ago installed windows 11 from windows 10 because I couldn't install an update for some reason. Now I'm trying to get this updateBut for some reason it always failsI've tried using DISM to fix, but I'm getting a the source files cannot be found error....
  5. Why does the dism checkhealth and restorehealth commands do not work

    in Windows 10 Gaming
    Why does the dism checkhealth and restorehealth commands do not work: Hi, just bought a pc and it wasnt factory reset so I tried to do so but it didnt work, so I did the SFC scan and then tried to do the dism check health command and restore health one but it doesnt work saying that the cleanup-image option is unknown error 87. See images...
  6. What's the Proper Syntax of DISM /RestoreHealth /ScanHealth and /CheckHealth when in...

    in Windows 10 Gaming
    What's the Proper Syntax of DISM /RestoreHealth /ScanHealth and /CheckHealth when in...: Hello Apple and Boot Camp Windows friends.The usual DISM /Online /Clean-Image /RestoreHealth doesn't work when for my drive C: when I'm on Windows PE Boot Camp Windows 10/11. It always produces an Error 2 which is some kind of access denied error even though I'm Admin. What's...
  7. What's the Proper Syntax of DISM /RestoreHealth /ScanHealth and /CheckHealth when in...

    in Windows 10 Software and Apps
    What's the Proper Syntax of DISM /RestoreHealth /ScanHealth and /CheckHealth when in...: Hello Apple and Boot Camp Windows friends.The usual DISM /Online /Clean-Image /RestoreHealth doesn't work when for my drive C: when I'm on Windows PE Boot Camp Windows 10/11. It always produces an Error 2 which is some kind of access denied error even though I'm Admin. What's...
  8. Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth

    in Windows 10 Gaming
    Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth: Hello All,I have just encountered a strange issue whilst performing a monthly disk check-up on my 256GB SSD drive as I usually perform "DISM /Online /Cleanup-Image /CheckHealth" and "DISM /Online /Cleanup-Image /RestoreHealth" as to ensure everything is running...
  9. Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth

    in Windows 10 Software and Apps
    Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth: Hello All,I have just encountered a strange issue whilst performing a monthly disk check-up on my 256GB SSD drive as I usually perform "DISM /Online /Cleanup-Image /CheckHealth" and "DISM /Online /Cleanup-Image /RestoreHealth" as to ensure everything is running...
  10. Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth

    in Windows 10 BSOD Crashes and Debugging
    Increased Winsxs Size Issue Caused By DISM CheckHealth/RestoreHealth: Hello All,I have just encountered a strange issue whilst performing a monthly disk check-up on my 256GB SSD drive as I usually perform "DISM /Online /Cleanup-Image /CheckHealth" and "DISM /Online /Cleanup-Image /RestoreHealth" as to ensure everything is running...