Windows 8 and 8.1 Forums


SFC SCANNOW and DISM RESTOREHEALTH - Repair Corrupt Files

  1. #11


    Posts : 2,676
    Windows 3.1 > Windows 10


    Quote Originally Posted by Clint View Post
    I downloaded and unzipped the file. When I [Step 3: Right Click on IMAGE_HEALTH.CMD and Run as Administrator] I get a message that says "Windows SmartScreen prevented an unrecognized app from starting". What is the difference in running this script and typing in the command manually?
    Because you have to Right-Click on Image_Health .cmd file and unblock


    Quote Originally Posted by David Bailey View Post
    Option # 3 is the only useful option in the program.
    That's why I tested it.
    The rest are useless.
    Taking Requests...
    Gonna add off-line Image Menu

    /revertpendingactions - will unlock a LOCKED disk

    Quote Originally Posted by Ztruker View Post
    KYHI Updated his post.
    The difference is in finding the source files to recover from. The batch file does it, manually you would have to figure out what the batch file does then do those steps manually.
    Script just makes it easier to run the commands - rather then typing them manually
    Besides I sometimes CRS or my brain starts to hurt if I have to think to hard

      My System SpecsSystem Spec

  2. #12


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    The fact that, in option #3, dism can use the install.esd instead of an install.wim- which is no longer supplied, is a wonderful thing.

    This is a very good thing.

    Many thanks for this way of getting things done.

    This will help a lot of people.

    Keep up the good work.
      My System SpecsSystem Spec

  3. #13


    Posts : 2,676
    Windows 3.1 > Windows 10


    It does have it's upside..
    Thank You..

    It's funny because the Media Tool for windows 8.1 creates an install.esd -
    the Media Tool for windows 10 creates the ISO with an Install.wim and the USB media with install.esd
      My System SpecsSystem Spec

  4. #14


    Greece
    Posts : 341
    Win8.1 64bit, Windows 10 TP on VMWare Player


    Quote Originally Posted by David Bailey View Post
    The fact that, in option #3, dism can use the install.esd instead of an install.wim- which is no longer supplied, is a wonderful thing.

    This is a very good thing.

    Many thanks for this way of getting things done.

    This will help a lot of people.

    Keep up the good work.
    David, I tried to reply to your message to me on this subject, to thank you for your help. But the system said you weren't receiving personal messages (today at least??) so I will make it more public: thank you for helping me with a query on using dism and sfc/scannow.

    You are always very helpful too.

    Keep up the good work
      My System SpecsSystem Spec

  5. #15


    Posts : 21
    Windows 7 Ultimate / Windows 8.1


    Just a newbie asking here...

    I recently have used this on a new Windows 8.1 install and it worked. Can this (Image_Health) be used in Windows 7 sp1..?
      My System SpecsSystem Spec

  6. #16


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by SaggyMaggyPoo View Post
    Quote Originally Posted by David Bailey View Post
    The fact that, in option #3, dism can use the install.esd instead of an install.wim- which is no longer supplied, is a wonderful thing.

    This is a very good thing.

    Many thanks for this way of getting things done.

    This will help a lot of people.

    Keep up the good work.
    David, I tried to reply to your message to me on this subject, to thank you for your help. But the system said you weren't receiving personal messages (today at least??) so I will make it more public: thank you for helping me with a query on using dism and sfc/scannow.

    You are always very helpful too.

    Keep up the good work
    Check your rep points for further info. +10---
      My System SpecsSystem Spec

  7. #17


    Posts : 73
    Windows 7 Ultimate 32bit


    Excellent work , KYHI. (@David Bailey, you can't rep me for this , since you have already repped me for nothing.)

    What impressed me is its ability to take in install.esd and work on it (which is the only thing available in Windows 8.1 download whether one writes it to a USB drive or writes the ISO). I really had no patience of going through the laborious process of converting .esd to .wim. Second, if Microsoft had changed its strategy and pushing .esd why is it not making DISM compatible with it? Your work really helped me to conclude that install.esd lacked the missing manifests and Payload in my case.

    The screenshots:

    Click image for larger version
    I was really happy to see this thinking atleast now DISM will repair the corruptions.

    Click image for larger version

    Alas! It did not happen.

    Click image for larger version

    The same missing Manifests and Payload

    Click image for larger version

    But the sfc /scannow says everything is right.

    Quote Originally Posted by Brink View Post
    If it helps, this is pretty much outlined in the existing SFC and DISM tutorials.

    DISM really only needs to be ran if SFC is unable to repair corrupted or modified system files.

    SFC /SCANNOW Command - Run in Windows 8

    (step 6 in OPTION TWO if regular /restorehealth is not able to fix)
    DISM - Fixing Component Store Corruption in Windows 8
    I would think to the extent install.esd would not be available to certain category of users the Option 6 has lost its relevance to that extent and that is where this Image_Health fills the gap.

    All the same I would say that it helped me to start on it .
      My System SpecsSystem Spec

  8. #18


    Posts : 2,676
    Windows 3.1 > Windows 10


    the reason the source files are not present within the install.esd or wim for that matter, is because the payload was downloaded via a windows update
      My System SpecsSystem Spec

  9. #19


    Posts : 34
    Windows 8.1 Pro x64


    I get "Error: 87" when I run option 3. I get the same error whenever I run dism. Any clue?

    Code:
    ===============================================================================
       Dism is restoring the online image health.
       This will take several minutes..
    ===============================================================================
    
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    
    Image Version: 6.3.9600.17031
    
    [==========================100.0%==========================]
    
    Error: 87
    
    An error occurred while processing the command.
    Ensure that the command-line arguments are valid. For more information, review the log file.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
      My System SpecsSystem Spec

  10. #20


    Posts : 2,676
    Windows 3.1 > Windows 10


    post the DISM.log as dism.txt

    windows\logs\dism\dism.log

    try this version, remove .txt extension
      My System SpecsSystem Spec

Page 2 of 16 FirstFirst 123412 ... LastLast
SFC SCANNOW and DISM RESTOREHEALTH - Repair Corrupt Files
Related Threads
Hi on my windows 8.1 x64 PC I am having a lot of problems with programs hanging or not starting etc I ran SFC /Scannow and got this message "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log....
*I am running windows 8.1 Pro, this issue came up last night when I was suddenly unable to save or view image files (.png, .jpg, etc). Troubleshooting led to discovering corrupt system files, now I am here: Running sfc /scannow in the command prompt (admin level) yielded some interesting...
Solved sfc /SCANNOW can not repair files, what now? in Performance & Maintenance
Hello guys, I am worried because I am having stability issues with my PC and hope that you can help me. I ran sfc /scannow in order to check my system files and it cannot repair them. I ran dism /online /cleanup-image /restorehealth and it finished without problems, telling me that...
Solved Scannow and Dism restorehealth problem in Performance & Maintenance
After several sfc /scannow and Dism runs in admin command prompt I get the following attachment reports. I have looked at the logs of both and also visited the Microsoft page indicated in the Dism report. Both go way over my head in trying to find an answer to this problem, something about a...
Solved sfc /scannow can't fix corrupt files. in Performance & Maintenance
Hello! After running the sfc /scannow at command prompt, as administrator, here's what it says: Im at windows 8.1. CBS.log AND sfcdetails are attached to this post.
Solved massive number of corrupt files - scannow in Performance & Maintenance
My sons computer just built 2 months ago. Runs fine for him except a problem with printing...spooler service stops every time just a few seconds after starting it again. Was trying some solutions from this forum and got to step run sfc/scannow. UGLY...seems like thousands of corrupt files that...
Sfc /scannow found corrupt files but was unable to fix some. The log does not say whats wrong just stops. Not really sure where to go from here. Help please.
Eight Forums Android App Eight Forums IOS App Follow us on Facebook