/CleanSweep2

The easiest and quickest Windows junk file remover on the planet.

Primary LanguageC#

CleanSweep2 Logo CleanSweep2

The easiest and quickest Windows junk file remover on the planet.

Supported Operating Systems

  • Windows 11
  • Windows 10
  • Windows 8/8.1
  • Windows 7
  • Previous Windows OS's may work, but some features may be incompatible or produce undesired results.

Cleaning Features

  • Temporary Files
  • Temporary Setup Files
  • Temporary Internet Files
  • Event Viewer Logs
  • Recycle Bin
  • Chrome Cache
  • Thumbnail Cache
  • User File History Snapshots
  • Windows .Old Folder
  • Windows Defender Logs
  • Microsoft Office Cache
  • Microsoft Edge Cache
  • Windows Installer Cache
  • Windows Update Logs
  • Windows Error Reports
  • Windows Delivery Optimization

Additional Features

  • Provides potential reclaimable disk space prior to cleaning.
  • Provides total reclaimed disk space post cleaning.
  • Detailed logging to log window/file.
  • Verbose and non-verbose output.
  • Remembers configuration and previous cleaning selections (GUI only).
  • Show or hide operation windows (command prompts, etc) that perform tasks.
  • Update checking.
  • Perform tasks silently without user interaction (CLI only).
  • Supports Windows Task Scheduler (CLI preferred).

CleanSweep2_GUI Demonstration

CleanSweep2

Getting Started With CleanSweep2_GUI

  1. Download the latest CleanSweep2 release and extract the contents. You can download WinRAR or use 7ZIP to extract the contents.
  2. Run CleanSweep2.exe.
  3. Select any cleaning options you wish.
  4. Click "Sweep it!".

CleanSweep2_CLI

CleanSweep2_CLI is the command-line based version of CleanSweep2 which offers all features CleanSweep2 has to offer, except that jobs are passed through arguments, including logging actions to a logfile on disk, changing verbosity modes, selective cleaning, and silent running for scheduled cleaning through Windows Task Scheduler.

CleanSweep2_CLI Demonstration

CleanSweep2

Getting Started with CleanSweep2_CLI

  1. Download the latest CleanSweep2 release and extract the contents.
  2. For manual cleaning, create a shortcut to the executable, and modify the arguments in the "Target" properties field, then run CleanSweep2_CLI.
  3. For automated cleaning, launch Task Scheduler in Windows, click "Create Basic Task". Enter a name for the task (example: CleanSweep2_CLI) and give a description if desired. Select a scheduled time for CleanSweep2_CLI to run. On the "Action" page, select "Start a program". Select the CleanSweep2_CLI executable, and pass desired arguments. For a list of arguments, see below.

CleanSweep2_CLI Arguments

-1 (Remove Temporary Files)
-2 (Remove Temporary Setup Files)
-3 (Remove Temporary Internet Files)
-4 (Removes Event Viewer Logs)
-5 (Empties the Recycle Bin)
-6 (Removes Windows Error Reports)
-7 (Removes Delivery Optimization Files)
-8 (Clears Thumbnail Cache)
-9 (Remove User File History)
-10 (Removes Windows.old Directory)
-11 (Removes Windows Defender Log Files)
-12 (Removes Microsoft Office Cache)
-13 (Removes Microsoft Edge Cache)
-14 (Removes Google Chome Cache)
-15 (Removes Windows Installer Cache)
-16 (Removes Windows Update Log Files)
-log (Writes a log file of actions performed and their timestamps to the "CleanSweep2 Logs" folder under the user account's Documents folder.)
-showoperationwindows (Make all spawned windows visible.)
-update (Checks for updates. This argument requires the -visible argument.)
-v1 (Sets the verbosity to low)
-v2 (Sets the verbosity to high)

Potential Data Loss Warning and Disclaimer:

Due to the nature of CleanSweep2 being an application that removes data from a Windows machine, it is imperative to note that potential or undesired data loss can potentially occur. Please do not select options in which you wish to keep data for, especially for Windows .Old folders, and previous Windows installs. These are unrecoverable once removed, as are most options in this application. Please use CleanSweep2 at your own risk.

Important: Please Read!

  • If you need help, please feel free to get in touch with me on Twitter, or open a new issue if it doesn't already exist. Please note: If you choose to contact me through Twitter. Please understand delays in responses may happen if you send a direct message, as I have to explicity check for them if they've been filtered by Twitter.
  • CleanSweep, CleanSweep2, and CleanSweep2_CLI are free, and they will always be free. Please do not pay anyone for this application. However, if you found CleanSweep, CleanSweep2, and/or CleanSweep2_CLI worth donating for, you can donate from within CleanSweep2 by accessing the "Donate" menu option from the "Help" context menu in CleanSweep2, or by copying the donate link provided in CleanSweep2_CLI. You can also donate directly to me here (PayPal).
  • CleanSweep, CleanSweep2, and CleanSweep2_CLI are applications I created in my spare time to continue learning multiple programming languages. I would not consider myself an "expert" programmer, and should probably not be treated as such.