Windows 10: How do I repair corrupted files from CBS.log file result

Discus and support How do I repair corrupted files from CBS.log file result in Windows 10 Software and Apps to solve the problem; Windows 10 HomeVersion: 22H2I have a prebuilt ibuypower computer so I don't know if that effects anything.I was hit with SYSTEM_SERVICE_EXCEPTION and... Discussion in 'Windows 10 Software and Apps' started by DanPK19, Sep 26, 2023.

  1. DanPK19 Win User

    How do I repair corrupted files from CBS.log file result


    Windows 10 HomeVersion: 22H2I have a prebuilt ibuypower computer so I don't know if that effects anything.I was hit with SYSTEM_SERVICE_EXCEPTION and BSOD 2 times in a week already.I ran administrative command prompt and input sfc /scannow and went through and found the corrupted files.Here is some of what I found in the CBS.log file when I looked for "corrupt" Expected: {l:32 ml:33 b:a63ed4cf89181233746c694bd4c0ffe697c7fc137be8a0387671e49b725d3d7e}. Actual: {l:32 b:821e370679f3d1129c433d01517566d8f443057f36999f65128b48f43f86f161}. 2023-09-26 18:27:06, Info CSI 0000026a [SR

    :)
     
    DanPK19, Sep 26, 2023
    #1
  2. 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: How do I repair corrupted files from CBS.log file result :)) [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, Sep 26, 2023
    #2
  3. Corrupted file RAR

    If the archive has been created using WinRAR, why don't you try WinRAR itself? It has a built-in repair feature for repairing corrupted archive (ZIP as well as RAR). Follow the steps given below:
    • Open WinRAR application in your system.
    • Now click on File tab > Open or simply press Ctrl+O.
    • A small window "Find Archive" will pop up. Locate the corrupt RAR archive from your system directory and select it.
    • Now click Open button.
    • Click Tools tab > Repair archive or simply press Alt+R.
    • Again a small window "Repairing File name.rar" will pop up.
    • Now click Browse to select a location to save the repaired archive.
    • Check the box "Treat the corrupt archive as RAR" and click OK.
    • WinRAR will start repairing of corrupt RAR archive. Once it gets completed click Close.
    I hope the above steps will help you repair the corrupted RAR archive.

    Thanks.
     
    Lincoln Dunne, Sep 26, 2023
    #3
  4. phrab Win User

    How do I repair corrupted files from CBS.log file result

    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, Sep 26, 2023
    #4
Thema:

How do I repair corrupted files from CBS.log file result

Loading...
  1. How do I repair corrupted files from CBS.log file result - Similar Threads - repair corrupted files

  2. corrupted cbs files

    in Windows 10 Gaming
    corrupted cbs files: My PC keeps getting the bsod. I ran the scan health, restore health & scansfx code to fix the problem and it turns out like this How can I fix the corrupted files? https://answers.microsoft.com/en-us/windows/forum/all/corrupted-cbs-files/fc98b420-8618-48cc-8866-c7af1cc867ec
  3. corrupted cbs files

    in Windows 10 Software and Apps
    corrupted cbs files: My PC keeps getting the bsod. I ran the scan health, restore health & scansfx code to fix the problem and it turns out like this How can I fix the corrupted files? https://answers.microsoft.com/en-us/windows/forum/all/corrupted-cbs-files/fc98b420-8618-48cc-8866-c7af1cc867ec
  4. How do I repair corrupted files from CBS.log file result

    in Windows 10 Gaming
    How do I repair corrupted files from CBS.log file result: Windows 10 HomeVersion: 22H2I have a prebuilt ibuypower computer so I don't know if that effects anything.I was hit with SYSTEM_SERVICE_EXCEPTION and BSOD 2 times in a week already.I ran administrative command prompt and input sfc /scannow and went through and found the...
  5. How do I repair corrupted files from CBS.log file result

    in Windows 10 BSOD Crashes and Debugging
    How do I repair corrupted files from CBS.log file result: Windows 10 HomeVersion: 22H2I have a prebuilt ibuypower computer so I don't know if that effects anything.I was hit with SYSTEM_SERVICE_EXCEPTION and BSOD 2 times in a week already.I ran administrative command prompt and input sfc /scannow and went through and found the...
  6. 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...
  7. 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...
  8. sfc /scannow found corrupt files but cannot repair some of them. CBS log file included. How...

    in Windows 10 BSOD Crashes and Debugging
    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...
  9. SFC not repairing file. HRESULT = 0x80070002 In CBS Log

    in Windows 10 Software and Apps
    SFC not repairing file. HRESULT = 0x80070002 In CBS Log: Hey, I have been having problems updating my computer for awhile pushing them off thinking nothing of it but just recently I was trying to install apps on MC Store and it would not download as well as my Windows Updates, giving me the error 0x800703f1. I did some research and...
  10. Understanding the CBS log & repairing corrupt files

    in Windows 10 Performance & Maintenance
    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...