locked
Large CBS log files causing server 2012 to run out of space RRS feed

  • Question

  • I have a windows server 2012 system that has run out of disk space this morning upon investigating what has used all the space i have found that under c:\windows\logs\CBS

    there are several logs there which are very large firstly there is a CBS.log file which is 2.07GB

    then there is another which is CbsPersist_20140428064839.log and thats taking up 33.06GB.

    What are these files for and how can i safely resolve this problem?
    Thursday, May 1, 2014 10:38 AM

Answers

  • The SFC.exe program writes the details of each verification operation and of each repair operation to the CBS.log file. The CBS.persist.log is generated when the CBS gets to be around 50 meg in size. CBS.log is copied to cbs.persist.log and a new cbs.log file is started.

     

    It is useful only for troubleshooting issues. If you are sure your system is running fine, you can delete these files. SFC.exe will create a new one, next time it is run.

     

    1. Disable the trusted installer service (Windows Modules Installer)

    2. Delete/move all of the current CBS log files from the \Windows\CBS\Logs directory

    3. Restart the Windows Modules Installer service

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


    • Proposed as answer by Justin Gu Sunday, May 4, 2014 6:54 AM
    • Edited by Dave PatrickMVP Sunday, May 4, 2014 1:33 PM
    • Marked as answer by Justin Gu Thursday, May 8, 2014 5:16 PM
    Friday, May 2, 2014 9:27 PM

All replies

  • The SFC.exe program writes the details of each verification operation and of each repair operation to the CBS.log file. The CBS.persist.log is generated when the CBS gets to be around 50 meg in size. CBS.log is copied to cbs.persist.log and a new cbs.log file is started.

     

    It is useful only for troubleshooting issues. If you are sure your system is running fine, you can delete these files. SFC.exe will create a new one, next time it is run.

     

    1. Disable the trusted installer service (Windows Modules Installer)

    2. Delete/move all of the current CBS log files from the \Windows\CBS\Logs directory

    3. Restart the Windows Modules Installer service

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


    • Proposed as answer by Justin Gu Sunday, May 4, 2014 6:54 AM
    • Edited by Dave PatrickMVP Sunday, May 4, 2014 1:33 PM
    • Marked as answer by Justin Gu Thursday, May 8, 2014 5:16 PM
    Friday, May 2, 2014 9:27 PM
  • Hi Dean,

    Just check if the suggestion that Dave provided can help you. If any update, please feel free to let us know.

    Best regards,

    Justin Gu

    Sunday, May 4, 2014 6:55 AM