Whilst auditing disk space on our Windows 2008R2 farm we noticed that some servers had quite large C:\Windows\Logs\CBS\CBS.log
files (~1.5GB).
I was under the impression that this particular log file would be periodically compressed into CbsPersist_yyyymmddtttttt.cab
(where y
,m
,d
,t
are year, month day and time respectively) files to reduce space used.
Can I safely delete these large CBS.log
files?
If my understanding about CBS.log
being periodically compressed is correct, why isn't this happening on my servers?
By stopping the "windows module installer" you can safely delete the file, and yes the cab files should be being created, this can happen on Windows 2008R2 when the CBS.log file grows too fast for the compressor to notice (yes, not the greatest way of doing things) or if there is a error during compression. Check the event logs for why this might not be happening.
Be sure you have the latest Windows update agent:
https://support.microsoft.com/en-us/kb/949104
Delete everything in the C:\Windows\Temp folder; you may not be able to delete a few files, that's ok. I've also deleted all but the current month of CbsPersist_.log and CbsPersist_.cab files in the C:\Windows\Logs\CBS folder without issue.