sfc - corrupted files but could not fix them.


  1. Posts : 48
    Windows 10 Education
       #1

    sfc - corrupted files but could not fix them.


    Hi,
    This is a fresh install of Windows 10 and when i run sfc/scan now i get the message that there is corrupt files.

    Ive done a reset and a in Place upgrade both which failed to fix the problems.

    I've ran some commands in command promt, can't remember the one, but one is like restore health and they fail.

    I have no idea how to fix these corrupt files
      My Computer


  2. Posts : 12,799
    Windows 11 Pro
       #2

    The sfc scan, you need to run in an elevated command prompt and may have to run it 3 times with reboots in between each time. What error message did you get when you ran the Dism /Online /Cleanup-Image /RestoreHealth ? If you got the message that it couldn't locate the source, you need to mount the ISO file, or put the installation media in and look in the sources file for either the install.wim or install.esd, whichever you have. Then, for instance if your ISO or media was assigned the drive letter D and you find you have an install.wim, for example run the command
    Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /limitaccess
    Or, if you find you have an install.esd run the command

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:D:\Sources\Install.esd:1 /limitaccess
      My Computer


  3. Posts : 48
    Windows 10 Education
    Thread Starter
       #3

    edit: I see where i went wrong first time.

    Trying again
      My Computer


  4. Posts : 48
    Windows 10 Education
    Thread Starter
       #4

    All good,
    sorted it out and i dont have any corrupt files now

    Thanks
      My Computer


  5. Posts : 12,799
    Windows 11 Pro
       #5

    That's great, I'm glad to hear it.
      My Computer


  6. Posts : 48
    Windows 10 Education
    Thread Starter
       #6

    Does this work with Windows 7?

    Do i need SP 1 media?


    As i have corrupt files on Windows 7 too, and Search on Windows 10 doesnt want to work for me
      My Computer


  7. Posts : 12,799
    Windows 11 Pro
       #7

    sfc will work, DISM will not.
      My Computer


  8. Posts : 48
    Windows 10 Education
    Thread Starter
       #8

    I seem to be having this problem again, and following the above methods don't fix it.
    I use the source command looking for instaill.wim and I get error that it cant find source.

    I hear the cd start spinning when I run the command
      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 03:55.
Find Us




Windows 10 Forums