Windows 10: so my cbs.log file is corrupted ran scans and everything wiped my computer still there

Discus and support so my cbs.log file is corrupted ran scans and everything wiped my computer still there in Windows 10 Software and Apps to solve the problem; im really worrying right now... Discussion in 'Windows 10 Software and Apps' started by josiahRiggs, Dec 14, 2022.

  1. so my cbs.log file is corrupted ran scans and everything wiped my computer still there


    im really worrying right now

    :)
     
    josiahRiggs, Dec 14, 2022
    #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: so my cbs.log file is corrupted ran scans and everything wiped my computer still there :)) [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, Dec 14, 2022
    #2
  3. 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, Dec 14, 2022
    #3
  4. l_turn9 Win User

    so my cbs.log file is corrupted ran scans and everything wiped my computer still there

    ran a SFC Scan and it suggested I run the CBS process

    As mentioned, I had some odd behavior and ran SFC /Scannow. It said I had corrupted files it could not fix and suggested I run a CBS process. A log file was produced but I don't know what I'm reading. Can someone help?

    Should I post the log here? I have no idea if it contains personal info... and it's pretty large (78KB)

    Suggestions?
     
    l_turn9, Dec 14, 2022
    #4
Thema:

so my cbs.log file is corrupted ran scans and everything wiped my computer still there

Loading...
  1. so my cbs.log file is corrupted ran scans and everything wiped my computer still there - Similar Threads - cbs log file

  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. so my cbs.log file is corrupted ran scans and everything wiped my computer still there

    in Windows 10 Gaming
    so my cbs.log file is corrupted ran scans and everything wiped my computer still there: im really worrying right now https://answers.microsoft.com/en-us/windows/forum/all/so-my-cbslog-file-is-corrupted-ran-scans-and/a7448c4a-0a57-4c50-900c-f0d99583ecc0
  5. CBS log corrupted files- Weird Windows 10 issue.

    in Windows 10 Gaming
    CBS log corrupted files- Weird Windows 10 issue.: Hello,I kept having an issue with my current Windows 10 pro version 19044.1899.After 30 minutes the computer starts lagging visually and it is really annoying.I know now it is not a hardware issue because I am using a brand new GPU.I have run DSIM and I got this files that...
  6. CBS Log not showing any corrupted files after SFC scan found and repaired.

    in Windows 10 Gaming
    CBS Log not showing any corrupted files after SFC scan found and repaired.: Hi,I run a C: backup about once a week. But before the backup, I run SFC /scannow. Sometimes I get "found corrupted files and they were repaired.So looking as the CBS Log file and can not find any repairs listed. I do a search in the CBS file for "corrupted" and it does not...
  7. CBS Log not showing any corrupted files after SFC scan found and repaired.

    in Windows 10 Software and Apps
    CBS Log not showing any corrupted files after SFC scan found and repaired.: Hi,I run a C: backup about once a week. But before the backup, I run SFC /scannow. Sometimes I get "found corrupted files and they were repaired.So looking as the CBS Log file and can not find any repairs listed. I do a search in the CBS file for "corrupted" and it does not...
  8. Ran chkdsk and my files recovered but not fully and still corrupted and unreadable.

    in Windows 10 Ask Insider
    Ran chkdsk and my files recovered but not fully and still corrupted and unreadable.: Hey guyz please help because the files I have lost or corrupted are very important to me. I ran chkdsk coz two of my folders were not opening. There were notepad and word files. After running it, the folder opened but the files in it, when i opened them, some of them have...
  9. CBS log from SFC scan

    in Windows 10 Network and Sharing
    CBS log from SFC scan: after running sfc /scannow errors were found & this is where the results were found . I have no idea how to read this. https://1drv.ms/u/s!At73nWtbQSuIgbcKmbFBuM-QNwW_0Q?e=scbcIP...
  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...