Windows – Managing CBS.log files on Windows 2008R2

log-fileswindowswindows-server-2008-r2

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?

Best Answer

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.