Temp Folder files

M

Marv Wade

Under the C:\Windows\Temp are hundreds of folders and files. Are these
files needed or are they left over from some install activity?

Is it safe to delete them?

Marv
 
B

Bengt Bergholm

Normally it is quite safe to delete them. I do this from time to time on
both XP and Windows servers. If some file is in use Windows will tell
you so and deny deletion. Select all other files and leave the one that
is in use.

BoB
 
T

Tim Slattery

Marv Wade said:
Under the C:\Windows\Temp are hundreds of folders and files. Are these
files needed or are they left over from some install activity?

Nearly all are left-overs.
Is it safe to delete them?

Some install routines put files in the Temp directory that are used
the next time you boot up. Eliminate that possibility by rebooting,
then delete everything that's still in Temp. If you try to delete
something that's being used, you'll get an error message. Just let
that one remain and take care of the rest.
 
G

Guest

Can you go to search & search for ".tmp"? Then delete everything that pops up?

Thanks.
 
K

Ken Blake, MVP

Marv said:
Under the C:\Windows\Temp are hundreds of folders and files. Are
these files needed or are they left over from some install activity?

Is it safe to delete them?


Yes, they can, and should be, deleted periodically.

The temp folder provides workspace for programs. Programs can create
temporary files there for their own temporary use. Each program should
delete all its temporary files when it closes, but for various reasons it
doesn't always happen (for example, if the program crashes, it never gets to
do this). That's why it's a good idea to periodically clean out anything
left there.

Also note that there are some program installations which work in two steps.
The first step concludes by writing temporary files and rebooting. The
second step starts automatically after rebooting and needs to find those
files there (and then deletes them when it's done).

Other than doing it automatically when rebooting (that would interfere with
installations like the kind I described), it's always safe to delete the
contents of the temp folder. Because it's safe to delete any temp files that
aren't open and in use by an application, and since Windows won't let you
delete open files, it's safe to (try to) delete them at any time. If any
fail to delete because they're open, they'll either be deleted automatically
when the app using them closes, or you'll get them the next time you delete
manually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Remove files? 2
%WinDir%\Temp 7
Any point to backing up prefetch files 3
Show I.E. hidden files 4
Deleting files safely 4
FIle Deleter Needed 3
Too many files! scandisk, uninstall, temp files! 9
temp files 2

Top