Windows 10: Error when running SFC

Discus and support Error when running SFC in Windows 10 BSOD Crashes and Debugging to solve the problem; Not entirely sure where to post this, so gonna just post it here, I figure the mods will let me know if it's cool or not. So, my computer is running... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by CoryCapehart1, Dec 24, 2020.

  1. Error when running SFC


    Not entirely sure where to post this, so gonna just post it here, I figure the mods will let me know if it's cool or not.


    So, my computer is running WIN10 x64 and I've started getting random BSOD errors, so I ran an SFC /Scannow and this is what is in the log. Telling me that mscorwks.dll is corrupted in both the installation and the backup that it's trying to be fixed from.

    "2020-12-24 16:01:44, Info CSI 0000012b [SR] Could not reproject corrupted file\??\C:\Windows\Microsoft.NET\Framework64\v2.0.50727\\mscorwks.dll; source file in store is also corrupted"

    Any ideas on how I could go about fixing the .dll without doing a system restore or a reinstall?

    :)
     
    CoryCapehart1, Dec 24, 2020
    #1
  2. Nikhar_K Win User

    sfc /scannow error repair

    Hi,



    Thank you for writing to Microsoft Community Forums.



    We appreciate the efforts you have taken in trying to resolve this issue. I have analyzed the error logs that you have shared and I would suggest you follow the steps mentioned below:



    1. Type Command Prompt in the
      search bar
      on the Taskbar.
    2. Right click on the Command Prompt icon and select
      Run as administrator.
    3. Now, paste the following command and hit Enter:
      DISM.exe /Online /Cleanup-image /Restorehealth
    4. Once the DISM command is executed, we would suggest you to run sfc /scannow again.


    If the integrity violations are not repaired after running sfc scan, the best option will be performing a repair installation. A repair installation will repair all the corrupted files.



    Refer the steps mentioned below:



    Download the Windows 10 Media Creation Tool (MCT) and use it to perform a repair installation
    of Windows 10. We have a video that can show you how if you aren’t sure



    Let us know the results.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Dec 24, 2020
    #2
  3. Kari Win User
    sfc /scannow errors


    Important thing to remember is that the SFC / SCANNOW cannot always fix all errors at once. It is quite often required to run SFC /SCANNOW several times.

    I have often had a situation that only a third, fourth or fifth run has finally reported "No more errors".

    This is how it should be done:

    • SFC / SCANNOW
    • If SFC reports not all errors were fixed, reboot and run it again
    • SFC / SCANNOW
    • If SFC again reports not all errors were fixed, reboot and run it again
    • And so on
    Screenshot from the TenForums SFC tutorial:


    Error when running SFC [​IMG]
     
  4. Steve C Win User

    Error when running SFC

    SFC /SCANNOW Errors After Update

    I've just updated a Windows 8.1 Pro PC to Windows 10 using the Techbench ISO which updated without any problems. However, I've just run sfc /scannow and it found errors it could not repair. I have managed to get sfc /scannow to run without errors - see what I did below:

    1. Ran sfc /scannow which showed error "Windows Resource Protection found corrupt files but was unable to fix some of them."
    2. Ran Dism /Online /Cleanup-Image /ScanHealth which reported "The component store is repairable."
    3. Ran Dism /Online /Cleanup-Image /RestoreHealth which failed with Error: 0x800f081f "The source files could not be found.Use the "Source" option to specify the location of the files that are required to restore the feature."
    4. Mounted the W10 Techbench ISO and ran Dism /Online /Cleanup-Image /RestoreHealth /source:wim:G:\sources\install.wim:1 /limitaccess which reported successfully "The restore operation completed successfully."
    5. Ran sfc /scannow wich completed successfully with report "Windows Resource Protection found corrupt files and successfully repaired them."

    Please advise:
    1. Why would sfc /scannow fail on a newly updated installation which ran sfc /scannow error free immediately before the upgrade?
    2. Why did I have to use install.wim from the Techbench ISO at step 4 above for Dism /Online /Cleanup-Image /RestoreHealth to work and will I have to use install.wim from the Techbench ISO every time I need to run this Dism command?
    3. How can I configure my PC so it has the correct install.wim file for the Dism command to work properly?
     
    Steve C, Dec 24, 2020
    #4
Thema:

Error when running SFC

Loading...
  1. Error when running SFC - Similar Threads - Error running SFC

  2. SFC won't run

    in Windows 10 BSOD Crashes and Debugging
    SFC won't run: My pc has been having BSoD problem, I can't use SFC scannow because it says "Windows Resource Protection could not perform the requested operation" and when I reset the pc, it says your pc has run into an problem. Then I googled the solution for it and it turns out I have to...
  3. How to run SFC

    in Windows 10 Software and Apps
    How to run SFC: I'm trying to do "SFC /SCANNOW", but I'm getting error messages. I'm running Windows 10 64 bit Home. I've tried the command prompt and Windows Powershell via right-clicking Start -> Powershell, but with both I get this error:-----Windows PowerShell Copyright C Microsoft...
  4. sfc scan run regularly finds errors

    in Windows 10 Gaming
    sfc scan run regularly finds errors: I run dism followed by a sfc /scannow several times a week and it finds errors pretty regularly. Is that supposed to happen? I'm on Windows 10 and I have the latest updates....
  5. sfc scan run regularly finds errors

    in Windows 10 Software and Apps
    sfc scan run regularly finds errors: I run dism followed by a sfc /scannow several times a week and it finds errors pretty regularly. Is that supposed to happen? I'm on Windows 10 and I have the latest updates....
  6. Hash key errors when running SFC Scan on PC

    in Windows 10 BSOD Crashes and Debugging
    Hash key errors when running SFC Scan on PC: 2019-08-08 14:20:13, Info CSI 00005e4a Hashes for file member [l:33]'Windows Notify System Generic.wav' do not match. 2019-08-08 14:20:13, Info CSI 00005e4b [SR] Cannot repair member file [l:33]'Windows Notify System Generic.wav' of...
  7. Error message when running sfc /scannow

    in Windows 10 BSOD Crashes and Debugging
    Error message when running sfc /scannow: I get an error message when running scannow saying that some files are corrupt and could not be fixed. How do I fix them? My laptop seems to be in an unstable state. Thanks for your help...
  8. Can't run SFC

    in Windows 10 Performance & Maintenance
    Can't run SFC: All my efforts to run SFC failed. All I get is the following message: "Windows Resource Protection could not start the repair service." I run a search and the net and tried reactivating the “Windows Module Installer“ service. This didn't solve my problem. I ran the same...
  9. Error: 0x800f081f when running DISM to repair SFC-Problems

    in Windows 10 Performance & Maintenance
    Error: 0x800f081f when running DISM to repair SFC-Problems: I've been trying to repair an error which system file checker gives me, however no matter what I try as it seems, I can't get windows to fix it. So it begins with sfc /scannow, and when I create the log file, I find this: 2015-08-14 18:45:52, Info CSI 00002bac [SR]...
  10. Running sfc /scannow shows that there are errors

    in Windows 10 Performance & Maintenance
    Running sfc /scannow shows that there are errors: Things are not going well for me. Multiple system issues are being reported in the Reliability Monitor although these are not obvious while using the OS. One of the things I have now tried is sfc /scannow from a command prompt in both normal and safe modes. It reports...