Temp not getting cleaned

Lately, I have found that CCleaner seems to NOT clean the subfolders in the %TEMP% folder, even if it is "Included".

It used to.

Works for me, did you make sure the 24hours setting hasn't been turned on in ccleaner settings?

Works for me.

what version are you using?

V5.43.6520

Some files & folders were from last year.

40 minutes ago, MarkJL said:
<div class="ipsQuote_contents">
	<p>
		Some files &amp; folders were from last year.
	</p>

	<p>
		 
	</p>
</div>

Are they in use?

can you provide the Temp folder (and subfolders) name, and the INCLUDE ?

does it work if you reboot the PC in Safe Mode?

what if, say, you use CC v5.40 (available from FileHippo)?

2 hours ago, Nergal said:
<div class="ipsQuote_contents">
	<p>
		Are they in use?
	</p>
</div>

No. They haven't been in use for months.

Can you delete the directly (click in explorer and delete)? (this will help making sure it's not a permissions flaw)

Are you skiping uac in ccleaner's options?

On 7/3/2018 at 17:18, mta said:
<div class="ipsQuote_contents">
	<p>
		can you provide the Temp folder (and subfolders) name, and the INCLUDE ?
	</p>

	<p>
		does it work if you reboot the PC in Safe Mode?
	</p>

	<p>
		what if, say, you use CC v5.40 (available from FileHippo)?
	</p>
</div>

Sorry for the delay in responding. Life got in the way.

I tried this on 2 machines: #1: "C:\Temp" and #2: "C:\Users\xxxx\AppData\Local\Temp"

I just noticed that on the machine where %TEMP% points to "C:\Temp", "C:\Users\xxxx\AppData\Local\Temp" has files from 2016.

Have not Safe Moded.

Just tried v5.41. It may have cleaned "C:\Temp", but not "C:\Users\xxxx\AppData\Local\Temp".

I see that there is a new version.

Just installed 5.46 -- same thing -- neither "C:\Users\xxxx\AppData\Local\Temp" nor %TEMP ("C:\Temp") get cleaned.

If I "Include" (under "Options") %TEMP%, the folder ("C:\Temp") does get cleaned.

Thanks.

in CC, Options, Advanced - do you have both the Only delete....older than 24 hours boxes NOT ticked?

may explain the current stuff, but not the stuff from 2016.

but that could be because you changed the TEMP environment variable away from the default and 1) CC no longer looks there and 2) there may be nothing in there that triggers CC to remove it, like TMP or LOG files.

manually delete that folder and start from there and see what accumulates.

"Only delete files in Windows temp folders older than 24 hours" is checked.

Maybe CC should look at %TEMP% since that is what most programs use.

%TEMP% ("C:\Temp") had many TMP and LOG files, and many older than a week.

17 hours ago, MarkJL said:
<div class="ipsQuote_contents">
	<p>
		If I "Include" (under "Options") %TEMP%, the folder ("C:\Temp") does get cleaned.
	</p>
</div>

... c:\temp ... is not the default folder in Windows and usually no folder with this path, only you have it created and set manually

to you mean c:\windows\temp?

Quote
<div class="ipsQuote_contents">
	<p>
		If I "Include" (under "Options") %TEMP%, the folder ("C:\Temp") does get cleaned.
	</p>
</div>

good to read :-)

I change my USER and SYSTEM %temp% and %tmp% variables and CC cleans them fine.

untick those 24 hour boxes to allow CC to clean more recent files.

for the two %temp% and %tmp% folders, CC will remove all contents regardless, for other folders it only removes files that meet its criteria; like tmp, log, wer files etc.

so your %temp% files probably have stuff left because your 24 hours box <strong>is </strong>ticked.


and your original %temp% folder (c:\users\xxx\appdata\local\temp) still has contents because, despite the name, it is now just a 'normal' folder and will only get cleansed for those file type that trigger CC's rules.

Tirum: "... c:\temp ... is not the default folder in Windows and usually no folder with this path, only you have it created and set manually"

Correct.

"to you mean c:\windows\temp?"

No.

mta: " I change my USER and SYSTEM %temp% and %tmp% variables and CC cleans them fine."

Mine don't.

" untick those 24 hour boxes to allow CC to clean more recent files. "

I only want the older files deleted. There are .tmp files in both places from 2016 -- they remain.

"for the two %temp% and %tmp% folders, CC will remove all contents regardless, for other folders it only removes files that meet its criteria; like tmp, log, wer files etc.

so your %temp% files probably have stuff left because your 24 hours box <strong>is </strong>ticked.


and your original %temp% folder (c:\users\xxx\appdata\local\temp) still has contents because, despite the name, it is now just a 'normal' folder and will only get cleansed for those file type that trigger CC's rules."

See above.

At may now be a normal folder, but it is a common Windows "temp" folder, which, actually (based on the dates), some programs still use!

I think these are things that might make CCleaner better.

Thank you all for your interest.

Perhaps the CCleaner settings are corrupt.

You could try to remedy it by opening CCleaner and going into 'Options > Advanced' and click 'Restore default settings'. Note that doing that will perform a "factory reset" meaning you will lose all of the changes you've made in CCleaner.

If 'Restore default settings' doesn't fix it perhaps uninstall CCleaner, restart Windows, and then install CCleaner again. That would perform a clean install which will also fix any corrupt CCleaner settings.