Jump to content

need to delete all files within an invisible folder \user\appdata\temp\*.*


dreifeld

Recommended Posts

Hi there,

we're running unmanned unattended kiosk-systems. Some data are stored under \user\appdata\temp\ folder, but this folder cannot be selecte via the regular selection function of ccleaner, nor it can be entered manually to delete *.* within this folder automatically when running ccleaner.

We still need to sign-in and using explorer to select the above folder and then delete all data within.

 

As some viruses and trojan malware are stored there also, it becomes a kind of security leak leaving these data under this particular folder, and therefore we would very much welcome a folder-selector to configure individual folders where all data files should be erased. We don't need to erase the whole folder, but only its content.

Greetings, Martin

DREIFELD

post-64963-0-43654000-1361790422_thumb.jpg

Link to comment
Share on other sites

  • Moderators

I have this %UserProfile%\AppData\Local\Temp\ as an INCLUDE and it works fine.

Backup now & backup often.
It's your digital life - protect it with a backup.
Three things are certain; Birth, Death and loss of data. You control the last.

Link to comment
Share on other sites

  • Moderators

You'd first have to enable the view of Hidden Files and Folders and I don't remember off hand but perhaps also Protect Operating System Files in Windows itself via Folder Options in order for it to even show up in CCleaner as a folder you can add in the Include area feature.

Link to comment
Share on other sites

  • Moderators

I believe ccleaner already deletes this folder by default

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

Hi there, ccleaner doesn't clean-up this folder by default, nor does it when configuring \appdata\temp as a visible folder *and* adding it to the customized folder list.

Infact all content of this folder remains when running ccleaner.

I have tested to add a 25mb file into \appdata\temp and run ccleaner. It even doesn't recognize that folder, and it is *not* listed in the clean-up report after running.

Any suggestions very much welcome, as we meanwhile catched-up a seedabutor.B trojan malware in this directory, and really need to clean up regularly.

 

Greetings, Martin

Link to comment
Share on other sites

I do not think the issue belongs here.

 

According to the screen-shot you are running the BUSINESS EDITION of CCleaner,

and I believe this means your problems should be a addressed via direct support from the developers.

Link to comment
Share on other sites

  • Moderators

do you mean \appdata\local\temp (a valid system folder) or, as you mention, \appdata\temp (not a normal system folder)

there should only be 3 folders under Appdata; Local, LocalLow and Roaming.

anything else would indicate malware or worse.

Backup now & backup often.
It's your digital life - protect it with a backup.
Three things are certain; Birth, Death and loss of data. You control the last.

Link to comment
Share on other sites

  • Moderators

anything else would indicate malware or worse.

 

Some perfectly valid programs will create an "\appdata\temp" folder such as Kodak AiO Home Center Software for their printers/scanners, etc., although it's not a default known area to create a temp folder.

 

If the folder is located at "\appdata\temp" then it can simply be right-clicked and manually deleted since it's a non-standard user and system temp folder. CCleaner by default won't clean that non-standard location, although it would be nice if the developers would add that location into CCleaner to clean since it's being used more and more by some legit software.

Link to comment
Share on other sites

  • 2 weeks later...

As Andavari said, it's a customized folder related to one of the installed application of yours.

 

If you used CCleaner to include this file and it didn't work, try this method:

  • Right-click on CCleaner
  • Choose Run As Administrator
  • Go to Options
  • Then Include
  • Click Add
  • Change the option to Include files and subfolders

Save your changes, and try to clean the folder using Cleaner option.

Link to comment
Share on other sites

  • 2 weeks later...

As Andavari said, it's a customized folder related to one of the installed application of yours.

 

If you used CCleaner to include this file and it didn't work, try this method:

  • Right-click on CCleaner
  • Choose Run As Administrator
  • Go to Options
  • Then Include
  • Click Add
  • Change the option to Include files and subfolders

Save your changes, and try to clean the folder using Cleaner option.

 

I was having the same problem, didnt see the "include subfolders" dropdown, now it cleans.

Link to comment
Share on other sites

  • 2 weeks later...
"\appdata\temp"

 

can someone tell me the complete path? :wacko:

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

  • Moderators

see post #2

 

it varies slightly depending on your OS, but the system variable userprofile works it out.

Backup now & backup often.
It's your digital life - protect it with a backup.
Three things are certain; Birth, Death and loss of data. You control the last.

Link to comment
Share on other sites

Some data are stored under \user\appdata\temp\ folder, but this folder cannot be selecte via the regular selection function of ccleaner, nor it can be entered manually to delete *.* within this folder automatically when running ccleaner.

 

on my xp isnt there a temp-folder but there...

 

C:\Dokumente und Einstellungen\User\Lokale Einstellungen\Temp

 

do you mean this folder?

 

 

 

ps: I would also like there anything to delete if there was anything to delete... ;):D or how it right in english

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

  • Moderators

As Andavari said, it's a customized folder related to one of the installed application of yours.

 

If you used CCleaner to include this file and it didn't work, try this method:

  • Right-click on CCleaner
  • Choose Run As Administrator
  • Go to Options
  • Then Include
  • Click Add
  • Change the option to Include files and subfolders

Save your changes, and try to clean the folder using Cleaner option.

everyone this is the answer to this. I've come to think that this folder is placed by bad coding in softwares that write

%userprofile%\app data\temp

when they mean to write

 

%appdata%\temp

The former gives C:\Documents and Settings\User\App data\Temp in XP which is correct; in Vista and newer though it gives the folder in question.

 

The correct usage (the second code box) Resolves to the correct folder for vista plus: C:\Users\User\App Data\Roaming\temp

 

It is akin to finding C:\TEMP in XP

for now add it to the custom includes, if you want figure out what software is using it and ask them to fix their mistake

Though it is odd that they wouldn't use %temp% so maybe I'm wrong :wacko:

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

thank you andavari and nergal :) and all others

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

everyone this is the answer to this. I've come to think that this folder is placed by bad coding in softwares that write

%userprofile%\app data\temp

when they mean to write

 

%appdata%\temp

The former gives C:\Documents and Settings\User\App data\Temp in XP which is correct; in Vista and newer though it gives the folder in question.

 

The correct usage (the second code box) Resolves to the correct folder for vista plus: C:\Users\User\App Data\Roaming\temp

 

It is akin to finding C:\TEMP in XP

for now add it to the custom includes, if you want figure out what software is using it and ask them to fix their mistake

Though it is odd that they wouldn't use %temp% so maybe I'm wrong :wacko:

 

This is a custom made cleaner, so it depends on the path entry that the user has put.

So any path the user put, it'll clean if there is no such path, there will not be any alert to tell the user that path does not exist.

 

anyhow, I just remembered something,

There are three other things you have to know if you are going to use CCleaner:

 

Firstly,

CCleaner DOES NOT clean files that are currently in use.

which makes you sometimes to delete the files manually.

 

For instance,

if you try to do a custom clean for iTunes temp files on this path:

%APPDATA%\Apple Computer\Logs\

 

and you chose to Include files and subfolders.

it won't clean it, unless you kill all iTunes related processes.

Because the files will be in use by iTunes processes. So shutting them down will do the trick.

 

 

Secondly, in custom cleaner, sometimes *.log, *.tmp .etc doesn't work.

why ? simply, because the name of temp files sometimes contain dots before the original source.

 

Example : temporaryfile.o124.tmp

Unfortunately, some programs now use this method to keep those files alive, "Like iTunes Temporary files".

 

CCleaner read the source type from the first DOT.

So in our example, CCleaner will not catch the file IF we just customized the search to *.tmp

because it will read the source as .o124 not as .tmp.

 

In this case you either make the custom clean to clean all files ( *.* ) OR you do this clean manually.

 

Finally, there is another thing you should consider while cleaning.

CCleaner comes with a default option to only delete files in Windows Temp folders older than 24 hours.

So if you want to completely delete everything without leaving anything behind.

You have to uncheck that option which you can find it on Options > Advanced

then uncheck "Only delete files in Windows Temp folders older than 24 hours".

 

I hope it'll be useful, B)

Link to comment
Share on other sites

  • Moderators

hwhat?

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

  • Moderators

if you want figure out what software is using it and ask them to fix their mistake

It makes absolutely no sense whatsoever for an installer, or even already installed software to create or store anything in "%appdata%\temp" but that isn't the only folder I've seen software create, some will also create "%userprofile%\temp" yet another non-system default temp path not dealt with by default/out-of-the-box by cleaning tools such as CCleaner, etc.

 

It's highly unlikely they'd even listen at all to fixing their mistake, since they knew how to make the software, the installer, etc. Most installers I've seen that use those areas store the unpacked setup files in there, and some will even create a registry reference for "re-installing" pointing to those folders. Would be nice if Piriform would include those folders in CCleaner by default since it's being used more and more by installers and even some software after it's already installed.

 

SpywareBlaster also creates a non-system default temp path at:

%AllUsersProfile%\Application Data\TEMP

Link to comment
Share on other sites

  • Moderators
%AllUsersProfile%\Application Data\TEMP

oh dear

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

hi fans :)

 

after i read all this "temp" things :wacko: - i decide to include all "temp" subfolders i found on my system-partition ;):D

 

C:\Dokumente und Einstellungen\Admin\Lokale Einstellungen\Temp

C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\TEMP

C:\Dokumente und Einstellungen\Default User\Lokale Einstellungen\Temp

C:\Dokumente und Einstellungen\User\Lokale Einstellungen\Temp

C:\Dokumente und Einstellungen\LocalService\Lokale Einstellungen\Temp

C:\Dokumente und Einstellungen\NetworkService\Lokale Einstellungen\Temp

C:\Windows\Temp

 

with option "delete all files and subfolders"

 

and also i have include

 

C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Microsoft\Dr Watson\Drwtsn32.log

C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Microsoft\Dr Watson\user.dmp

 

and

 

C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Avira\AntiVir Desktop\LOGFILES\*.log

 

 

is this enough with manuall including temp-files and subfolders? :D

 

i hope, because the "temp" folders go me slowly out - is it right in english?

(ich hoffe, weil mir die "temp" ordner langsam ausgehen - in german)

 

i believe, google dont really good translated this sentence.

 

 

there are some folders from my post, that are already integrated into ccleaner search? i mean-can i delete some of my including paths?

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

  • Moderators

I also have all those ...\Temp paths you do on my system, and have for many years now. Note that CCleaner will not respect that 24 hour rule in its 'Options->Advanced' when manually including those folders.

Link to comment
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
×
×
  • Create New...

Important Information

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