matttye Posted March 10, 2009 Share Posted March 10, 2009 I was just wondering if there's a way to run CCleaner automatically at shutdown rather than startup? At the moment I run it manually every time I shut down but I forget sometimes. On a side note I can't believe such a great program was written in visual basic! First time I ran it a few weeks ago it removed gigabytes of unused files and registry keys, and sped up my computer no end. I swear by it now Link to comment Share on other sites More sharing options...
Moderators hazelnut Posted March 10, 2009 Moderators Share Posted March 10, 2009 You might want to have a read here Mattye http://forum.piriform.com/index.php?showtopic=16551 and here http://docs.piriform.com/ccleaner/advanced...line-parameters Welcome to the forum Support contact https://support.ccleaner.com/s/contact-form?language=en_US&form=general or support@ccleaner.com Link to comment Share on other sites More sharing options...
matttye Posted March 10, 2009 Author Share Posted March 10, 2009 You might want to have a read here Mattye http://forum.piriform.com/index.php?showtopic=16551 and here http://docs.piriform.com/ccleaner/advanced...line-parameters Welcome to the forum That looks perfect, now I just need to find a way to run CCleaner when I click on shut down... google here I come! Thanks Link to comment Share on other sites More sharing options...
Tom.B Posted March 10, 2009 Share Posted March 10, 2009 It's a godsend, I know Sometimes it's hard to understand why it's all FREE Link to comment Share on other sites More sharing options...
inca2319 Posted March 11, 2009 Share Posted March 11, 2009 To run ccleaner at shutdown, I believe you could just use start --> run --> gpedit I know there's an option somewhere in there for logon/logoff and startup/shutdown scripts. One of those will work. Link to comment Share on other sites More sharing options...
sirwardle Posted March 11, 2009 Share Posted March 11, 2009 It should be noted that gpedit will only work on Professional versions of windows e.g. 2000, XP Pro, Vista Business or Ultimate Link to comment Share on other sites More sharing options...
Twinkie Posted March 12, 2009 Share Posted March 12, 2009 I was just wondering if there's a way to run CCleaner automatically at shutdown rather than startup? At the moment I run it manually every time I shut down but I forget sometimes. On a side note I can't believe such a great program was written in visual basic! First time I ran it a few weeks ago it removed gigabytes of unused files and registry keys, and sped up my computer no end. I swear by it now Wow, in VB??? That amazes me, I was sure it had to be C++. The best way to make an automatic cleaning, if you do not prefer it to be an icon in your desktop which you can click at will (because cleaning of temporary files after the restart of an install could harm your computer) would best be set in the Task Scheduler at Start -> Computer (Right Click) -> Manage - > System Tools -> Task Scheduler. Or you could just find it in control panel under administrative tools. Link to comment Share on other sites More sharing options...
Karl1982 Posted June 5, 2009 Share Posted June 5, 2009 I thought of the group policy object method on my own the other day, but I'm having a problem with it. I have it run a batch file at shutdown, which is: echo Script ran at last shutdown. > c:\users\karl\desktop\shutdownlog.txtC:\PROGRA~2\CCleaner\ccleaner.exe /auto Note that these commands are correct individually. The first line is so I know the batch file was actually run. It drops a text file on my desktop, which I delete afterward. If the file is there, the script ran at shutdown. The second line is PROGRA~2 because I'm running 64-bit Windows 7 RC and the actual folder is "C:\Program Files (x86)\CCleaner". It's definitely correct because I can paste the line into a command prompt and it runs CCleaner. Each line does exactly what it should do. And I know that the script is running at shutdown because it's dropping the text file on my desktop every time. But it's not cleaning. After restarting a few times, I ran CCleaner and analyzed, only to find I still had a gig of trash on my drive. I'm at a loss as to why. Link to comment Share on other sites More sharing options...
Moderators Andavari Posted June 6, 2009 Moderators Share Posted June 6, 2009 The second line is PROGRA~2 because I'm running 64-bit Windows 7 RC and the actual folder is "C:\Program Files (x86)\CCleaner". It's definitely correct because I can paste the line into a command prompt and it runs CCleaner. If CC isn't running perhaps change that path to something else like the full path on your system wrapping in quotes, that is if GPEDIT allows for that which I don't know: "C:\Program Files (x86)\CCleaner\CCleaner.exe" -or- %ProgramFiles%\CCleaner\CCleaner.exe Link to comment Share on other sites More sharing options...
Aethec Posted June 6, 2009 Share Posted June 6, 2009 It is %ProgramFiles(x86)% and not %ProgramFiles% to go to C:\Program Files (x86)\ Piriform French translator 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