I’ve seen reports of hundreds of GB of junk files maxing out big hard drives. Microsoft knows all about the problem, but hasn’t deigned to fix it. Inf
[See the full post at: Long-standing bug in Win7 log file compression can suddenly fill your hard drive]
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Long-standing bug in Win7 log file compression can suddenly fill your hard drive
Home » Forums » Newsletter and Homepage topics » Long-standing bug in Win7 log file compression can suddenly fill your hard drive
- This topic has 25 replies, 3 voices, and was last updated 8 years, 9 months ago by
abbodi86.
AuthorTopicwoody
ManagerAugust 25, 2016 at 7:37 am #36648Viewing 24 reply threadsAuthorReplies-
Bob?(Maybe?err…ok)
Guest -
woody
Manager -
ch100
AskWoody_MVPAugust 25, 2016 at 9:23 am #36651I think there are good chances for this to happen when there is a large amount of Windows updates like in the case of a clean install.
Trusted Installer is managing the Component Based Servicing (CBS – the logs are located in that folder).
When Windows Update does a scan, there are 2 processes which run in sequence. First is Trusted Installer which does an inventory of what is on the system. This is logged in clear text on the CBS folder. When the amount of logging is huge, there is a possibility that one of the logs expands to more than 2 GB and when the makecab.exe does its compression cleanup, it crashes creating temporary files in the process, never finishing the compression job. And this repeats indefinitely until the temp files reach many GB and become noticeable.
The second process running during Windows Update and immediately after TrustedInstaller.exe is svchost.exe which does its scanning. This second process is in fact the Windows Update service wuauserv which was discussed here many times and affected by a separate bug – the known looping issue when there is a large amount of superseded updates to be processed.There are other instances in which TrustedInstaller.exe runs outside of Windows Update, but related to installing Windows components. On servers this happens when the so called “Roles” and/or “Features” are installed or uninstalled. Every such activity is logged in detail in C:WindowsLogsCBSCBS.log, potentially creating the situation presented in the InfoWorld article.
-
Noel Carboni
GuestAugust 25, 2016 at 9:31 am #36652A quick check of my most critical Win 7 system here, which primarily functions as a file server, shows a total of 85 MB of files in C:WindowsLogsCBS, the current CBS.log occupying only about 1 MB and the latest of 5 .cab files being about 12 MB and dated from May…
My strategy of disabling the Windows Update service except for when I want it to run means that the typical servicing activities that could lead to log bloat just aren’t happening. I find that comforting.
Everything I see reaffirms that my conservative system management strategy that involves taking control of WHAT runs WHEN is the right one. Who, today, *really* needs their older Windows system trying to update itself at a frantic pace? Especially now that Microsoft has proven that everything they are trying to deliver through Windows Update isn’t goodness and light.
http://Noel.ProDigitalSoftware.com/ForumPosts/Win7/HealthyWin7System.png
The question to ask oneself is: If I have a functional and stable older Windows system, used in a fashion that doesn’t put it in security risk situations, do I need Windows Update **at all**?
The answer isn’t “no” necessarily, but neither is it the simple, easy “yes” that it might have once been.
One’s Windows Update strategy is something that should occasionally be reviewed.
-Noel
-
LL
GuestAugust 25, 2016 at 9:51 am #36653I seen it happen after patch KB31616108 on W7/64 called for a restart to complete the install. The configuration step took several restarts then showed as failed to configure. Before trying again I decided to do a cold boot as I assumed the system needed to be free of all clutter. Before doing that I noticed the cab log had ballooned to around 4 GB from almost nothing so I ran ccleaner to erase the files and then did the shutdown
On reboot I started the MSI up again and the install and configuration was successful. The cab log was small after this.
I expect the failure to configure resulted in excessive log entries. Kernel updates can be unpredictable – never the same on all system configurations. Not saying that this is the cause, but W7 has had quite a few kernel updates recently and the problem seems to be recent.
Or maybe that fainting goat is the real problem (ha, really love that) it keeled over and revived itself. MS has its moments.
-
woody
Manager -
Jack
GuestAugust 25, 2016 at 1:31 pm #36655Hi Woody. This does sound like the problem I’ve been having. I’m on 8.1 and it happened after I installed update kb3179574 on my main machine. It caused some error on boot up and caused I s*** you not 14-16 gigs to be eaten up. And each time I reinstalled Windows because I didn’t know any other way to fix it.
I’m on a 250 GB SSD so when I have 16 gigs being eaten up naturally I got a bit confused. Update kb3179574 caused some sort of boot up error. So should I avoid kb3179574 or install it and try this fix?
-
woody
Manager -
abbodi86
GuestAugust 25, 2016 at 4:31 pm #36657cbs.log bloat can be limited with registry tweak
http://pastebin.com/wrpqw1SDCBSLogCompress
cbs.log always NTFS compressedNumCBSPersistLogs
the number of cabbed logs, setting to 0 eliminate them (not created)and if you want to get rid of cbs.log completely (not created), change EnableLog to 0 in
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionComponent Based Servicing]
require taking permissions ownership -
ch100
AskWoody_MVPAugust 25, 2016 at 5:42 pm #36658Thanks for confirming. My recommendation and I insist about this is to avoid CCleaner unless you really, really understand everything it does. Maybe we should poll everyone and find out how many of those who have less stable systems use third-party products like CCleaner or excessive security suite products making big claims but in fact breaking systems.
-
ch100
AskWoody_MVPAugust 25, 2016 at 5:45 pm #36659This is not a fix as such, it is a good idea to keep an eye on those logs and see if any goes above 2GB. If this happens, then it is time to take action. I don’t expect this to happen many times in the life time of a PC used and updated normally, but it may happen once or twice in which case it can be catastrophic, requiring reinstallation if troubleshooting does not provide relevant results.
-
ch100
AskWoody_MVP -
Anonymous
Guest -
ch100
AskWoody_MVPAugust 26, 2016 at 10:23 pm #36662You are right, I made reference to the Registry cleaning feature of CCleaner. Just as a matter of fact, why don’t you use the built-in features for each browser to remove what you mentioned in your post? Any third party tool, even those most evolved and trusted like CCleaner can introduce some sort of risk.
-
Hugh McFarlane
GuestAugust 27, 2016 at 8:02 am #36663For my part, I find that CCleaner makes my system __more stable__ rather than less. I have read and (I think) understood all of the check-boxes. But without CCleaner, Google Search won’t run on my machine (yes I do know what the issue is, and what Google’s solution is, but I’m not going to play their game either).
-
b
GuestAugust 27, 2016 at 11:30 am #36664Slow news month?
This issue is more than four years old: CBS.log file HUGE
https://social.technet.microsoft.com/Forums/en-US/3b0b2bbc-d295-4a1b-8818-0b76ebe36b5a/cbslog-file-hugeAnd the solution has been well-documented for 3.5 years:
Mysterious cab files fill-up temp folder
http://felixyon.blogspot.com/2013/03/mysterious-cab-files-fill-up-temp-folder.htmlHas anything happened this year to make it topical again?
-
woody
ManagerAugust 27, 2016 at 1:17 pm #36665I’m seeing more reports of the same problem, probably due to people trying to perform clean installs of Windows 7. Felix’s blogspot post is accurate, but doesn’t include the necessary steps to perform the delete – if you follow his steps, you’ll be locked out of the file.
The bug itself has been around as long as Windows 7, best I can tell. That’s why I called it a “long-standing bug.” Microsoft still hasn’t fixed it.
-
LL
GuestAugust 27, 2016 at 2:36 pm #36666Agreed, I could get the browsers to clean on exit by browser settings but I chose not to. I open and close several browsers during the day and appreciate the cache being there. The main reason I used ccleaner in this case was because it was a quick way to get rid of everything at once. I was able to view the temp file details in ccleaner before I erased them – the cab file log file being the major contributor.
-
ch100
AskWoody_MVPAugust 27, 2016 at 5:05 pm #36667If it suits you and works, it should be fine. I only flagged potential issues. CCleaner is a good and very powerful tool, only that I am not comfortable with the risks associated and potential for mistakes due mainly to user action. And probably most of all because if something does not go according to the plan, the user is by itself, the support (Microsoft or community) for a particular custom action is minimal.
-
ch100
AskWoody_MVPAugust 27, 2016 at 5:09 pm #36668@woody “…people trying to perform clean installs of Windows 7”
I am wondering why this happens after so many years from the release of Windows 7 (with or without SP1). Rolling back from poor experience with Windows 10 maybe and taking an opportunity to start fresh? I did the same few months ago and don’t feel bad about it, although I keep an eye on Windows 10 mostly due to professional interest.
-
ch100
AskWoody_MVP -
ch100
AskWoody_MVPAugust 27, 2016 at 5:20 pm #36670@abbodi86 I researched your suggestions and found that the values CBSLogCompress and NumCBSPersistLog are already configured on my Windows 7 64 bit, without doing anything special. The behaviour is the known one which is not broken for me. Those values seem not to be configured on servers, but may be default (implicit if missing). I need to do more tests for a definitive conclusion, but if you have more information, I think it would be very useful to understand more about this configuration. On Windows 2012 R2, I found CBS.log being NTFS Compressed, which may take a little bit space in case it expands out of control, but makecab.exe is still looking at the file size and not the space on disk, so NTFS compression may contribute to hiding the problem or delay the troubleshooting.
The value EnableLog set to 0 should do exactly so, I didn’t test it though. It may be very useful in larger image deployments rather than a single home user machine. -
ch100
AskWoody_MVPAugust 27, 2016 at 5:38 pm #36671Nobody claimed to be a new bug discovery. It is just that it is not well known, Microsoft keeps quiet about it instead of documenting it and saying “it is by design” which is the truth and a lot of people complain more and more about issues with Windows Update. This is one of the possible reasons, because if the CBS Servicing Stack is corrupted, the log growing indefinitely and the temp files filling the hard-disk could be one of the symptoms.
-
Hugh McFarlane
GuestAugust 28, 2016 at 12:25 am #36672It’s simply that I am reluctant to formally accept their T&Cs (since I don’t identify myself to them, and they should in any case treat any data about me fairly under Data Protection law). So after a few days, Google Search refuses (understandably) to run. Deleting their cookies makes me look to Google like a newby, who has to be allowed some grace period.
-
abbodi86
Guest
Viewing 24 reply threads - This topic has 25 replies, 3 voices, and was last updated 8 years, 9 months ago by
-

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows hosting exposes additional bugs
by
Susan Bradley
1 hour, 39 minutes ago -
No more rounded corners??
by
CWBillow
4 hours, 4 minutes ago -
Android 15 and IPV6
by
Win7and10
2 hours, 45 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
14 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
16 hours, 42 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
11 hours, 17 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day ago -
May preview updates
by
Susan Bradley
11 hours, 24 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 hours ago -
Just got this pop-up page while browsing
by
Alex5723
16 hours, 13 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
13 hours, 17 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 hours, 37 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 15 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
2 hours, 35 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
2 days, 3 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
2 hours, 11 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 17 hours ago -
Another test post
by
gtd12345
2 days, 17 hours ago -
Connect to someone else computer
by
wadeer
2 days, 11 hours ago -
Limit on User names?
by
CWBillow
2 days, 15 hours ago -
Choose the right apps for traveling
by
Peter Deegan
2 days, 4 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 12 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 11 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
2 days, 7 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
3 days, 3 hours ago -
Woody
by
Scott
3 days, 13 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 12 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
4 days, 3 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 21 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.