Documented file collection

Cleanup

The cleanup utility starts as an audit. Deletion-capable modes are documented separately and require explicit confirmation.

Orphaned application-data cleanup audit

cleanup/Windows-Orphan-Cleanup-Audit.ps1
Medium

Audits selected application-data directories against installed programs, paths, running processes, services and scheduled tasks, then reports possible orphaned folders. Default execution is read-only.

Behavior, limitations and usage

Deletion occurs only with explicit switches. -CleanTempFiles can remove unlocked Temp files; -DeleteConfirmedUnused can delete folders the user explicitly marked unused after a second confirmation. The script intentionally treats every candidate as a review hint rather than proof. GUI mode enables the deletion-capable paths but still requires explicit confirmation.

Usage: Start with the default read-only run. Use -MeasureFolderSizes for sizing and only enable cleanup switches after reviewing generated reports.

Windows cleanup GUI launcher

cleanup/Start-Windows-Cleanup-GUI.cmd
Medium

Checks for elevation, self-elevates when needed and launches Windows-Orphan-Cleanup-Audit.ps1 in STA GUI mode.

Behavior, limitations and usage

GUI mode enables folder-size measurement, interactive review, temp cleanup and deletion of explicitly confirmed unused folders. The underlying script still presents separate deletion plans and typed confirmations.

Usage: Keep this CMD next to Windows-Orphan-Cleanup-Audit.ps1 and run it when interactive GUI review is wanted.