Sfc scannow/dism failure – need help for manual fix

Page 1 of 2 12 LastLast

  1. Posts : 20
    Windows 10
       #1

    Sfc scannow/dism failure – need help for manual fix


    Repeated attempts of running sfc /scannow halts at 96% with this message: "Windows Resource Protection found corrupt files but was unable to fix some of them".
    Running DISM commands (tried several different orders repeatedly) like:
    Dism /Online /Cleanup-Image /RestoreHealth
    Dism.exe /online /Cleanup-Image /StartComponentCleanup
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.esd:1 /limitaccess, or Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.esd:1 (with my Windows 10 usb plugged in as F drive) all give me the same 0x800f081 error.

    Since I have an identical PC with no problems running similar build of Windows 10, I hope to manually obtain files from the good PC to replace the corrupted ones in the problematic PC. but I am not sure on how to identify the corrupted files from the CBS log and the sfcdetails files.

    Can anyone help me in identifying the problem files to replace?

    (I tried to upload the CBS log file, but not possible since it exceeds the forum limit of 2Mb - any other way to share the contents of the file?)

    Thank you!
      My Computer


  2. Posts : 5,452
    windows 10 Pro ver 21H2 build 19044.1348
       #2

    Use the Tech Bench link below to download YOUR edition of Windows 10.
    Make sure you pick the same Language, Bit-version as the computer is now running.

    Once you have the iso downloaded, right click at the ISO > click Mount > leave it there.

    Then open the elevated command prompt and copy and paste this................

    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\sources\install.wim:1 /limitaccess

    Note : H is the drive where the iso is mounted. Change it if your driver letter is different.

    When it is completed, you should get the report that the operation is successful.
    Now run the sfc /scannow again. It should be ok this time.
      My Computer


  3. Posts : 4,142
    Windows 3.1 to Windows 11
       #3

    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.esd:1 /limitaccess, or Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.esd:1
    Dism /Online /Cleanup-Image /RestoreHealth /Source:ESD:F:\sources\install.esd:1 /limitaccess

    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.WIM:1

    Note the source reference - you where usinf source:wim and pointing to an install.esd
      My Computer


  4. Posts : 20
    Windows 10
    Thread Starter
       #4

    Kyhi said:
    Note the source reference - you where usinf source:wim and pointing to an install.esd
    Thank you very much for pointing out my mistake! Since I already have the USB Windows 10, I shall give the corrected command another try.

    davidhk said:
    Use the Tech Bench link below to download YOUR edition of Windows 10.
    Make sure you pick the same Language, Bit-version as the computer is now running.

    Once you have the iso downloaded, right click at the ISO > click Mount > leave it there.

    Then open the elevated command prompt and copy and paste this................

    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\sources\install.wim:1 /limitaccess
    Note : H is the drive where the iso is mounted. Change it if your driver letter is different.

    When it is completed, you should get the report that the operation is successful.
    Now run the sfc /scannow again. It should be ok this time.
    Thanks very much! If my USB method fails, I will definitely try the ISO method as my second option. Regardless, I will still make an ISO file because the idea of not having to rely on an USB appeals to me.

    I will report the results of my attempts here after trying them.
      My Computer


  5. Posts : 4,142
    Windows 3.1 to Windows 11
       #5

    Also in my sig below you will find a link to
    SFC/DISM - Image Health - Repair Corrupt Files

    Check it out... Very Usefull Forum tool.
      My Computer


  6. Posts : 4,802
    Windows 10 ProWorkstation -- Whichever is highest build number.
       #6

    All is fixed in the Insider Build 14342. If you are an insider, you should upgrade. I have been able to get sfc /scannow to work in previous builds, but in the several build previous to this one the DISM was a no go.
      My Computer


  7. Posts : 20
    Windows 10
    Thread Starter
       #7

    Tried these:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:F:\sources\install.esd:1 /limitaccess
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:F:\sources\install.esd:1

    ...with my Windows 10 USB created with the Microsoft media creation tool as drive F, unfortunately I got "Error 1728. The remote procedure call failed".

    Kyhi, I'm gonna check out your sfc/dism tool.
    While at the same time I will be making an ISO from the tech bench to use with the tool - since I am not having good luck with my MCT USB. Meanwhile, some noob questions:

    My Windows 10 is 64bit English (US), [8->8.1->10], so am I right to assume that I download this ISO:

    Windows 10 (as opposed to N/KN/English single language).

    Also do I select 'English' or 'English international'?

    Thank you!
      My Computer


  8. Posts : 4,802
    Windows 10 ProWorkstation -- Whichever is highest build number.
       #8

    Coffeecup132 said:
    Tried these:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:F:\sources\install.esd:1 /limitaccess
    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:F:\sources\install.esd:1

    ...with my Windows 10 USB created with the Microsoft media creation tool as drive F, unfortunately I got "Error 1728. The remote procedure call failed".

    Kyhi, I'm gonna check out your sfc/dism tool.
    While at the same time I will be making an ISO from the tech bench to use with the tool - since I am not having good luck with my MCT USB. Meanwhile, some noob questions:

    My Windows 10 is 64bit English (US), [8->8.1->10], so am I right to assume that I download this ISO:

    Windows 10 (as opposed to N/KN/English single language).

    Also do I select 'English' or 'English international'?

    Thank you!
    Unless you are using the newest insider preview (build 14342) don't waste your time. If you are using a th2 release it should work, but for rs1 you need build 14342.
      My Computer


  9. Posts : 4,142
    Windows 3.1 to Windows 11
       #9

    For techBench media - English is USA English

    So yes,
    Windows 10 > english
      My Computer


  10. Posts : 20
    Windows 10
    Thread Starter
       #10

    Tried option 2 and 3 of the Image Health, with the bench test ISO mounted - still not successful, plus the sfcdetails file produced is blank.

    So now, should I find out from the CBS log the problem/missing files, and try to get it from my other 'perfect' Windows 10 PC?
    Last edited by Coffeecup132; 25 May 2016 at 09:07.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:53.
Find Us




Windows 10 Forums