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
JackNaylorPE

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
Berton

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 Windows 7 Pro/64
 
 

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
LMiller7

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
Reply

 Temp Files




Thread Tools




Similar help and support threads
Thread Forum
Changed location of 'TMP' and 'Temp' in Variables but no Temp files?
I know there are posts against and posts for this tweak for relocating the TMP and Temp files in Variables, but more posts say to relocate it OFF an SSD drive. My Computer is fairly new running OS Windows 7 Premium 64Bit on a 220 gig SSD with 1 tet disk drive for data. I created a folder on...
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
Are all 'temp' files OK to delete ?
I have the following Temp folders that I know of: C:\Windows\Temp C:\Users\Tim\AppData\Local\Temp C:\Users\Tim\AppData\LocalLow\Temp C:\Users\Tim\AppData\Temp Are the contents of these 'Temp' folders used by the system...or are they left over from operations/installtions...etc. Is it...
Performance & Maintenance
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


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 22:02.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App