Jump to content
CCleaner Community Forums
PurpleHaze

Avoid UAC prompt for startup cleaning for admin

Recommended Posts

I really like the feature enabled by the setting labeled "Run CCleaner when the computer starts". I enable this feature for my limited/standard user account. However, I disable the feature for my admin account because I am annoyed with the UAC prompt that otherwise occurs every time I log into that account.

 

I propose that CCleaner runs with limited rights for this feature so as to avoid the UAC prompt on the admin account.

Share this post


Link to post
Share on other sites

asked many times

 

can't be done, most of what is cleaned and removed by ccleaner needs elevated privilages to run

Share this post


Link to post
Share on other sites

Try this...... disable the option for "Run CCleaner when the computer starts". Then use Windows Task Scheduler to run CCleaner at Log-on with the /Auto switch. This will avoid the UAC message and CCleaner will run when you log-on.

 

07/14/2011...... P.S. Whoops. Correction made. I meant to say "Task Scheduler" and not Task Manager. Sorry for the confusion.

Share this post


Link to post
Share on other sites

What is the difference between what is cleaned with "Run CCleaner when the computer starts" enabled (admin rights) versus with Task Scheduler running "CCleaner.exe /AUTO" or "CCleaner64.exe /AUTO" (limited rights)? With "Run CCleaner when the computer starts" enabled, the registry is not cleaned. I am glad about this since I want to backup the hard disk before registry cleaning.

Share this post


Link to post
Share on other sites

Good the registry SHOULD NOT BE CLEANED HAPHAZARDLY.

please follow my advice in my signature regarding that

I believe you meant "windows task scheduler" and not "task manager"? (One is the program that holds triggered tasks; the second is the program used to kill frozen programs)

Share this post


Link to post
Share on other sites

No, I don't want to sacrifice the security that UAC provides.

 

What is the difference between what is cleaned with "Run CCleaner when the computer starts" enabled (admin rights) versus with Task Scheduler running "CCleaner.exe /AUTO" or "CCleaner64.exe /AUTO" (limited rights)?

 

Still hoping someone will answer my question. If there is no difference, then it is easy to implement my suggestion in the opening post. If there is a difference, then it sill makes sense to clean only items requiring limited rights so as to avoid annoying the admin user. Or at least give the user the choice of whether the automatic cleaning at logon uses admin or limited rights.

Share this post


Link to post
Share on other sites

Under Windows XP applications could do pretty much what they like, under Vista / Windows 7 this has changed because user accounts are no longer administrator accounts.

For CCleaner to be able to delete files or modify registry keys belonging to other applications it must be granted elevated privileges (administrator rights) with UAC.

 

Richard S.

Share this post


Link to post
Share on other sites

With "Run CCleaner when the computer starts" enabled, the registry is not cleaned. I am glad about this since I want to backup the hard disk before registry cleaning.

 

Cleaning of registry keys does not apply here. Let's assume for now that CCleaner can clean more files with admin rights than with limited rights on Win7/Vista. As I said before, it sill makes sense to clean only items requiring limited rights at startup so as to avoid annoying the admin user. Or at least give the user the choice of whether the automatic cleaning at logon uses admin or limited rights.

Share this post


Link to post
Share on other sites
clean only items requiring limited rights

But what exactly are you trying to clean??

 

Unfortunately if files and registry keys do not belong to CCleaner then any action it performs will automatically trigger a UAC request.

 

Richard S.

Share this post


Link to post
Share on other sites

On the admin account in Win7, I want to clean the same types of files that CCleaner already cleans on a standard/limited account in Win7 when enabling the option "Run CCleaner when the computer starts".

 

I now see three reasons to run the cleaner with limited rights on the admin account when the computer starts:

1. Avoid annoying and slowing down the admin user with a UAC prompt at each login

2. It is safer to clean only files accessible with limited rights because the user does not preview/approve the files to be deleted.

3. It is simpler and more visible to check an option in CCleaner than to read up on command line options and set up Task Scheduler.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...