SFC and DISM Errors

Page 1 of 2 12 LastLast

  1. Posts : 8
    Windows 10
       #1

    SFC and DISM Errors


    So I was running an SFC /scannow
    And got the some files are corrupt but cannot be fixed etc.
    So I did the dism restore heath, and it can't find source. So I did the scan health, check health, reset Base, restore health from local esd source and limited access, changed group policy to use Windows update instead of WSUS, and nothing works. DISM still can't find a source, even though I am pointing it to an esd file from a windows 10 iso.

    Anyway to get this to work?
    I don't want to refresh / reset because I've got like 500GB of steam games, and last time I backed them up onto a hard drive etc and moved them back after resetting, even though my games were there it decided to attempt to download them from scratch again.

    So can anyone help me to get DISM working? Thanks
      My Computer


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

    Your dism .......> restorehealth said " source files could not be found" because your ISO was downloaded from Media Creation Tool which gave you the Install.esd.
    You need the Install.wim which can be obtained by downloading the ISO from Tech Bench.

    https://www.microsoft.com/en-us/soft...load/techbench

    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 : 459
    Windows 8&10
       #3

    I always wonder if everyone has updated to 10586 and not still on 10240...

    If you run Steam Games, are you running and have you updated the Nvidia driver? If so the file causing the error may be opencl.dll. This file should be fixed if DISM is used as suggested, although I ended up mounting the install.win and pointing DISM to that folder. If it is that file, it may not be a problem if you don't get that fixed.

    If it doesn't get fixed for whatever reason, we can track down what file it is.
      My Computer


  4. Posts : 8
    Windows 10
    Thread Starter
       #4

    davidhk said:
    Your dism .......> restorehealth said " source files could not be found" because your ISO was downloaded from Media Creation Tool which gave you the Install.esd.
    You need the Install.wim which can be obtained by downloading the ISO from Tech Bench.

    https://www.microsoft.com/en-us/soft...load/techbench

    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.
    It's still saying it after that too 😭
      My Computer


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

    Tom, there is a link in my sig below > Imagehealth - repair corrupt files

    will run the commands and create detail reports
      My Computer


  6. Posts : 8
    Windows 10
    Thread Starter
       #6

    Kyhi said:
    Tom, there is a link in my sig below > Imagehealth - repair corrupt files

    will run the commands and create detail reports
    Sorry if I'm being stupid but can only see your system specs?
      My Computer


  7. Posts : 4,131
    Windows 3.1 to Windows 11
       #7

    Windows 10 Recovery Tools - Bootable Rescue Disk

    Post #2

    You have to enable signature view in your forum control panel
      My Computer


  8. Posts : 3,264
    Windows 11 Pro 64 bit Version 21H2
       #8

    If you can also post your CBS.log here, can be found in C:\Windows\Logs folder. Determine files can not be fixed and if related to this OpenCL.dll issue with Graphics drivers.
      My Computer


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

    Tomhurst said:
    It's still saying it after that too 
    No disrespect is intended.
    I need to be sure you do understand my instructions and that you have followed them to the letter.
    1. Did you MOUNT the iso downloaded from Tech Bench.
    2. Please post back here the dism command line you actually used.
    The example I posted was this............
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\sources\install.wim:1 /limitaccess

    I would like to see what is yours.

    Thank you.
      My Computer


  10. Posts : 8
    Windows 10
    Thread Starter
       #10

    davidhk said:
    No disrespect is intended.
    1. Did you MOUNT the iso downloaded from Tech Bench.
    2. Please post back here the dism command line you actually used.
    The example I posted was this............
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\sources\install.wim:1 /limitaccess

    I would like to see what is yours.

    Thank you.
    Disrespect all you like it was me being stupid. It's worked! Thank you! Going to try SFC now. Why does mounting work differently than just extracting the iso and pointing to the files?
    Anyway thank you!
      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 12:35.
Find Us




Windows 10 Forums