10 hours ago, nukecad said:
<div class="ipsQuote_contents">
<p>
I assume that CCleaner was installed with your Admin account, and so that is why it's skipping the UAC if you are logged in as Admin. (as it should if you've ticked that in settings).
</p>
</div>
Correct. I can't remember if I had tried but I don't think CCleaner installed correctly unless I use my admin privileges.
10 hours ago, nukecad said:
<div class="ipsQuote_contents">
<p>
When you ticked 'Skip UAC' in the settings which account were you using?
</p>
<p>
It may only take effect for the current user account?
</p>
<p>
Being CCleaner Pro you can clean all accounts from the Admin profile, but that isn't really what you are looking for.
</p>
</div>
CCleaner would not let me change the "Skip User Account Control warning" so I've never been able to enable it to see if it would work. If this is a registry setting, let me know where the setting is stored so I can try manually changing it via regedit.exe. Unless its in the HKEY_CURRENT_USER tree in which case I might have problems getting to it as admin.
![image.png.224858e89d77d866dc0733f2b86d1f0a.png]()
I don't login to my admin account often. The only times I use the admin account is for the installation of software. However, software is usually installed as my normal user account and any privilege escalation required for the installation is authorized via the UAC.
11 hours ago, nukecad said:
<div class="ipsQuote_contents">
<p>
I'm not entirely sure if this will work but think that as a first step I would try giving the non-admin account full owner permissions to ccleaner.exe and ccleaner64.exe
</p>
<p>
Right click on them in File Explorer and select Properties>Security> and edit the permissions.
</p>
<p>
I'd then untick Skip UAC in CCleaner and close it, (reboot?), open CC again and retick Skip UAC.
</p>
<p>
There are apps/registry hacks out there which can add a 'take ownership' option to your context menu, see this article.
https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/
(Hint - It's a bit long winded to do manually, so scroll to the bottom and use one of the 'Hacks' which will do it for you).
</p>
</div>
I know what you're suggesting but...I've had all sorts of complications in the past when I take ownership of files and I don't really want to end up with an unsupported installation of CCleaner because I hacked it to work.
11 hours ago, nukecad said:
<div class="ipsQuote_contents">
<p>
I'll flag this topic up to the staff to ask the developers to take a look at it.
</p>
</div>
Yes please. I am assuming Piriform will want if they haven't already, get this working in a corporate environment where there is absolutely no way a normal user would be given an admin account. I understand we can re-package CCleaner via a new MSI or MST in a way that will push these settings through but in a small or medium sized business where Active Directory and/or GPOs are not in use, there must be a way to support this.
You can consider me as a "privileged" dev/sys engineer in a small company. ![;) ;)]()
Cheers.