Run CCleaner automatically on all accounts - gHacks Tech News

Run CCleaner automatically on all accounts

CCleaner is one of the most popular tools that cleans a lot of "crap" on your system, hence the name Crap Cleaner. Most files that get cleaned are temporary files like those from the browser cache, Windows cache but also information like the browser history or recent documents that have been opened.

Unfortunately though it is only running on the account of the user that is currently logged in. There is however a way to run CCleaner automatically on all system accounts. This tip is actually right from the CCleaner Beginners Help File which is the only place that I know of that mentions command line parameters of the software.

The command ccleaner.exe /AUTO autostarts CCleaner in the background, runs the cleanup process and closes the application afterwards. The only thing left to do is to incorporate this command in the Autostart group of all users that have an account on the system.

Open the folder C:\Documents and Settings\All Users\Start Menu\Programs\Startup in Windows Explorer, right-click in that folder and select New > Shortcut from the menu. Now paste the command "C:\Program Files\CCleaner\ccleaner.exe" /AUTO into the first field. Make sure the path is correct. If you have installed CCleaner in another directory you need to use the correct path you have installed it to.

Whenever a user logs into Windows CCleaner will be autostarted and perform the cleanup process.

Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. rruben said on March 18, 2008 at 1:20 pm
    Reply

    CCleaner removed more than 10 gig of temporary internet files on Vista a couple days ago. Haha, I was shocked! But okay it was the first time in months that I opened CCleaner again. So I recommend that you don’t forget to run this program like I did haha.

  2. mmc said on June 8, 2008 at 8:07 pm
    Reply

    Have been using CClenaer for almost two years and never had problems. In the last few days though I amnot able to get the program to start. When I launch iit it starts and suddenly it quits. Have re-installed it and same problem. Anyone know what it is?

  3. Gift Subscriptions said on November 23, 2009 at 1:52 pm
    Reply

    This is great – thanks for the tip

  4. X said on October 5, 2010 at 3:25 pm
    Reply

    “which is the only place that I know of that mentions command line parameters of the software.”

    Just open CCleaner and click on Options…

    1. Martin said on October 5, 2010 at 3:54 pm
      Reply

      Maybe they have added that option recently (considering that the article is more than 2 years old). Thanks for the tip though.

  5. X said on October 5, 2010 at 3:28 pm
    Reply

    @ mmc: Check in Options/Advanced to see if “Close Program After Cleaning” is ticked ON.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.