How run CCleaner BEFORE shutdown? In gpedit.msc as Logoff script?
#1 OFFLINE
Posted 30 October 2009 - 11:57 AM
Maybe this is possible through using "Group Policy" editor:
Start->Run->"gpedit.msc"->User Configuration->Windows Settings->Scripts->Logoff
Did anyone tried this out?
What parameters do I have to pass to CCleaner at the command line to run it silently (without prompts) ?
Thomas
#3 OFFLINE
Posted 30 October 2009 - 11:02 PM
That is of course only if you need them.
http://forum.pirifor...showtopic=16551
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#4 OFFLINE
Posted 03 November 2009 - 03:16 PM
marmite, on Oct 30 2009, 04:52 PM, said:
That would be a nice option for the next release of CCleaner
Instead of letting the user fiddle around in some nested, hidden Group Policy editors or Registry branches
CCleaner should offer a simple checkbox which let it run at shutdown time.
Internally CCleaner could imitate the manual GroupPolicy entry.
Is this feasible in the next release?
Peter
#5 OFFLINE
#6 OFFLINE
Posted 03 November 2009 - 03:35 PM
thoste, on Nov 3 2009, 03:16 PM, said:
CCleaner should offer a simple checkbox which let it run at shutdown time.
Also, not all OS versions (e.g. XP Home) support GP and I don't think (though I've not tried) it's as straightforward as just manipulating the reg keys in those cases.
#7 OFFLINE
Posted 03 November 2009 - 09:50 PM
In theory CC could add the registry key with its path and switch.
#8 OFFLINE
Posted 03 November 2009 - 10:15 PM
Disk4mat, on Nov 3 2009, 09:50 PM, said:
#9 OFFLINE
Posted 04 November 2009 - 12:40 AM
Its avail in XP, Vista and 7. Depending on the OS edition you may or may not have gpedit.msc
I cant speak for 2k and NT as I never used either of those enough to remember.
#10 OFFLINE
Posted 04 November 2009 - 01:13 AM
Disk4mat, on Nov 4 2009, 12:40 AM, said:
Its avail in XP, Vista and 7. Depending on the OS edition you may or may not have gpedit.msc
I cant speak for 2k and NT as I never used either of those enough to remember.
Out of the box ... I suspect NT would have had GP, W2K does, XP Pro does, XP Home doesn't.
#11 OFFLINE
Posted 04 November 2009 - 05:39 AM
#12 OFFLINE
Posted 04 November 2009 - 09:37 AM
Disk4mat, on Nov 4 2009, 05:39 AM, said:
#13 OFFLINE
Posted 04 November 2009 - 10:06 AM
http://www.j79zlr.com/gphome.php
Gives me a few good ideas
#14 OFFLINE
Posted 04 November 2009 - 10:18 AM
Disk4mat, on Nov 4 2009, 10:06 AM, said:
http://www.j79zlr.com/gphome.php
#15 OFFLINE
Posted 29 December 2009 - 02:37 PM
With this kind of run in background no gpedit or Registry handling is necessary.
On the other side it would have the advantage to let CCleaner wipe the tracks at the end of a session.
For me its an important point and security issue. If I forgot to start CCleaner manually on my laptop and the laptop gets stolen then the tracks are still existing on my hard disc. If CCleaner would clean at logoff/shutdown these tracks were destroyed.
Many other program use this background runnign trick. Why not CCLeaner?
Thomas












