Disk Clean-up and the CBS log file that it creates

Discussion in 'Windows 7' started by Palladin, Nov 2, 2015.

  1. Palladin

    Palladin MDL Senior Member

    Feb 1, 2014
    476
    248
    10
    #1 Palladin, Nov 2, 2015
    Last edited: Nov 3, 2015
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,142
    84,325
    340
    #2 abbodi1406, Nov 2, 2015
    Last edited by a moderator: Apr 20, 2017
    Unchecking "Windows Update Cleanup" in Disk Cleanup should spare you that

    CBS.log is designed to log any component servicing operation (updates)
    running DeepClean require evaluating all installed KB packages to see which are superseded

    anyway, if CBS.log really bothers you, you can disable it completely in registry:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing]
    "EnableLog"=dword:00000000
    
    
    but, that key is protected by Trusted Installer
    so you need to manually add permissions for administrator "through registry editor" to be able to change EnableLog value
     
  3. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    #3 Skaendo, Nov 2, 2015
    Last edited: Nov 2, 2015
    I'm pretty sure that the time from 09:07:07 to 09:18:35 is 11 minutes and 28 seconds, not 11 seconds.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Palladin

    Palladin MDL Senior Member

    Feb 1, 2014
    476
    248
    10
    #4 Palladin, Nov 2, 2015
    Last edited: Nov 3, 2015
    (OP)
    Of course you are correct, guess a case of temporary dumb ass on my part. Sorry. :eek:

    Now that you mention it, I took a look at the second pic, and at 09:08:33 it gets to line 610,991 in a little over one minute after it starts, and then does nothing for the next 10 minutes.

    Hopefully I can fix the pics. If not I'll just post some new ones.

    Nice catch, BTW.

    =================
    Edit: OK, got it fixed, and removed the incorrect pic and replaced it with a new one.