Link to home
Start Free TrialLog in
Avatar of Joe Grosskopf
Joe Grosskopf

asked on

Files in temp directory

I have a user whose temp directory has thousands of files that start with ioc and end in .tmp (ioc9772.tmp, iocE98.tmp) etc. I cannot figure out what program is generating these. Anyone know? We do have kaspersky anti-virus and I suspect that;s it, but not positive
Avatar of John
John
Flag of Canada image

I see files like wct19EF.tmp in my temp folder. I clear out my temp folder once or twice a week and only see a few new ones. Mine come from OneNote. Open one with Notepad (I use Ultra Edit) and see if you can determine the source.

Delete the files, run Disk Cleanup and then check in a day or so.
Avatar of n2fc
Check and see if they are using GroupWise software... they are known to cause those tmp files, and never cleanup!
Avatar of Joe Grosskopf
Joe Grosskopf

ASKER

Not using groupwise. And I cannot open any files because they are all in use...all 65,000. Right-click and properties tells nothing
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is Oracle installed on this ?
No. This is a desktop with windows 7. I rebooted to safe mode, cleaned out temp dir. Nothing so far after reboot. Going to do a full malware bytes scan to be sure
For future reference, a handy way of investigating the contents and source of files that are locked when booted into Windows is to instead boot the system to a Linux Live CD like Knoppix (https://livecdlist.com/knoppix).  There are hundreds of Live CDs around and every expert has their favourite.  Mine is Linux Mint (https://livecdlist.com/linux-mint).  Most Linux CDs/DVDs have the option of booting into "live" mode rather than installing the operating system.  Just be sure not to select the "Install" option.  When the computer is booted to the alternative operating system the files will not be locked and you can copy them out to another folder where you can investigate them after rebooting to Windows again.
Temp folders can be full of garbage, many programs never clean up. Say, why would you think there's a connection to malware? There was no indication, yet.

Simple solution: delete the temp folder (maybe keep the files for future analysis, if you like) and setup auditing on the temp folders (if "strange" files start reappearing), so that you can easily see what process creates them.
https://technet.microsoft.com/en-us/library/cc771070(v=ws.11).aspx describes file/folder auditing.
why would you think there's a connection to malware?   Because all 65,000 were in use. I do not see that on any of my own or client machines.
With a clean installation, no. But who knows what software does that. Speculation is never the professional approach. Auditing would reveal it instantly.
I'm curious to know how you knew that all 65,000 files were in use.  Usually when you do a multiple select of files and choose "delete", it will halt the process on the first file it finds in use and won't delete those after it.  You then have to take note of the one found to be in use, select the rest, and try to delete them.  This can happen until you eventually get past the ones in use and the rest then delete.  The alternative is to use the "DOS" DEL *.* command.
I tried to copy all the files to and external drive. It skips files that it cannot copy, I got 3 files and they were all 0KB. It's all good. I did a combofix, removed and re-installed kaspersky and nothing is appearing in the temp drive now. Thanks for all your input
Look, you need to understand a thing or two about deleting files. Did you read BillDL's comment? That is the reason. These files won't have been in use, not every file, maybe just a few. Don't just select some solution when you still don't understand what is going on - we are here to help.
I'll probably just unsubscribe to this group since it seems to be nothing but pompous comments from know-it-alls who just want to show everyone else how smart they are. I picked the solution to scan for malware and it seemed to be a virus. This issue had nothing to do with files being in use or how many are in use and the comments regarding that were taking this off onto a tangent that was not needed. Read the beginning issue and don't comment on a comment or comment or after the solution is closed, probably upset that I didn't pick your solution.
You are getting me wrong. I read the comments and I see no solution yet. If you see one, fine, but based on the comment you selected as solution and the comments on that one - no, still don't find any indication until your latest comment came up, that it was a virus, actually. About " I picked the solution to scan for malware and it seemed to be a virus. " - did you find one?

Sorry, but I tend to do more then authors may be looking for, but not for showing off.
I hope you didn't think that my comments were pompous.  If so, you completely misunderstood my comments and their intentions.