Ccleaner opens when closing game.

Sorry for the absence. I went on vacation. I played a game tonight, experienced the issue again, and remembered to check this thread. I paid attention to it more this time and it does appear to be triggered when Razer Cortex begins its "restoring memory" function.

On 07/06/2021 at 11:11, MeganCCleaner said:
<div class="ipsQuote_contents">
	<p>
		Hi <a contenteditable="false" data-ipshover="" data-ipshover-target="<___base_url___>/profile/92844-kf4uyc/?do=hovercard" data-mentionid="92844" href="<___base_url___>/profile/92844-kf4uyc/" rel="">@KF4UYC</a> <a contenteditable="false" data-ipshover="" data-ipshover-target="<___base_url___>/profile/92896-techcop/?do=hovercard" data-mentionid="92896" href="<___base_url___>/profile/92896-techcop/" rel="">@TechCop</a> <a contenteditable="false" data-ipshover="" data-ipshover-target="<___base_url___>/profile/88532-reaperules/?do=hovercard" data-mentionid="88532" href="<___base_url___>/profile/88532-reaperules/" rel="">@reaperules</a>
	</p>

	<p>
		I am curious if this could be attributed to the automatic update setting of CCleaner that had been mentioned previously, or something such as a scheduled task.
	</p>

	<p>
		Can you please ensure that all of the update options are disabled in CCleaner, using the following steps?
	</p>

	<ol><li>
			Open CCleaner &gt; click Options &gt; Updates
		</li>
		<li>
			Uncheck "Keep CCleaner updated automatically"
		</li>
		<li>
			Uncheck "Send notifications when there is a new version of CCleaner"
		</li>
	</ol><p>
		<em>Please also ensure everything in the <strong>Options &gt; Smart Cleaning</strong> area of CCleaner remains disabled/unchecked.</em>
	</p>

	<p>
		Additionally, can you please see if this problem persists after disabling the scheduled task(s) associated with CCleaner, using these steps?
	</p>

	<ol><li>
			Open CCleaner &gt; click Tools &gt; Startup
		</li>
		<li>
			Open the "Scheduled Tasks" tab
		</li>
		<li>
			Right-click on the entries associated with CCleaner &gt; click Disable
		</li>
	</ol></div>

@MeganCCleaner This appeared to have worked for me. I did have "Keep CCleaner updated automatically" and I had one scheduled task related to CCleaner. I disable both. I then retried all 3 of the games mentioned in my previous post as a test. Razer Cortex did its thing and CCleaner did NOT open as described before. Yay, I suppose. I am not sure how this will affect CCleaner for me but at least you know where to start.

On 24/05/2021 at 12:11, Dave CCleaner said:
<div class="ipsQuote_contents">
	<p>
		Some games embed a web browser when they run, so closing the game may trigger the same behaviour as if you had closed a browser.  What is your experience on closing one of these games vs closing a web browser?  And to confirm, your settings under Options &gt; Smart Cleaning are all off?  
	</p>

	<p>
		 
	</p>

	<p>
		<a href="<fileStore.core_Attachment>/monthly_2021_05/image.png.47c99950a9b0d57daed63bfd1cf935e4.png" title="Enlarge image" data-fileid="14848" data-fileext="png" rel=""><img alt="image.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14848" data-ratio="48.45" width="741" src="<fileStore.core_Attachment>/monthly_2021_05/image.png.47c99950a9b0d57daed63bfd1cf935e4.png" /></a>
	</p>
</div>

@Dave CCleaner The issue never appeared when closing a browser.

Hi everyone,

I'm a bit late to the party but maybe it will still help someone. I looked a bit at Cortex and indeed it is the culprit here. When Boost runs, it kills processes it thinks are expendable in order to free up some RAM. CCleaner is one of those processes. Cortex remembers the path of the executable, but not the command line arguments which were passed to the process when it was executed. So when the process is later (after the game) restored, it is restored without any command line arguments. And that's the problem. CCleaner background process is started with the "/monitor" argument. Cortex kills it, but restores it without this argument, which displays the main GUI window as you have experienced.

There seems to be several ways how to make Cortex stop killing CCleaner (for the price of less memory freed for the game). The simplest one is probably unselecting CCleaner in Game Booster -> Boost -> Processes.

cortex.png

Cortex saves this option in a file in something which looks like a profile folder and it persists through different instances of both Cortex and CCleaner.

C:\ProgramData\Razer\RazerCortex\RZR_0280995146178ed00acc91979bae\process.ini

[Process0]
CCleaner64.exe=0

As for three instances of CCleaner running, which was mentioned above, that should not be three instances but rather tray icons which were left there when CCleaner was forcefully killed by Cortex. If you hover with your mouse over those icons, they should disappear, at least those belonging to the killed processes. I think it's something for us to look at though.

I'm wondering, are there any cases of this behavior (CCleaner opening when a game closes) where people don't use Razer Cortex?

Could this scheduled task be the culprit?

image.thumb.png.1611824bede323007f74fdf0c937b1a7.png