Jump to content

Newton McNay

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Newton McNay

  1. 8 hours ago, APMichael said:

    Sorry, but it works! Why should I confirm/post a workaround that doesn't work?! I used the workaround on 3 different systems and on all 3 systems the "Active Monitoring" still stays off (for 7 days now, no matter how often I reboot).

    If you read the many other posts, you will see that the "CCUpdate.exe" is the culprit. But if you have disabled the scheduled task, the "Active Monitoring" isn't able to reenable itself. The scheduled task gets created while installation only. Therefore, if you disable it, it stays disabled.

    It definitely doesn't work for me.  I've deleted the task, registry entries, everything, and the option for active monitoring still reactivates, reinstalls the task, and so forth.

  2. 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

  3. 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

  4. 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

  5. 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

×
×
  • Create New...

Important Information

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