Lexem Posted March 4, 2008 Share Posted March 4, 2008 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 More sharing options...
Moderators Andavari Posted March 5, 2008 Moderators Share Posted March 5, 2008 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 More sharing options...
Lexem Posted March 8, 2008 Author Share Posted March 8, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now