Monday, July 11, 2016

Large CBS folder in Windows 2008 R2

Possible fix to problem of running out of C: drive space due to log/cab files filling up C:\Windows\Logs\CBS folder...


To reset the compression in the CBS folder use the following method:
  1. Disable TrustedInstaller.exe (Windows Module Installer) in Taskmanager Services
  2. Delete all the .log files in the C:\Windows\Logs\ CBS directory, delete the .persist and .cab files as well
  3. Enable TrustedInstaller.exe again
NOTE: Cleaning up the CBS folder resets the compression process, so the new created log files should not get bigger than 50 Mb before the compression into .cab files as it should be.


Reference:
http://superuser.com/questions/803842/why-is-cbs-log-file-size-20-gb