Windows 10: sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

Discus and support sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How... in Windows 10 BSOD Crashes and Debugging to solve the problem; Link to the CBS file: https://1drv.ms/u/s!At9cBP4eDztWmz_-JqClPHBaG3kE?e=ESMguTPC Specs:Nitro AN517-51-Model Number: N18C4-CPU: Intel Core i5-9300H... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Guilherme Mendonca, Jan 6, 2023.

  1. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...


    Link to the CBS file: https://1drv.ms/u/s!At9cBP4eDztWmz_-JqClPHBaG3kE?e=ESMguTPC Specs:Nitro AN517-51-Model Number: N18C4-CPU: Intel Core i5-9300H 2.40GHz-GPU: Nvidia Geforce GTX 1650-BaseBoard Manufacturer: CFL-BaseBoard Product: Superb_CFS-BaseBoard version: V1.33-BIOS Version/Date: Insyde Corp. V1.33 17/11/20

    :)
     
    Guilherme Mendonca, Jan 6, 2023
    #1
  2. phrab Win User

    Understanding the CBS log & repairing corrupt files

    Thank you so much for your help! I ran:

    Repair-WindowsImage -Online -RestoreHealth


    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.

    I then rebooted.

    Then I ran:
    c:\>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.

    Then I ran:
    PS C:\> Repair-WindowsImage -Online -CheckHealth

    Path :
    Online : True
    ImageHealthState : Healthy
    RestartNeeded : False

    PS C:\> Repair-WindowsImage -Online -ScanHealth


    Path :
    Online : True
    ImageHealthState : Healthy
    RestartNeeded : False

    I am not sure whether the corrupted files were repaired or not because the "Repair-WindowsImage -Online -RestoreHealth" said it made repairs & then sfc /scannow said it found & made repairs.

    I did notice that I ran all these from C:\ & Brink's tutorial has it run from C:\Windows\System32. I don't know if that makes a difference.

    Does it look like my files should be OK now or is there something else I should do to check?
     
    phrab, Jan 7, 2023
    #2
  3. phrab Win User
    Understanding the CBS log & repairing corrupt files

    I've been getting some event errors lately, in particular 2 errors.

    Date: 10/21/2019 8:54:17 AM
    Type: ErrorEvent: 1020Source: Microsoft-Windows-Perflib

    The required buffer size is greater than the buffer size passed to the Collect function of the "C:\Windows\System32\perfts.dll" Extensible Counter DLL for the "LSM" service. The given buffer size was 34008 and the required size was 45368.

    Date: 10/21/2019 2:07:45 PM
    Type: WarningEvent: 1008Source: Microsoft-Windows-Perflib

    The Open procedure for service ".NETFramework" in DLL "C:\WINDOWS\system32\mscoree.dll" failed with error code The system cannot find the file specified.. Performance data for this service will not be available.

    So I went to https://support.microsoft.com/en-us/...rrupted-system and ran

    sfc /scannow

    I got the message:
    Windows Resource Protection found corrupt files but was unable to fix some of them.For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log.

    I tried to follow the rest of the steps listed on the support page, but got lost in the details.

    1. When I used an elevated Powershell & ran the suggested command, I got:

    PS C:\> findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

    out-file : Could not find a part of the path 'C:\%userprofile%\Desktop\sfcdetails.txt'.At line:1 char:1+ findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\s ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How... :)) [Out-File], DirectoryNotFoundException + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

    2. I manually went to C:\Windows\Logs\CBS & opened CBS.log.There was so much detail that I couldn't follow what was corrupt. I've attached the log.

    I would appreciate anyone telling me what files are corrupt & how to replace them. Thank you in advance!
     
    phrab, Jan 7, 2023
    #3
  4. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

    Ran sfc /scannow. Found corrupt files.

    Hi,

    I ran sfc /scannow on my Windows 10 desktop and got the response below:

    Microsoft Windows [Version 10.0.17134.523]

    (c) 2018 Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.

    Verification 100% complete.

    Windows Resource Protection found corrupt files but was unable to fix some of them.

    For online repairs, details are included in the CBS log file located at

    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline

    repairs, details are included in the log file provided by the /OFFLOGFILE flag.

    Did not find any "log" from the directions above.

    Please help,

    Thanks,

    Joe
     
    jdelaney77, Jan 7, 2023
    #4
Thema:

sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

Loading...
  1. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How... - Similar Threads - sfc scannow found

  2. SFC /SCANNOW found corrupt files but cannot fix some of them

    in Windows 10 Gaming
    SFC /SCANNOW found corrupt files but cannot fix some of them: Here's my CBS log, unfortunately i cannot paste the contents of it because it's unreadable, due to this forum's line character limit. Here's the link to my OneDrive folder containing CBS.log: Also it says here to use the /OFFLOGFILE flag but what excactly should I do ? Thank...
  3. SFC /SCANNOW found corrupt files but cannot fix some of them

    in Windows 10 Software and Apps
    SFC /SCANNOW found corrupt files but cannot fix some of them: Here's my CBS log, unfortunately i cannot paste the contents of it because it's unreadable, due to this forum's line character limit. Here's the link to my OneDrive folder containing CBS.log: Also it says here to use the /OFFLOGFILE flag but what excactly should I do ? Thank...
  4. SFC /SCANNOW found corrupt files but cannot fix some of them

    in Windows 10 BSOD Crashes and Debugging
    SFC /SCANNOW found corrupt files but cannot fix some of them: Here's my CBS log, unfortunately i cannot paste the contents of it because it's unreadable, due to this forum's line character limit. Here's the link to my OneDrive folder containing CBS.log: Also it says here to use the /OFFLOGFILE flag but what excactly should I do ? Thank...
  5. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

    in Windows 10 Gaming
    sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...: Link to the CBS file: https://1drv.ms/u/s!At9cBP4eDztWmz_-JqClPHBaG3kE?e=ESMguTPC Specs:Nitro AN517-51-Model Number: N18C4-CPU: Intel Core i5-9300H 2.40GHz-GPU: Nvidia Geforce GTX 1650-BaseBoard Manufacturer: CFL-BaseBoard Product: Superb_CFS-BaseBoard version: V1.33-BIOS...
  6. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

    in Windows 10 Software and Apps
    sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...: Link to the CBS file: https://1drv.ms/u/s!At9cBP4eDztWmz_-JqClPHBaG3kE?e=ESMguTPC Specs:Nitro AN517-51-Model Number: N18C4-CPU: Intel Core i5-9300H 2.40GHz-GPU: Nvidia Geforce GTX 1650-BaseBoard Manufacturer: CFL-BaseBoard Product: Superb_CFS-BaseBoard version: V1.33-BIOS...
  7. Help SFC /Scannow Found Corrupt Files CBS Log Attached

    in Windows 10 Network and Sharing
    Help SFC /Scannow Found Corrupt Files CBS Log Attached: I will list all my system details below that are relevant unless more are requested. I keep getting an error when shutting my system down I use the Power > Shutdown method. I ran sfc /scannow to find the issue and found that there are corrupt files in my system. To counteract...
  8. sfc scannow found some corrupt files but cannot repair them

    in AntiVirus, Firewalls and System Security
    sfc scannow found some corrupt files but cannot repair them: I do an sfc scan everyweek just to be on the safer side, but when I ran it this week, it showed some corrupted files which couldn't be repaired, also I couldn't understand the CBS log file, pls help me. For info, I have: Windows 10 Home Single Language 64-Bit Build...
  9. sfc /scannow 'Found corrupt files but cannot repair some of them' - Win10 v1903

    in Windows 10 BSOD Crashes and Debugging
    sfc /scannow 'Found corrupt files but cannot repair some of them' - Win10 v1903: I got a system updater on the first of August and now my machine randomly blue screens regularly. There's no discernible pattern to it (sometimes I'll be watching twitch, sometimes I'll be using Visual Studio Code + Slack, sometimes I walk away and come back to a restarted...
  10. sfc /scannow found corrupt files but cannot repair some of them

    in Windows 10 BSOD Crashes and Debugging
    sfc /scannow found corrupt files but cannot repair some of them: I've been trying to fix this for a few days now. I've tried the DISM command that that failed as well. I have not been able to interpret the CBS file well enough to single out the exact file(s) that are corrupted. I've tried making sure my network driver is up to date and it....