temp folder under C:\Documents and Settings\user\Local Settings\ is over 5GB in size !

Posted on 2007-11-30
Medium Priority
Last Modified: 2008-02-01

I recently discovered by accident that my temp folder under C:\Documents and Settings\gebruiker01\Local Settings\Temp is over 5GB in file size !

Several other users are also listed there (under C:\Documents and Settings\) but there folders are only 20MB, they use the pc in the subject not as much.  We use sbs 2003 if that can help.

I have no idea how it got so big, since company policy asks to store files on server (backuped regularly) to prevent data loss.

Can i simply empty this folder, and how does it get so big ? So i can monitor it in the future.

Thanks !
Question by:ggc2
  • 3
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20380732
yes you can.
LVL 17

Accepted Solution

Shanmuga Sundaram earned 672 total points
ID: 20380758
I am using this to clean my temp folders. Just open notepad. copy this and save as "Cleantempfolder.vbs". if you just double click on this vbscript file, all the files present in the tempfolder will be removed.

Option Explicit
on error resume next
      Dim oFSO
      Dim sDirectoryPath
      Dim oFolder
      Dim oFileCollection
      Dim oFile
      Dim iDaysOld

'Customize values here to fit your needs
'      iDaysOld = 1
      Set oFSO = CreateObject("Scripting.FileSystemObject")
Set ofolder = ofso.GetSpecialFolder(2)
      set oFileCollection = oFolder.Files

      For each oFile in oFileCollection
      Set oFSO = Nothing
      Set oFolder = Nothing
      Set oFileCollection = Nothing
      Set oFile = Nothing

msgbox "Temp folder cleaned",vbokonly,"Shanmuga Sundara
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20380760
the last line should be as

msgbox "Temp folder cleaned",vbokonly,"Cleaning Tempfolder"
LVL 47

Assisted Solution

rpggamergirl earned 664 total points
ID: 20380901
The files in the temp folder can go really big if you're not in the habit of emptying them regularly.
I use ATF Cleaner to clean my temp folders, it's a nice little program by Attribune that cleans ALL users temp folders.

Download and run ATF Cleaner by Atribune.
Reboot your computer into Safe Mode.
Double-click ATF-Cleaner.exe to run the program.
Under Main choose: Select All
Click the Empty Selected button.

(If you use FireFox or the Opera browser,
To keep saved passwords, click No at the prompt.)

CCleaner is also a very good one.
LVL 23

Assisted Solution

by:Danny Child
Danny Child earned 664 total points
ID: 20382165
The Disk Cleanup wizard can also clear ALL users temp files.  R- Click the drive in question.. Properties.. and click the Disk Cleanup button.

You may also want to check the folder named in Internet Explorer - Tools menu..  Interney Options and on the General Tab, in the Temporary Internet Files options, then click the Settings button.  The easiest thing to do is to just shrink the size to a max 1000 mb size.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Nuance's PaperPort may display this error message: PaperPort appears to be running Windows XP Compatibility Mode which may result in errors. We recommend disabling Compatibility Mode for the PaprPort.exe program, see Technote 6629. This articl…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question