DISM cannot fix SFC Scannow

Discussion in 'Windows Know Base' started by securityhope, Mar 11, 2017.

  1. securityhope

    securityhope Administrator Staff Member

    Joined:
    Aug 3, 2016
    Messages:
    1,241
    Likes Received:
    0
    Trophy Points:
    36
    I recently ran the Windows Repair Tool from Tweaking.com and the SFC scannow step would not work. I would get the error message "Windows Resource Protection could not perform the requested operation". I need assistance in guiding the scannow too work again.

    I ran theWindows Repairas a check after a possible malware infection and/or an accidental re-directed visit to a malware site. Various malware scanners failed to find any virus/trojans. (Malwarebytes-free, Supper Anti-Spyware, Avast-free, ESET, Sophos). I tried runningrkilland doing this in SAFE-MODE in most instances. It seems I have an OS Corruption problem rather than a malware problem.

    CheckDiskwas run and although it found errors I was able to run this and after 4+ hours it fixed everything.

    I ran the regular Window Repairs step about 2 times in Safe mode. I backed-up and set restore points first. [Note: Restore points did not seem to set per later check possibly because this was done in SAFE MODE]
    After reading some articles online I found that the DISM program had to run to replace and fix the scannow.I ran theSoftwareRepairTool.exe from Microsoft.This runs the DISM program among other things. This did not fix things. I got the error that DISM could not find the source files.

    I then downloaded the Windows10 iso from Microsoft site. I saved this in my "Downloads" folder and extracted the files with 7-zip to find the source files which were needed. Articles seemed to state that install.wim(esd) was the needed file. I copied all files including install.esd to a folder in downloads,C:\Users\OWNER\Documents\Downloads\WIN10_sources.

    http://www.thewindowsclub.com/component-store-corruption-repair-windows-image

    Gave instructions telling DISM needed and how to run RestoreHealth etc. functions.
    I ran the ScanHealth and saved the log. It stated the system was “repairable”.
    https://www.tenforums.com/tutorials/7808-dism-repair-windows-10-image.html
    Very good tutorial! . Followed Step 7 since I hadinstall.esdin the above folder. This still did not work after running in the CMD Window (Admnistrator privileges always used for this)
    Per site ran the below using my source path: dism log_2-24-2017.txt6 .8MB1 downloads
    (To prevent DISM from using Windows Update for online images)

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:Full Path to install.esd file:1 /limitaccess

    Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\Users\OWNER\Documents\Downloads\WIN10_sources\install.esd:1 /LimitAccess

    This did not work as after running at about 92% done I got error message that Source files could not be found.I ran this several times in varying ways. I also tried running a program to convert the install.esd to install.wim format, placing this in the Windows10_Source folder in addition. Still no success in getting DISM to run successfully.

    At this point I do not know what to do and I need more experienced guidance. I may need to do a partial re-install of my operating system at this point while keeping my files. I have a backup on an external drive and will get a System Image prior to doing anything else.

    I appreciate any assistance. Other logs available if requested. Thanks.

    [https://answers.microsoft.com/en-us...ntegrity/75529fd4-fac7-4653-893a-dd8cd4b4db00
    Very good site for next steps if needed.]
    ======================================================
    OTHER THINGS TRIED BELOW:
    Tried this fix perhttp://www.thewindowsclub.com/repair-corrupt-windows-image-error-0x800f0906but this did not help

    Repair Corrupt Windows Image

    After doing some research about this error, I found that the following solution may work in this situation. The fix to the error goes like this:
    1.Open administrative Command Prompt.
    2.Copy the following code and right click paste it into Command Prompt:

    net stop wuauserv
    cd %systemroot%\SoftwareDistribution
    ren Download Download.old
    net start wuauserv
    net stop bits
    net start bits
    net stop cryptsvc
    cd %systemroot%\system32
    ren catroot2 catroot2old
    net start cryptsvc

    ……………………………..
    Other sites checked:

    https://www.tenforums.com/performance-maintenance/64789-sfc-scannow-wont-start.html

    Instructions to check and be sure TrustedInstaller service etc. are running

    https://www.tenforums.com/performance-maintenance/19340-sfc-scannow-corrupt-files-dism-fails.html

    More advice in blog

    http://www.thewindowsclub.com/dism-fails-source-files-could-not-be-found

    Requires setting Group Policy which I was unable to do. May require downloading other software.
     

    Attached Files:

Share This Page

Share