Run SFC Command in Windows 10  

Page 17 of 25 FirstFirst ... 71516171819 ... LastLast
  1. waltc's Avatar
    Posts : 627
    Win10x64 v2004 latest build fast ring
       #160

    This fixes sfc /scannow for me in Windows 10 when it refuses to run...cut & paste the following to a textfile named RepairSFC.txt (or whatever you like) and then rename RepairSFC.txt to RepairSFC.cmd, and then right-click it and "run as admin" and before your very eyes SFC will immediately begin functioning again...

    @echo off
    cls
    setlocal
    set root=%SystemRoot%\WinSxS\%PROCESSOR_ARCHITECTURE%_microsoft-windows-servicingstack
    for /f "delims=" %%A in ('dir /ad /b %root%-onecore*') do set "from=%SystemRoot%\WinSxS\%%A"
    for /f "delims=" %%A in ('dir /ad /b %root%_*') do set "to=%SystemRoot%\WinSxS\%%A"
    takeown /F %to%\* /R /A 1>nul
    icacls %to%\*.* /T /grant administrators:F 1>nul
    echo on
    echo F|xcopy /C /R /O /Y %from%\wrpint.dll %to%\wrpint.dll
    pause
      My Computer


  2. Posts : 128
    Windows 10 Pro 64-bit Ver 1909 OS Build 18363.720
       #161

    HI Guys

    I have tried to run sfc /scannow 3 times as in option 3 but it will just not fix it.

    So went to option 5 and here is the log errors

    Just run it again here is other log

    ANy ideas guys on how to fix it?

    Thorrrr
    Last edited by thorrrr; 02 Apr 2016 at 07:03.
      My Computers

  3. Brink's Avatar
    Posts : 48,912
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #162

    Hello Thorrr,

    You have nothing to worry about. Your issue is with the opencl.dll file like in the blue note box at the top of the tutorial. You can safely ignore this. :)
      My Computers


  4. Posts : 2
    Windows 10
       #163

    Hello,

    I belive that after running Ccleaner something went wrong because now when I run sfc /scannow I ger the famous "Windows resource protection found corrupt files but was unable to fix some of them"

    With the actions from step five I get the attached report
    sfcdetails.txt

    Any help please?
    Thanks in advance!
      My Computer

  5. Brink's Avatar
    Posts : 48,912
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #164

    Hello libremaster, and welcome to Ten Forums. :)

    From your sfcdetails, it looks like it messed up the shortcuts in your All apps list in your Start menu.

    Since this has just happened, you might see if doing a system restore using a restore point dated before this happened may sort it for you.

    System Restore Windows 10
      My Computers


  6. Posts : 2
    Windows 10
       #165

    Brink said:
    Hello libremaster, and welcome to Ten Forums. :)

    From your sfcdetails, it looks like it messed up the shortcuts in your All apps list in your Start menu.

    Since this has just happened, you might see if doing a system restore using a restore point dated before this happened may sort it for you.

    System Restore Windows 10
    Thanks for the help. If it's just that I'll leave it like that. Since I have system restore turned off
      My Computer

  7. Brink's Avatar
    Posts : 48,912
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #166

    Yep, that's all it is for. Just the shortcuts in your All apps.
      My Computers


  8. IronZorg89's Avatar
    Posts : 1,683
    Windows 10 pro x64-bit
       #167

    libremaster said:
    Thanks for the help. If it's just that I'll leave it like that. Since I have system restore turned off
    What about rolling back with a system image backup? I hope you do regularly backup your system.
      My Computers


  9. Posts : 1
    Windows 10 Version 10.0.10586 Build 10586
       #168

    Hi. I have followed all the steps detailed in the various options, including running sfc /scannow multiple times (both online and offline) and the DISM tool (which came back fine), yet I am still unable to clean up the sfc scan results, which as you can see from the Log copy I have attached, are prodigiously corrupted. I was hoping you might take a look at the Log and let me know what you think before I proceed to "more dire and drastic measures." Thank you for your help.

    sfcdetails.txt
      My Computer

  10. Brink's Avatar
    Posts : 48,912
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #169

    dlista72 said:
    Hi. I have followed all the steps detailed in the various options, including running sfc /scannow multiple times (both online and offline) and the DISM tool (which came back fine), yet I am still unable to clean up the sfc scan results, which as you can see from the Log copy I have attached, are prodigiously corrupted. I was hoping you might take a look at the Log and let me know what you think before I proceed to "more dire and drastic measures." Thank you for your help.

    sfcdetails.txt
    Hello dlista72, and welcome to Ten Forums. :)

    Your sfc details show that the Event Viewer shortcut in the "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools" folder has a hash mismatch and considered corrupted. This item is also corrupted in the component store and is why SFC is not able to repair this shortcut.

    Personally, it's not worth trying to repair. Especially if it still works. Otherwise, you could run the DISM command mentioned in the blue note box under step 6 in OPTION THREE to try and manually repair it.
      My Computers


 

Tutorial Categories

Run SFC Command in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
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 18:01.
Find Us




Windows 10 Forums