How to Clean Component-Based Servicing Logs (C:\Windows\Logs\CBS)
Location & Quick Verdict
C:\Windows\Logs\CBS
The Windows Module Installer (TiWorker.exe) writes massive text and .cab archives to C:\Windows\Logs\CBS\CBS.log and CbsPersist_*.cab.
How Windows Servicing & Installer Packages Accumulate in Component-Based Servicing Logs (C:\Windows\Logs\CBS)
Windows Component-Based Servicing (CBS), the Windows Update Agent (wuauserv), and WiX/Burn MSI bootstrapper engines stage compressed cabinet (.cab), express delta (.esd), and superseded side-by-side assemblies inside C:\Windows\Logs\CBS. Windows retains many of these payload packages so you can roll back recent cumulative updates or repair installed Visual C++ / .NET runtimes without internet access.
However, once cumulative updates are superseded by newer monthly rollups—or after MSI applications are uninstalled—gigabytes of orphaned payloads remain behind in C:\Windows\Logs\CBS. Following the verified cleanup procedure for Component-Based Servicing Logs (C:\Windows\Logs\CBS) reclaims 1.0 GB – 8.0 GB while preserving active servicing manifests and currently registered uninstaller packages.
# Inspect current disk footprint of Component-Based Servicing Logs (C:\Windows\Logs\CBS) (Read-Only)
$target = "C:\Windows\Logs\CBS"
Get-ChildItem -Path $target -Recurse -Force -ErrorAction SilentlyContinue |
Measure-Object -Property Length -Sum |
Select-Object Count, @{Name="SizeGB";Expression={[math]::Round($_.Sum / 1GB, 2)}}
Manual Cleaning Instructions
- 1 Press Windows Key + R, type C:\Windows\Logs\CBS and press Enter (as Admin).
- 2 Delete old CbsPersist_*.cab and .log files (skip the currently open CBS.log).
Note: If Windows alerts that a file is in use or locked by a background process, close the associated task in Task Manager before deleting, or use SWEEPR Cleaner to release locked handles safely.
Sub-Folders & Cache Locations Breakdown for Component-Based Servicing Logs (C:\Windows\Logs\CBS)
Modern Windows applications and system services split their disk footprint across multiple sub-directories (`Cache_Data`, `Service Worker\CacheStorage`, `Code Cache`, `GPUCache`, and `Crashpad\reports`). Review which sub-folders inside Component-Based Servicing Logs (C:\Windows\Logs\CBS) are safe to purge and which files remain protected:
| Sub-Folder / Cache Location | Storage Role | Typical Footprint | Deletion Safety |
|---|---|---|---|
| C:\Windows\Logs\CBS | Superseded Component Packages & Update Staging Payloads | 1.0 GB – 8.0 GB | 🟢 100% Safe |
| C:\Windows\SoftwareDistribution\Download | Downloaded Windows Update CAB/ESD Installation Packages | 2.0 GB – 16.0 GB | 🟢 100% Safe |
| C:\Windows\WinSxS\Temp\PendingDeletes | Orphaned Servicing Checkpoint Staging Files | 1.0 GB – 9.0 GB | 🟢 100% Safe via DISM |
| Active Windows 11 System32 Binaries & MSI Manifests | Live OS Kernel Files & Active Uninstaller Packages | Protected | 🔒 Protected — Never Touched |
Frequently Asked Questions
Is it safe to delete Component-Based Servicing Logs (C:\Windows\Logs\CBS)?
Yes, 100% safe. Deleting old CbsPersist_*.log and .cab files is completely safe and reclaims gigabytes on older Windows installations.
How much storage space will cleaning Component-Based Servicing Logs (C:\Windows\Logs\CBS) free up?
Users typically reclaim 1.0 GB – 8.0 GB on Windows 10 and Windows 11 systems depending on update frequency and active cache retention in C:\Windows\Logs\CBS.
Can I simply press Shift+Delete on Component-Based Servicing Logs (C:\Windows\Logs\CBS) in File Explorer?
Yes, once any associated Windows Update or Delivery Optimization service handles are released, the cached payload files in C:\Windows\Logs\CBS can be safely removed.
Where is Component-Based Servicing Logs (C:\Windows\Logs\CBS) located on Windows 10 and Windows 11?
It is stored at C:\Windows\Logs\CBS. You can paste that path directly into the Windows Run dialog (Win + R) or File Explorer address bar to inspect it.
Manual File Explorer vs. 1-Click SWEEPR Cleanup
| Feature | Manual Deletion | SWEEPR Cleaner |
|---|---|---|
| Locked File Handling | Fails on locked processes | Safe background release |
| Accidental Deletion Risk | Moderate (easy to delete wrong folder) | Zero (strict rules & hashes) |
| Safety Undo Rollback | None (Shift+Del is permanent) | 7-Day Automatic Rollback |
| Time Required | 10–20 minutes per app | < 60 seconds across 40+ areas |
Related Windows Cleanup Guides & Hidden Space Hogs
Clean Component-Based Servicing Logs (C:\Windows\Logs\CBS) Automatically
SWEEPR Cleaner safely clears Component-Based Servicing Logs (C:\Windows\Logs\CBS) along with 40+ other hidden app folders and leftover files in one click—covering up to 5 devices (Windows, Mac, Android & iOS) with a 7-day undo safety net.