Is there an automatic temp files clean-out process in Windows 7?

digiday

Banned
Is there an automatic temp files clean-out process in Windows 7?

Every once in a while I noticed that my hard drive is somehow automatically purged of about 30 gigs of data, so all of a sudden I have roughly 30 gigabytes more hard drive space available that the last time I checked, but I haven't trashed any files.

I'm wondering if there is some kind of automatic temp files clean-out process that Windows 7 goes through at certain times.

Or could this be related to an automatic disk defragmentation? My defragmentation is set to run once a week, but I've only seen the 30 gigs or so open up about three or four times in the last year.

And if there is a process by which Windows 7 automatically "cleans house" to open up this much hard drive space, is there a way to do it manually without throwing away any of my normal files?

Thanks for any input,

digiday
 

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
30GB is an unreal ammount to be free'd by any cleaning software, especially when your drive is only 160GB (unless you have upgraded it)!

Windows built in tool "disk cleanup" can be scheduled but for it to be fully automated you have to manually create a settings string in the registry and add the command switch to the scheduled run.

I cant think of any 3rd party software that will do this without prompting or again being preconfigured to require no user action.

Defrag may improve the free space report "slightly" although it doesnt actually create any free space, just consolidates it into the largest continious number of blocks it can.

I am often asked to "clean out" peoples computers, and in general if I run Disk Cleanup (including uninstall information for updates), anti-malware sweeps, Ccleaner, empty the recyle bin, remove bloatware, set a fixed page file, disable hibernation and the hiberfil.sys remove all except the most recent restore point, rebuild the prefetch and run a defrag. I'd rarely free over 15GB usually more like 7-10GB.

I'm curious as to where your 30GB have come from! I hope some of the Guru's find this post as I will be following!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
Hi Sub Styler,

I checked Disk Cleanup and among a few other much smaller space eaters, I found 21.1 gigs being eaten by "Temporary" files. But my normal "Temp" folder only has 9.8 gigs in it... this one is a User>AppData>Local>Temp... so I guess there is another temp folder. I've read that there is a second, possibly invisible "Temporary" folder.

Put together, these two Temp files folders equal approximately the 30 gigs that this computer occasionally purges by itself somehow.

The Disk Cleanup interface doesn't show the path to this "Temporary" folder that it is referring to when I click on it, nor does it have the "View Files" button like the other categories in the Disk Cleanup interface.

So I'm running the Disk Cleanup process. Right now it seems to be sort of lingering or stuck on "Cleaning: Service Pack Backup Files"... I'll see how it goes.

But the Disk Cleanup interface says, "You can safely delete Temporary files that have not been modified in over a week". But I don't know which files it is deleting nor do I know which ones haven't been modified in over a week... and there is no way to discern where these files are to figure out which ones are older than a week. As I said, this is apparently a different Temp files folder than the one that I find at User>AppData>Local>Temp

Thanks,

digi
 

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
looked at some of your older posts and all the graphic editors you use will be responsible for most of this temporary data, not being too familiar with this sort of thing you may be better asking one of the GFX team? Do you have a 30GB scratch file in photoshop or something? Just a thought.....

In general you can delete temp files created in the last few minutes, unless you have installed something and not restarted or have pending updates for windows or other software that uses automatic updates. After a reboot (or 2 if you're paranoid) why would those temp files be needed?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
Well, it cleared 15 gigs... that's not quite the 21.1 gigs plus the misc smaller chunks that the Disk Cleanup said it would open (nor the 30 gigs that I've seen purged by itself a few times in the last year)... but it's still pretty good.

I can see that my Temp folder at User>AppData>Local>Temp is virtually empty now.

Do you know where this second Temporary folder is?... or was the Disk Cleanup panel just referring to the one that I have at User>AppData>Local>Temp.

Maybe Disk Cleanup said it had 21.1 gigs when the system only showed that it had 9.8 gigs via the normal directory info, but then somehow it opened about 15 gigs when the actual Disk Cleanup process was run... but the other smaller chunks removed in other areas didn't nearly equal 5 gigs... only about 800 megs.

I dunno... anyway, thanks.

I've never manually deleted temp files before, so this is my first experience getting in to Disk Cleanup, though I have everything else set to run automatically, like defragment, malware sweeps, antivirus, etc.

Since I've never deleted temp files before, and that's what my post is basically asking about, asking me why they would be needed is a bit pointless, right? You tell me, why are they needed?... is one supposed to manually delete temp files after every restart in Windows 7?

Someone else has referred me to a page about setting up automatic Disk Cleanups via the Command Line... here's that link...
How to configure automatic Disk Cleanup in Windows 7

I know there are allot of funky things that happen in Windows when left at default settings. I had a prior experience where I finally investigated what seemed to be a constant drain on my processor, always running at about 75 percent according to two different desktop CPU usage gadgets. I discovered that some Windows Media Player network sharing service was constantly running my processor at 75 percent, never stopping until I figured it out and turned it off... then it came back after the next restart and I had to disable it completely.

That WMP network sharing service was completely useless and performing no service for me (completely indescribable by Microsoft forums people), yet it was set to put a constant 75 percent drain on the processor, 24 hours a day.
 
Last edited:

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
  • Like
Reactions: JMH
There are lots of temp folders, often more than the windows disk cleanup knows about.

User\AppData\Local\Temp (as you noted)User\AppData\Local\Microsoft\Windows\Temporary Internet Files
C:\Windows\Temp
Often C:\Temp is there aswell.
sometimes C:\windows\tmp (although I havent seen this since XP)

No you dont need to clear your temp folders after each boot, they usually contain log files, uncompressed install data, components for projects you have been working on and other junk once a month should be good.

You also dont need to defragment weekly either unless you do a lot of installing and uninstalling and moving files and folders around. Infact I would advise against weekly defrags as you are spanking your hard drive into early retirement.

Yes that guide is very detailed!

I heard of that WMP service constantly searching for dicoverable devices and causing that problem. Although that is one of the services i disable at firstboot anyway so i havent suffered from it.

Still dont know how that other 30GB became available though, any leads?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
Digiday,
Ways to easily clean out temp files:
1. Use CCleaner (link in my sig)
2. :orb: | type %temp% | ENTER | CTRL + A | CTRL + D | you may find a couple of files that can't be deleted. This is normal.
3. Run TFC [FONT=&quot][/FONT]Geekstogo - TFC Temp File Cleaner
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
Hello Sub Styler and karlsnooks,

@Sub Styler, is running the system defrag app hard on the hard drive?... I've never heard about that, but I've never read-up on this topic either. Is it harder on the hard drive than any other everyday function like running an anti-malware scan or rendering a video?... if so, how?

And no I haven't found what was going on in the past when four times in the last year my hard drive automatically purged itself of 30 gigs... that's one of the things that I was inquiring about... I haven't figured out how to ask a self answering question yet, but when I do I'll let you know. + ∞ = ;^)

@karlsnooks, thanks for the refs, but I'm not inclined to install one thing in order to remove another... I guess that's what "Disk Cleanup" is for and it's built in to the system. And there is no link that appears in your signature on my page here.

Thanks,

digi
 

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
Just a note in passing.


30 gigs is about the size of a backup and if you are using backup and your drive is running out of space windows will delete the oldest backup to make room.


Good Luck
 

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
Thanks zigzag,

but I have backup turned off.

digi
 

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
Performing scans do cause wear on the drives aswell almost everything does, but not as much defragging.

Scanners simply read the data from the drive and usually sequentially.

Defrag is moving the data around and not just in the file allocation table. So it has to read the data, then write the data in a new location, sometimes this is a temporary location at the end of the drive while other data is moved and then it gets read and rewritten again to it final resting place. Unlike scans there are lots of reads and writes and seeks some of which is duplicated.

Karlsnooks' recommendation of Ccleaner (I can see the blue link in his sig) is valid, it's one of the most popular cleaning tools on the net and is more thorough than disk cleanup. For its small install size it will normally free more space than it uses on it's first run. I use it. If you do use it I would avoid the registry scanner/defragger as it's not intelligent and will happily remove things that are needed.

It's not extreme or anything and depending on the TBF destiny of your drive the impact could be negligable.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
There is no signature that appears on this page for karlsnooks, but there is one on his profile page, and there I see the link for CCleaner. I do see the link for Geekstogo TFC, but there is otherwise no other mention of that.

Your warning about CCleaner's scanner/defragger removing needed files is exactly why I don't use those types of apps. There are ads and trick links that inundate the web for all kinds of cleaners, fixers, speed-up gimmicks, install now, click here to scan and fix now, and everything else with fake links that pose as one thing and do another... who knows what half of this junk is?

"TBF destiny"?

Thanks again,

digi
 

My Computer

Computer Manufacturer/Model Number
Dell 531
OS
Windows 7 ULT 32 bit
CPU
2 GHZ
Memory
2 GB
Other Info
Also use Macs, but don't tell anyone
Drives are sold by manufacturers claiming they have a mean time before failure of (x)hours or (y) I/0 operations of course this being a mean time is just an average. In reality each drive has its own failure time destiny. Could be weeks, months or years... no one knows.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Build
OS
Windows 7 Ultimate x64
CPU
Intel Core2 Quad Q8300 2.5Ghz
Motherboard
Asus P5QD Turbo
Memory
Kingston HyperX 4x1GB DDR2 1066Mhz
Graphics Card(s)
Asus/Nvidia 9500GT 1GB
Sound Card
On-Board HD
Monitor(s) Displays
22" Widescreen TFT
Screen Resolution
1920x1080
Hard Drives
2x 320Gb Seagate SATAII RAID 0
2x 80Gb Seagate SATAII RAID 0
1x 1tb hybrid (8gb ssd)
PSU
650w
Case
ATX
Cooling
140mm front, 120mm Rear, 80mm Chipset + stock CPU and GPU
Keyboard
Plastic one
Mouse
Plastic one
Internet Speed
4Mbps
Other Info
Laptop: HP Elitebook 2560p
i5 @2.7Ghz 4GB DDR3
Back
Top