# Delete cbs.log file its growing large ?

- Link: https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/
- Published: 2017-02-19T05:06:33+05:30
- Author: Deviprasad Panda

System File Checker is a utility in Windows that allows users to scan for corruptions
in Windows system files and restore corrupted files.Run the System File Checker 
tool ([SFC.exe](https://support.microsoft.com/en-in/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files))
to scan your system files and to repair missing or corrupted system files.CBS.Log
file is generated by the Microsoft Windows Resource Checker (SFC.exe).

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.

**Solution 1 :**

you can try compressing the file:

1.Right click on the CBS.log file
 2.Click on Properties 3. On the General tab, 
click Advanced 4. Check “Compress contents to save disk space” and click on OK

**Solution 2 :**

Another Workaround is to turn off unnecessary services that may calling into CBS;

To disable CBS log, you may change registry key in

**[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component**
 ** 
Based Servicing] EnableLog=dword:00000000**

In addition,also recommended to run sfc/scannow to check the health of system files.

**Solution 3 :**

If you are sure your system is running fine, you can delete this file. SFC.exe will
create a new one, next time it is run.

Please follow below method to delete:

 1. Stop TrustedInstaller.exe (Windows Module Installer) in Taskmanager Services tab.
    Additionally if you cannot, open the Taskmanager Processes tab and End Task the
    same process.
 2. Delete or move all the .log files in the C:\Windows\Logs\CBS directory, you can
    delete the .persist and .cab files as well.
 3. Start Windows Module Installer service (TrustedInstaller.exe) again

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?subject=%5BShared%20Post%5D%20Delete%20cbs.log%20file%20its%20growing%20large%20%3F&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2017%2F02%2F19%2Fdelete-cbs-log-file-growing-large%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2017/02/19/delete-cbs-log-file-growing-large/?share=pinterest)

### Like this:

Like Loading…

### _Related_
