Temp Files

JackNaylorPE

New member
Member
VIP
Local time
3:43 AM
Messages
159
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 Computer

Computer Manufacturer/Model Number
Home Built
OS
Windows 7 - 64 bit
CPU
i7 920
Motherboard
Asus Rampage II Extreme
Memory
Mushkin 998692
Graphics Card(s)
GTX 295 FTW Edition 1792MB
Sound Card
Sounblaster Xi Fi Extreme
Monitor(s) Displays
Dekk U2410
Hard Drives
Seagate 7200.12
PSU
Antec SG-850
Case
Antec 1200
Cooling
Prolimatech Megashadow
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Customs, Dell, Gateway, HP, Toshiba, Acer, ASUS
OS
Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
Keyboard
Microsoft
Mouse
Microsoft
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Back
Top