SystemRequires admin/root

Setup Cleanup Logs

Windows Setup Cleanup writes diagnostic logs under %WinDir%\System32\LogFiles\setupcln while setupcl.exe and related servicing components remove superseded installation files after feature updates, in-place upgrades, and rollback cleanups. These logs record cleanup phases, file and directory deletions, component store housekeeping, return codes, and timing details so Windows can troubleshoot why post-upgrade cleanup succeeded, stalled, or failed. Kudu removes old setup cleanup log files that are no longer needed for diagnostics, without touching your documents, accounts, settings, or installed apps.

Why clean Setup Cleanup Logs?

  • Repeated feature updates and failed upgrade attempts leave behind multiple setup cleanup logs, so the setupcln folder keeps growing even though the events they describe are long finished
  • Verbose cleanup traces from aborted upgrades can make log review noisy, and when you inspect Windows setup logs you may waste time chasing stale errors that no longer apply to the current system state
  • Low free space on the system drive is made worse by accumulated post-upgrade cleanup logs, and users typically notice Windows Update needing just a little more room to continue
  • Old setup cleanup records can overlap with newer servicing activity, making it harder to isolate the latest cleanup pass when troubleshooting why temporary Windows installation files were not removed
  • Machines that go through repeated in-place repairs or version upgrades often retain historical cleanup traces, and the visible symptom is a steadily increasing LogFiles footprint under the Windows directory
  • Clearing obsolete setup cleanup logs reduces clutter in protected system log locations, so support staff and power users can more quickly find current setup diagnostics instead of sorting through outdated cleanup sessions
What gets cleaned

Cache paths Kudu targets

Windows

%WinDir%/System32/LogFiles/setupcln
Frequently asked

Common questions about Setup Cleanup Logs

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.