Jump to content

[Solved/workround] CC 6.x not starting on standard account


Pit99

Recommended Posts


OS: Win 10 Pro 22H2
AV: built in (Defender)
Installer (free version):
  ccsetup604_slim.exe, downloaded 11 Oct 2022
  ccsetup605_slim.exe, downloaded 28 Oct 2022

CC does not start on standard account, starts on admin account only

1st attempt: installed over old version (as usual)
2nd attempt: removed old version, then fresh install

Same result in both cases.

Does not start in debug mode on standard account, no log file created.
CC appears for less than a second in task manager.

The reason seems to be that there is no write access to
C:\Program Files\CCleaner on standard account (for file gc_...dll?).

Switched back to 5.9x for now.

Thank you.

Pit

 

Link to comment
Share on other sites

  • Moderators

The change of  access rights for the CCleaner folder(s) affects Admin accounts also, but maybe not to the same extent as a non-admin account.

I believe that it was done as a security measure.

I wasn't aware though that it could affect the normal running of CCleaner in a non-admin account, that hasn't been reported before.

I note that you have the recent upgrade to 22H2 so am wondering if that may have something to do with it. Could you run from the user account when you had your previous Windows version?

I assume that you are installing CCleaner in the Admin account?

If you have a CCleaner Pro licence you can clean other user accounts from an Admin account. (or at least you should be able to).
image.png

 

I'll have a play (do some testing) later when I get time, I'll need to set up one or more non-admin accounts on this machine.
If I don't find anything on this 21H2 machine I do have another laptop with 22H2, so may have to do things twice.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

  • Moderators

First results.

I created a non-admin user account on my 21H2 machine and logged into it.
As you can see from this screenshot CCleaner v6.05 ran and cleaned sucessfully.
Both Health Check and Custom Clean worked as normal.

To show it's a standard account it wouldn't run the Perfomance Optimiser, that's as expected because you need to be an Admin to do that.

Screenshot 2022-10-29 104536.png

 

I'll try the same on a 22H2 machine later.

PS. After doing the above I deliberately created some more Junk, ran Edge, etc, in the standard account.
Switching back to the Admin account and running CCleaner from there with 'All users' selected cleaned the standard account as it should.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

Thank you for your reply.

To answer your questions:

- I installed CC on non-admin account (as usual over years); then, of course,
  granted admin rights when UAC pops up.
- With 6.04 the OS was on rev 21H2, with 6.05 now on 22H2, same result.
- It is the free version, so I can't try "all users".

What I see is, that on start on admin account (and also on start of the
portable version) a file gc_...dll is created in the program's folder,
which disappears after a second or so.

On non-admin account there is no write access to that folder, so that
may cancel the start.

For testing, I gave the folder full access on non-admin account (which can't
be a final solution), and CC 6.x runs.

 

Link to comment
Share on other sites

Meanwhile I tried:

- logged in as admin, installed ccsetup605_slim.exe over 5.91, 6.05 runs;
  logged in as non-admin, 6.05 doesn't start, re-installed 5.91
- installed ccsetup605_slim.exe on another notebook with 21H2 (on non-admin
  account), 6.05 doesn't start, re-installed 5.91

 

Link to comment
Share on other sites

  • Moderators

Thanks for all that.

Knew I shouldn't have deleted the non-admin account yet, LOL.

I'll set one up again and install CCleaner free on it and see what I can from there. I'll probably do it on the 22H2 machine but that won't be until tomorrow now, I'm currently on my second pint in the pub.

Just to note that it doesn't matter if it's the slim or standard installer, both install the same CCleaner.

I was previously aware of the permission changes to the CCleaner folder, and had asked the staff about it because I sometimes want to manually edit files in there as part of testing things. I wasn't aware of it causing any problems with running CCleaner itself though, so if it is then it should be fixed even if it's only affecting a few people.

Of course it may be a 22H2 problem, but you say it was the same on 21H2 so maybe not.

Just another question- which antivirus are you using if not just Windows? If it's a 3rd party AV then what version is it at?.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

I followed your workaround, and now CC runs for me, too, great!

It was essential to remove 5.91 first; when installed over the
old version it doesn't work.

I am also out of ideas what's going on; I hope, the programmers
will find out. Maybe I'll also do some tests using ProcMon or else.
If I find something of interest I'll come back again and let you know.

Once again, many thanks for your friendly help,

Kind regards, Pit

 

Link to comment
Share on other sites

  • Moderators

Good to hear that it also works for you.

It's obviously something to do with the extra 'getting things ready' (or words to that effect) that it does when you first open it following an install.

As you have to have elevated permissions to install then I'm assuming you still have those elevated permissions when you run it from within the installer that first time. - That's one of the things that I want to check.

I'm also not sure if the workround will survive across the non-admin user logging out and back in again? I think it will do but didn't test that.

You might see that before I get round to trying it myself. TBH I should have tried that but I'd got tired of logging out and in again by that time.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

When CC is started from the installer, admin permissions are
inherited to CC; CC starts "as admin", in the bottom left
corner of CC is shown "(Admin)".

Meanwhile the workaround survived several shutdowns and
logons.

 

Link to comment
Share on other sites

  • Moderators

Thanks for reporting that, I hadn't got round to trying it.

We'll have to wait and see what the devs come up with.
TBH though as yours is the only report we have seen about this so far, and as there is a fairly easy workround, I suspect it may not be that high on their priority list.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

Link to comment
Share on other sites

  • nukecad changed the title to [Solved/workround] CC 6.x not starting on standard account

I made a further test:

Seems that the workaround is necessary only when a
6.x version is installed for the first time, after
using 5.9x before.

When I later installed 6.05 over 6.04, everything ran
fine (no uninstalling of the old version, no start
from installer necessary).

 

Link to comment
Share on other sites

  • Moderators

Thanks again.

I can see that - once a standard user has the necessary permissions they should then carry through an update.

All my testing was done with 'clean' installs, ie. I had removed all traces of previous versions/installs before doing the next one.

PS. It's probable that most people do run CCleaner from an install, (and/or run as an admin anyway), which is why the issue hadn't been reported previously.

It also looks very similar in effect to an issue we often see with 3rd party AVs blocking CCleaner, so if someone did report it in less detail than you did yourself we would have probably assumed it was their AV that was blocking CCleaner.

*** Out of Beer Error ->->-> Recovering Memory ***

Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:
https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043

 

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

Important Information

By using this site, you agree to our Terms of Use.