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]
![]() |
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 |
-
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
-
Office gets current release
by
Susan Bradley
1 hour, 10 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 hours, 47 minutes ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 hour, 43 minutes ago -
Stop the OneDrive defaults
by
CWBillow
3 hours, 36 minutes ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
13 hours, 32 minutes ago -
X Suspends Encrypted DMs
by
Alex5723
15 hours, 44 minutes ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
16 hours, 2 minutes ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
16 hours, 39 minutes ago -
OpenAI model sabotages shutdown code
by
Cybertooth
17 hours, 16 minutes ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
5 hours, 26 minutes ago -
Enabling Secureboot
by
ITguy
12 hours, 25 minutes ago -
Windows hosting exposes additional bugs
by
Susan Bradley
1 day, 1 hour ago -
No more rounded corners??
by
CWBillow
20 hours, 58 minutes ago -
Android 15 and IPV6
by
Win7and10
10 hours, 44 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
1 day, 13 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
1 day, 16 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
1 day, 10 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day, 23 hours ago -
May preview updates
by
Susan Bradley
1 day, 10 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 day, 2 hours ago -
Just got this pop-up page while browsing
by
Alex5723
1 day, 15 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
1 day, 12 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
14 hours, 59 minutes ago -
At last – installation of 24H2
by
Botswana12
2 days, 15 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
11 hours, 46 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
3 days, 3 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 1 hour ago -
Limited account permission error related to Windows Update
by
gtd12345
3 days, 16 hours ago -
Another test post
by
gtd12345
3 days, 16 hours ago -
Connect to someone else computer
by
wadeer
3 days, 11 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.