Just got this from VL: You did a Win 7 Logfile Compression Bug article which I found & used because my on my Win7 64 Professional Asus computer th
[See the full post at: A question about Win7 Logfile compression]
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
A question about Win7 Logfile compression
Home » Forums » Newsletter and Homepage topics » A question about Win7 Logfile compression
- This topic has 8 replies, 6 voices, and was last updated 7 years, 6 months ago.
Tags: Log file compression
AuthorTopicViewing 5 reply threadsAuthorReplies-
DrBonzo
AskWoody PlusNovember 17, 2017 at 5:12 pm #146141It’s a popular article because I think it’s a popular problem. I think anyone buying a new win 7 computer within the last couple years might encounter the CBS and CAB file problem if they need to do a bunch of updates to get their computer up to date. It’s a problem MS and most computer manufacturers are aware of but refuse to do anything about.
I bought a new Win 7 laptop from Dell in April 2016. The computer was made in September 2015 and so I had to install a bunch of updates/patches to get it up to date. When you do that, CBS persist files get generated that are bigger than 2 GB and can’t be compressed (zipped) by the algorithm Win 7 uses to compress. A bunch of fairly large CAB files are also generated. So these files keep getting generated and before you know it your hard drive is full. You can google this issue and get more details.
Here’s what I did when I discovered my hard drive was rapidly filling. I found the oldest CBS persist file that was over 2GB and dragged it to the recycle bin. Just doing that seemed to keep my hard drive from filling up (apparently the zip/compression algorithm works after the 2GB file gets removed – don’t know why) , and I haven’t had any problems with that since. The CBS persist files are found at Windows —> Logs —> CBS. Click on the CBS folder and you’ll see the files.
If you go to Windows —> Temp and open the Temp file you’ll see the cab files. On my computer there were literally a few thousand of them. They seem to come in sets of five, with one of them in a set being about 140 MB and the other 4 0 (zero) MB. I dragged a set of 5 at random to the recycle bin to see what happened, and I can not detect any effects on my computer function. I’m guessing you can get rid of them without any harm.
The CBS and Cab files are generated when updates/patches are installed on your computer, so there is a connection between them and Windows Update. Perhaps if some of them get deleted Windows Update won’t work properly. It does seem to work for me, but I have it set for “check for updates but let me choose whether to download and install them”. I end up doing almost all actual update installs manually, so even if WU isn’t working, I’d just disable it – as many folks here would recommend anyway.
Hope this helps I’m a self taught nontechie group B guy so you might well find better help from other forum members, but maybe the above will be of some use.
-
glnz
AskWoody Plus -
anonymous
GuestNovember 18, 2017 at 9:26 pm #146314 -
GoneToPlaid
AskWoody LoungerNovember 18, 2017 at 10:16 pm #146325Hi everyone,
I deleted my post from late last night since, after further looking into this issue, I realized that my conclusions were not quite correct. None of my Win7 computers are compressing my CBS or CBSPersist logs. This perhaps is because I set Disk Space Usage under the Configure menu for System Protection to 40%, and perhaps because I periodically delete much older Restore Points after having made “known good” backups of the OS partitions. Note that the Disk Space Usage setting for System Protection is merely a “target” setting for how much disk space would be allowed to be consumed by Restore Points.
I have a suggestion for those who are experiencing this topic’s issue:
1. Set the Disk Space Usage under the Configure menu for System Protection to 40%. Remember, this merely is a target or maximum for how much disk space System Restore points would be allowed to consume. If this setting is set to a really low value, I have confirmed that, no matter how much free space you have on your OS partition, Windows will compress all CBS and CBSPersist log files into CAB files. I am not sure what % setting triggers the automatic log file compression into CAB files, regardless of how much free space you have on your OS partition.
2. Optionally, you might want to free up space on your OS partition if there is not much available free space on your OS partition. You could either move some data to another hard drive partition, or use a utility such as the free version of CCleaner to manually delete much older Restore Points that you no longer need. Those older Restore Points can consume quite a bit of space on your OS partition. When I say “that you no longer need”, I mean to say that you have a “known good” backup of your OS partition which was created on a later date than the older Restore Points which you want to delete. This feature to delete older Restore Points is under the Tools menu in CCleaner. You must manually select the older Restore Points which you want to delete. Note that you will want to configure the free version of CCleaner to NOT automatically start when Windows starts, and turn off the System Monitoring and Enable System Monitoring features under CCleaner’s Monitoring menu. I never let any cleaner utility automatically run. Instead, I always run them manually when I need to use them, and only after Windows has been running for at least 10 minutes. Why? Because some cleaner utilities overlap in what they can clean, leading to conflicts, and because Windows isn’t stable until it has been running for at least 10 minutes. Various delayed startup tasks run during those first 10 minutes after Windows started. If you are not familiar with using CCleaner, be careful about what optional settings you enable. For example, you could easily and accidentally delete all of your web browser passwords, or other important stuff.
3. Then follow the steps in Woody’s article for deleting all of the CBS and CBSPersist logs and compressed CAB files. New log files will be created after you reboot your computer in the following step.
4. Reboot after you have performed the above steps.
Now, and hopefully, Windows will not automatically compress all newly created CBS and CBSPersist logs. If you see that these newly created logs become quite large and rather quickly, perhaps within hours or after a day or so, then this most likely is due to issues which were created after partially installing updates and then hitting Cancel to stop the update installation(s). Fixing this issue is a separate topic.
Best regards,
–GTP
-
GoneToPlaid
AskWoody LoungerNovember 18, 2017 at 10:18 pm #146326I saw my c drive space disappearing, too. However, when I followed the steps, my Windows Modules Installer service was already stopped. I also did not have endless log files, nor endless cab files. So have to hunt for something else eating up disk space. EDIT html to text
Most likely, a ton of much older System Restore points. See my post about how to remove the much older ones which you no longer need.
1 user thanked author for this post.
-
mazzinia
AskWoody LoungerNovember 19, 2017 at 7:14 am #146380Personally I solved the space “vanishing” issue with a different approach to use system tools… aka the Disk Cleanup feature ( and the further Administrator option offered after the Disk Cleanup popup finishes opening/loading ).
Since as Admin various system things, including old patches and logs, can be removed… it takes time, a lot of it, but I assume it’s the cleanest option too.
-
GoneToPlaid
GuestNovember 19, 2017 at 12:25 pm #146425Yes, that is the additional solution to try if the steps I mentioned did not stop the creation of overly large CBS and CBSPersist logs which Windows then tries to compress if there is not much free space available and/or if the percentage for Disk Space Usage for System Protection is set too low.
-
GoneToPlaid
AskWoody Lounger
-
-
Viewing 5 reply threads -

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
-
Trump signs Take It Down Act
by
Alex5723
4 hours, 20 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
4 hours, 46 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
5 hours, 54 minutes ago -
Success Knows No End in the World of Online Slots (Awaiting moderation)
by
isobelhartmann1
6 hours, 3 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
7 hours, 40 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
12 hours, 49 minutes ago -
hibernate activation
by
e_belmont
16 hours, 35 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
20 hours, 23 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
23 hours, 28 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
23 hours, 29 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
2 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 4 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 11 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 18 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
4 hours, 50 minutes ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 23 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 20 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
1 day, 1 hour ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
13 hours, 57 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
20 hours, 21 minutes ago -
Apps included with macOS
by
Will Fastie
18 hours, 13 minutes ago -
Xfinity home internet
by
MrJimPhelps
15 hours ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 16 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 20 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
3 days ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days, 3 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
7 hours, 11 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 17 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
3 days, 7 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 5 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.