Jump to content
CCleaner Community Forums
asus

CCleaner forced start at startup

Recommended Posts

I use ccleaner for a long time, but i'm considering to end it, i tried everything but the software starts at windows startup no mather what i do. What gives? is this now spyware?

Share this post


Link to post
Share on other sites

it's just one of an ongoing list of issues with recent releases.

for the moment, to stop that particular new feature, you will need to revert back to an earlier version, available from FileHippo.

Share this post


Link to post
Share on other sites

I'm attaching two files, as well as the associated script/code that will kill the process without having to open Task Manger all the time.  One is a batch file to manually run after you've used CCleaner and the other is a Task that will kill the process 30 seconds after any user logs on (this ensures it has had time to load, first, before attempting to kill it).  I'm not a coder, and I don't write stuff like this (much) so these are rudimentary but they work.  I don't see a way to auto-kill the task after closing the CCleaner window as the monitor uses the same process that runs the entire program, but someone may be able to improve upon this.

 

The following script and code can be copied and pasted into Notepad and then saved as their respective file types.  The batch file should be manually run after using CCleaner and the XML file can be imported into Task Scheduler.

**Batch File Script:**

@echo off
Taskkill /IM ccleaner64.exe /F
Taskkill /IM ccleaner.exe /F

 

**Scheduled Task XML Code:**

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2018-07-31T09:25:50.4002489</Date>
    <Author>2J02CX1\newtonmcnay</Author>
    <Description>Kills CCleaner processes set to auto-launch.</Description>
  </RegistrationInfo>
  <Triggers>
    <LogonTrigger>
      <Enabled>true</Enabled>
      <Delay>PT30S</Delay>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>2J02CX1\newtonmcnay</UserId>
      <LogonType>InteractiveToken</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>taskkill</Command>
      <Arguments>/IM ccleaner64.exe /F</Arguments>
    </Exec>
    <Exec>
      <Command>taskkill</Command>
      <Arguments>/IM ccleaner.exe /F</Arguments>
    </Exec>
  </Actions>
</Task>

CCleaner Killer.bat

CCleaner Killer.xml

Share this post


Link to post
Share on other sites

Just roll back a version for now.

Share this post


Link to post
Share on other sites

you know what i kind of don't need ccleaner anyway, i guess we can hold on to something by habit, but what ccleaner does so does cleaning in your browser and using the windows cleaning tool.

I guess thanks piriform for releasing me from a unecessary habit, sometimes all one needs is a push. Good luck with the "Facebook", "sell data", "ad crazyness" thing you got going on there. Bye.

Share this post


Link to post
Share on other sites
3 hours ago, asus said:

you know what i kind of don't need ccleaner anyway, i guess we can hold on to something by habit, but what ccleaner does so does cleaning in your browser and using the windows cleaning tool.

bingo!, you have hit the nail on the head. ;)

Share this post


Link to post
Share on other sites
On 7/31/2018 at 11:55, Newton McNay said:

I'm attaching two files, as well as the associated script/code that will kill the process without having to open Task Manger all the time.  One is a batch file to manually run after you've used CCleaner and the other is a Task that will kill the process 30 seconds after any user logs on (this ensures it has had time to load, first, before attempting to kill it).  I'm not a coder, and I don't write stuff like this (much) so these are rudimentary but they work.  I don't see a way to auto-kill the task after closing the CCleaner window as the monitor uses the same process that runs the entire program, but someone may be able to improve upon this.

Thanks Newton. I tried creating .bat files to run at startup, created and edited registry entries, all with no luck. Your .xml worked great. But users should know they need to change the "user/group" at import in order for it to work. 

For now this will suffice. I'm still not happy about not being able to disable it. I've been a faithful user of CCleaner for years. 

I ran Process Explorer to try and find out more details, but didn't have much time to dig around in there. One thing I discovered is that CCleaner is using 12.4Mb of RAM while "monitoring" in the background. While this isn't a huge amount on a system with 8gb RAM (or more), it's my RAM, and I want it freed up as much as possible.

I'll dig around in PE more and hopefully can find out exactly what service or process is causing it to "reactivate" at system boot.

Cheers

 

***EDIT TO SHOW HOW TO USE NEWTON'S .XML FILE on Win7 x64***

First, go to Start>Accessories>System Tools>Task Scheduler

Open Task Scheduler.

Right click on "Task Scheduler Library", click "Import Task" (See image 1.png)

Click on "Change User or Group" (See image 2.png)

Now click on "Advanced" (See image 3.png)

Next, click on "Find Now" and select your user account/name (See image 4.png)

The next screen should look like image 5.png, with your user name of course. Click "ok" on that screen, and the screens after.

That's it. Now 30 seconds after boot, CCleaner will be killed.

 

Will be trying to find a way to kill it before it has a chance to start, or just prevent it from starting period. Will report back in if I find a way.

Image 1.png

1.png

 

Image 2.png

2.png

 

Image 3.png

3.png

 

Image 4.png

4.png

 

Image 5.png

5.png

Share this post


Link to post
Share on other sites
On 18.9.2018 at 23:53, Zagnut said:

...For now this will suffice. I'm still not happy about not being able to disable it. I've been a faithful user of CCleaner for years...

Why didn't you just update to the latest version? The "bug" is fixed already.

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

×