Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Temp Files

19 Jul 2015   #1

Windows 7 - 64 bit
Temp Files

1. Why does Windows store temp files in places other the the Temp folder ? Long before SSDs, I have kept the OS on its own partition w/ TMP and TEMO environment variables set to D:\Temp and do cleaning regularly. Have wifie's puter set up to run ccleaner and disk cleanup (once a month). Looking in there today, the temp folder was clean, but searching C:\ there were 16,673 files taking up 264 MB. Ya would think deleteing temp files would get rid of all of them.

2. And since most of 2/3 of them are phantom files ..... same file in 2, 3 or more different locations so that when ya delete 1 they all go, it's a PITA to delete. What's the deal with this dupe thing ?

My System SpecsSystem Spec
19 Jul 2015   #2

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP

Windows is not always the fault, some program installations may create the Folder as they need. And there may be a Folder for each User such as the main one, Administrator, Default, Public, etc. I recall some years ago where a program required a "scratch disk" used to hold data being worked on, without a suitable temp Folder it either wouldn't install or wouldn't run. Maybe a batch file or a script used to search for .tmp files then delete them would be useful?
My System SpecsSystem Spec
19 Jul 2015   #3
Layback Bear

Windows 10 Pro. 64/ version 1709

If Windows 7 Disk Clean and Ccleaner don't clean them I just leave them alone. Something on the computer needs and uses them.

You could reboot and see if those temp files are still there or if they build up while using programs.
My System SpecsSystem Spec

19 Jul 2015   #4

Windows 7 Pro 64 bit

Temp files created by applications would normally be stored in a folder in the users profile. This automatically provides applications appropriate rights to the files and at the same time prevents access by other users. This is important as temp files could potentially contain sensitive information. If applications use the standard API functions for creating temp files that is where they will go. But this is just a convenience for applications and in reality they can put them wherever they want, which they sometimes do. Nothing you can do about that.

There is also the windows\temp folder which would be used by processes running under one of the system accounts. Applications running under a standard account have no access here. Since application installers run under an admin account with full access they could use this folder if they wished. Of course they can put them wherever they want and with more freedom than standard applications.

Edit: If applications or installers wish to use non standard methods to create or allocate temp files there is nothing you can do about it. If you were to somehow override this the results would be unpredictable, but likely unpleasant.
My System SpecsSystem Spec

 Temp Files

Thread Tools

Similar help and support threads
Thread Forum
Q: Deleting temp files?
What is the best way to clear up the files in the folder? C:\Users\<<username>>\AppData\Local\Temp Disk Cleanup does not scan this folder, so does not select it for deletion. One app that I installed left behind its installer file (almost 2 GB) in this folder. And I don't really want to back...
Performance & Maintenance
Pagefile, Temporary Int Files, Temp files reset after update
Hello, I have a system with 32gb DDR3-2400, a 256GB SSD and a couple of spinners. I have set up 4gb of the RAM to be used as another RAMdisk using the softperfect software. This problem has been going on for some time, but has been more of a problem since I started using the RAMdisk. Not...
Performance & Maintenance
Temp. Internet Files in IE9
I have 2 that are there every day & would appreciate an explanation in 'simple terms' please. I realize that the 'Compatible' one deals with easier reading in old site or something to that affect but is it automatic or did I cause it by clicking that icon up in address bar? The google one...
Browsers & Mail
Temp Internet files folder is 118GB full, but no files???
Hello. I hope that someone can help me with my problem. I a lower-intermediate on a computer. I have my tower pc on constant all day- to record a streaming IP Camera from my work. Initially, I saved these files into my docutments- which they would save as .avi files, and after every several...
Browsers & Mail
Where is my temp files ??
I just installed windows 7 ultimate 64bit. When i click on internet options and then click on settings then view files my files are not there. Nothing at all. Where are they being stored at now ? and how do i view them ? thx
Browsers & Mail
Those pesky temp files
What are we supposed to do with temp files? With compelling names like a81df204-8d65-4a94-8ebb-145b3c68a909, one is never quite sure what it is, or what will happen if it is deleted. They pile up in drifts like winter snowbanks but no spring sunshine ever seems to melt them away. OTOH, if...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:22.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App