CCleaner is the best; but it doesn't defrag. I would run CCleaner and then create a batch file to run the windows Disk Cleanup and derangementer.
The command syntax is different from OS to OS (like XP to 7). Before you create the batch file, you will need to run cleanmgr /sageset:1
choose the options you want to clean up on the automatic side, create the batch file, create a shortcut on the desktop, or create a scheduled task,
and run it every week at the most, or once a month at the least.
--------------------------------------------------------------
@echo off
REM ==============================
REM
REM NAME: runCleanDefrag.bat
REM Please note that this file can only be ran under Windows XP.
REM AUTHOR: *********************** , *************************
REM DATE : 2/13/2009
REM
REM COMMENT: if Cleanup manager needs to be ran first; use this CMD syntax
REM cleanmgr /sageset:1
REM afterwhich the below CMD can be ran
REM cleanmgr /sagerun:1
REM
REM ===============================
REM defrag volume [-a] [-f][-v] [-?]
REM Parameters
REM volume
REM The drive letter or a mount point of the volume to be defragmented
REM
REM -a
REM Analyze only
REM
REM -f
REM Forces defragmentation of the volume regardless of whether it
REM needs to be defragmented or even if free space is low
REM
REM -v
REM Verbose output
REM
REM -?
REM Display the help text
REM
echo..................................................
echo. .
echo. DO NOT CLOSE THIS WINDOW .
echo. Running Cleanup programs .
echo. to speed up this PC .
echo. .
echo..................................................
%SystemRoot%System32cleanmgr /sagerun:1
defrag c: -f
--------------------------------------------------------------------------
I put a bunch of comments in case I quit and someone has to take over my job. I will feel so sorry for them, I automated almost everything (still
need to run the right file, but once that is done, automated).
Easy peasy.
edit on 8/13/2012 by Skada because: Formatting of the batch file went weird...
edit on 8/13/2012 by Skada because:
auto edits?!? doesnt like batch/dos code.