Automatic Local Cleanup

Hi,

This is an advanced configurable cleanup tool / button for directory opus.

It's designed to safely clear cache, temp files, recycle bin etc. directly from Directory Opus. It automatically generates a settings.ini file on its first run, allowing you to easily define which folders to empty and how to process them.

Feature:

  • Smart Skipping: Set rules like skip if chrome or skip if steam to prevent the tool from cleaning folders while those specific programs are running.

  • Age & Pattern Filters: Target specific files by age (e.g., 14d for 14 days, h for hours, w for weeks) or by matching specific filename patterns.#

  • Service Management: Automatically stop and restart specific Windows services while cleaning their associated cache folders.

  • Safe & Protected: Built-in safeguards actively refuse to delete drive roots, user profiles, and protected system folders.

  • Preview Mode: Run a preview pass to scan and calculate how much space would be saved without actually deleting any files.

  • Admin Support & DISM: Includes a dedicated [AdminPaths] section for system folders that requires UAC elevation, and supports deep Windows Component Cleanup via DISM.

  • Automated Scheduling: Includes a built-in option to install itself as a scheduled task that runs silently a few minutes after Windows login

I hope some of you will find it useful.

Have a nice day.

Cleanup.zip (12.6 KB)