Jump to content
CCleaner Community Forums
gofo

Registry Option /AUTO or /AUTOS

Recommended Posts

Posted (edited)

I have CCleaner Free v.5.63.7540 (64-bit).  I have option "Start CCleaner at Windows-Startup" (I have translated this from german). This sets in registry "C:\Program Files\CCleaner\CCleaner64.exe" /AUTOS
The option is set to /AUTOS 
This does not work when restarting my computer.
When I set this in regedit to /AUTO then CCleaner works at startup, but only once and the option is reset to /AUTOS
So next startup it does not work again.
Is this a bug or why does it behave like this ?
Thanks in advance.

Edited by gofo

Share this post


Link to post
Share on other sites

There is no: /AUTOS
It is just: /AUTO

Here's the full list of command-line options available:
https://www.ccleaner.com/docs/ccleaner/advanced-usage/command-line-parameters

If you want CCleaner to automatically clean your computer when it starts, you can find that setting in CCleaner at:
Options > Settings: Run CCleaner when the computer starts

Share this post


Link to post
Share on other sites

I tought this too. But definitely  in registry as well in CCleaner-Extras-Autostart-Windows there is /AUTOS  
See attachmentregistry.thumb.jpg.b551a6a0719c1381290ec2a7b6e481de.jpg

Share this post


Link to post
Share on other sites

I believe that what the OP is saying is that CCleaner is setting it incorrectly in the registry and they are having to correct it manually.

Share this post


Link to post
Share on other sites
4 minutes ago, nukecad said:

I believe that what the OP is saying is that CCleaner is setting it incorrectly in the registry and they are having to correct it manually.

Sorry I  did not understand your last answer. Who have to correct it manually? I did set it to /AUTO manually and it was reset to /AUTOS  automatically

Share this post


Link to post
Share on other sites

I solved it. When I add an extra space after /AUTO then it stays and works ! See below

registry_extra_space.jpg

Share this post


Link to post
Share on other sites

Yes that is what I was saying. It looks like a bug in CCleaner.

I am not at home at the moment, but when I am home I will test it to see if does the same here.

Share this post


Link to post
Share on other sites

Bug confirmed!

I'll point an admin to this topic since it's a bug setting the command wrong in the registry.

Share this post


Link to post
Share on other sites

Sorry for the delay in responding.

After some testing on my Windows 10 1909 (64-bit) I can confirm that "Run CCleaner when the computer starts" does set the switch to /AUTOS rather than /AUTO.

However it runs on startup as expected.

In fact further testing showed that both the /AUTO (no space needed) and /AUTOS switches run CCleaner with both Boot and Restart.

I believe that /AUTOS is a combination of the two old switches /AUTO and /S (silent).

@gofo is it simply that you are expecting a CCleaner window to open when you boot/restart your computer?
/AUTOS doesn't do that - it runs a clean in the background so that you don't see it. (Which is what it should do).

If you leave the Task Manager window open showing processes and then restart your computer do you see the CCleaner running as a background process when it restarts?
It should look something like this, and then after a minute or so the CCleaner background process will end (unless you have monitoring enabled in which case it wil stay running):

 

image.png

Further if you then open CCleaner manually and do an analyze it will only find a couple of System files that have been recreated since CCleaner ran at startup.

Share this post


Link to post
Share on other sites

Another case of the documentation site needing some updates!

Share this post


Link to post
Share on other sites

I agree with that.

And perhaps change the button to read something like  "Run a clean in background when computer starts"?

Share this post


Link to post
Share on other sites
Posted (edited)

Hello nukecad,

I dont expect a window when running in auto-mode. The problem is, when I set it to /AUTO without extra space at end, the next run changes this to /AUTOS  and at following run with option /AUTOS no cleaning is done.

 

Edited by gofo

Share this post


Link to post
Share on other sites

Fine lets see if we can work out what is happening.

Firstly-
I suspect that when ccleaner finishes that it checks if you have 'Run when the computer starts' ticked (or anything else) and changes the reg entry(s) based on if it's ticked or not.
So that would change it back to /AUTOS. (unless you have put the extra space on the end).

I'm not sure why /AUTOS is not running on your machine.

One big question though -
When you say that 'no cleaning is done' how are you checking that?
That is to say how do you know that no cleaning has been done?

Have you tried what I said above about leaving Task Manager open and seeing if CC is running as a background task when you restart?
Have you tried restarting , waiting a minute or two (without doing anything) and then doing a CCleaner Analyze to see what it finds? Again as said above if it has run a clean at start then there should only be a couple of files found by the analyze.

Share this post


Link to post
Share on other sites

I must say I am a little bit confused. CCleaner always cleaned my browser history of Chrome and Opera. In the last weeks it did not or I felt it did not. Now it does, no matter /AUTO or /AUTOS . Ccleaner can be seen in the taskmanager and It lasts a little bit, but then it is done. Maybe at my tests I was to quick trying whether it is done or not. I think the real reason is that I upgraded from Win 7 to Win 10. The PC is now quicker up, but not finished when I start the browser. So sorry for my eagerness.

Share this post


Link to post
Share on other sites

No problems, if there was an issue then we would want to try and track it down.

It does seem from what you say that CCleaner is running, and cleaning, at startup. (But you were a bit eager to look for the results).

Windows 10 does present you with the desktop quicker than 7, but it can still be doing startup tasks in the background for another few minutes. You can see this by watching Task Manager after booting.

You might want to take a look at AdwCleaner from Malwarebytes. It's not a rival to CCleaner, it does a different job. What the latest versions of Adw can do is remove unwanted/uneeded start up items and background tasks that the computer manufacturer has put there.

Share this post


Link to post
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...