Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

After few months of usage my pc and laptop slows down. Then i use the utility called the ccleaner and then everything seems fast again.

So, i want to know is that is there any utility which automatically clean the temporary and other waste file the s/w or windows create upon usage. So that my pc and laptop always remain fast.

share|improve this question

marked as duplicate by Synetech, Moses, Kevin Panko, Shekhar, Ƭᴇcʜιᴇ007 Dec 21 '13 at 22:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
You can schedule CCleaner using a Scheduled Task. Just configure CCleaner to automatically when launch clean the temporary file directory. This has also already been asked superuser.com/questions/211574/… –  Ramhound Aug 29 '13 at 15:25
    
I want it to do the background clean, not to pop up in front of my face –  mbaljeetsingh Aug 29 '13 at 15:39
    
The professional version of CCleaner can handle that. Just start CCleaner automatically when Windows starts and let it handle the task automatically. –  Ramhound Aug 29 '13 at 15:48
    
You mean in the background? –  mbaljeetsingh Aug 29 '13 at 16:03
    
Would not have suggested that solution if it wasn't in the background or in the system tray. –  Ramhound Aug 29 '13 at 17:06

2 Answers 2

up vote 5 down vote accepted

CCleaner doesn't pop up in your face when it is doing an automatic clean, all it does is create a small flashing icon in the tray.

You can schedule an automatic clean by setting up what you want cleaned in CCleaner first, then a scheduled task running the command "C:\Program Files\CCleaner\CCleaner.exe" /AUTO. This silently cleans the PC in the background.

You can of course have CCleaner run at scheduled intervals, at startup, shutdown, or logoff.

There are more command line parameter options on Piriform's website. The free version of CCleaner has this feature, as well as the Technician's edition.

If one would prefer to clean their temporary files without using a third party tool, see magicandre1981's answer below.

share|improve this answer
    
Is it available in free version –  mbaljeetsingh Aug 29 '13 at 16:04
    
Yes it is. Just tested it. I updated my answer to include the full command, you'd have to include the path to ccleaner.exe –  Moses Aug 29 '13 at 16:09

To clean the Temporary Internet files of the IE, download this tool, expand it and open the Task Scheduler MMC snapin (taskschd.msc). Create a new scheduled task which runs weekly for example and select the expanded CleanIETempFiles.exe. At the textbox "Add arguments" enter -t and click ok.

Now the task scheduler kills the temporary files weekly.

To kill other files you can automate the disk cleanup wizard (cleanmgr.exe) which is included in Windows. Run cleanmgr.exe /sageset:1 and configure which files you want to clean. Go to the first created task, add a new program you want to run and select cleanmgr.exe as program and /sagerun:1 to the arguments box.

enter image description here

This kills all temporary files without buying/using a 3rd party tool.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.