Jump to content

parameter for only one automatic clean at system startup and/or logo


Lexem

Recommended Posts

CCleaner has only two sorts of automation 1. the /auto parameter to scan during a windows session and 2. the option to scan on EVERY start of windows.

 

First wish: An option or parameter to make CCleaner scan and clean ONLY on next windows start would be nice.

 

Second wish: A log entry in the event viewer so CCleaner can work with eventtriggers.exe

 

Both wishes make CCleaner behave more like chkdsk.exe

 

Thanks for this programm.

 

Lexem

Link to comment
Share on other sites

  • Moderators

You could do that via a .reg file that adds the CCleaner.exe /auto parameter into the registries RunOnce area.

 

Other than that placing the CCleaner.exe /auto parameter in the Start Menu Groups Start Up folder could do it also, however it would run on every system startup.

Link to comment
Share on other sites

Thanks, I needed that hint.

 

I got my results with the command line:

 

 

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v 2 /t REG_SZ /d "\"X:CCleaner\CCleaner.exe\" /auto" /f

 

 

A seperat regfile is not needed.

 

Lexem

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.