# C:/Windows/TEMP folder - what's all this crap and can I delete it safely?

**URL:** <https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456>\
**Category:** Factual Questions\
**Created:** [September 24, 2003, 2:28am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456 "2003-09-24T02:28:48Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntaresJB](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@AntaresJB](https://boards.straightdope.com/u/AntaresJB)\
**Post date:** [September 24, 2003, 2:28am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/1 "2003-09-24T02:28:48Z")

</div>

I was browsing through my computer this afternoon trying to come up with things I can delete to clear up some more hard drive space, and I came upon the C:/Windows/TEMP/ folder. There’s a whole freaking lot of stuff in this folder and a bazillion subfolders. My brain reads “Temp” and thinks “Temporary” and therefore thinks that this is stuff I theoretically should not need and should be able to delete without screwing up my computer. Is this the case, or am I a dork? Can I get rid of this crap?

(BTW I’m running Windows ME on a 2-3 year-old HP Pavilion)

---

<div class="post-metadata">

**Author:** ![Jois](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@Jois](https://boards.straightdope.com/u/Jois)\
**Post date:** [September 24, 2003, 2:37am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/2 "2003-09-24T02:37:57Z")

</div>

[http://www.digitalcurriculum.com/support/wtemp.html](http://www.digitalcurriculum.com/support/wtemp.html)

It’s supposed to be a good idea.

Jois

---

<div class="post-metadata">

**Author:** ![Number](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/number/32/242_2.png) [@Number](https://boards.straightdope.com/u/Number)\
**Post date:** [September 24, 2003, 2:41am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/3 "2003-09-24T02:41:11Z")

</div>

Yes, they’re temporary files and it’s ok to delete them. You should probably sort them by date modified (switch to **Details** under the **View** menu then click the **Modified** heading) and delete any that weren’t modified in the last couple of days.

You can also run the Disk Cleanup utility by going to **Start|Run** and typing **cleanmgr**. This will give you the option to delete several different types of temporary files at once.

---

<div class="post-metadata">

**Author:** ![handy](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@handy](https://boards.straightdope.com/u/handy)\
**Post date:** [September 24, 2003, 3:38pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/4 "2003-09-24T15:38:38Z")

</div>

copy them to another directory first, then restart & see if things are okay. If not, you can always copy them back.

---

<div class="post-metadata">

**Author:** ![Nanoda](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Nanoda](https://boards.straightdope.com/u/Nanoda)\
**Post date:** [September 24, 2003, 4:18pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/5 "2003-09-24T16:18:08Z")

</div>

If there’s anything being used there, you shouldn’t be able to delete it. If you don’t have anything running, feel free to delete everything in there. Most of it should be deleted by the originating programs, but for whatever reason, they sometimes don’t.

Among other things, most days mine is full of Winzip files, unpacked installation files, and (for some insane reason), thousands of 707 byte files created by ICQ Lite containing the Javascript for its banner ads. 😕 Sure wish I could stop _that_.

---

<div class="post-metadata">

**Author:** ![Phage](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@Phage](https://boards.straightdope.com/u/Phage)\
**Post date:** [September 24, 2003, 4:27pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/6 "2003-09-24T16:27:06Z")

</div>

So this is the corner that Windows goes to poop in and forget about? Why are these files not cleaned up regularly, or by their creator programs?

---

<div class="post-metadata">

**Author:** ![stick\_monkey](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@stick\_monkey](https://boards.straightdope.com/u/stick_monkey)\
**Post date:** [September 24, 2003, 5:16pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/7 "2003-09-24T17:16:15Z")

</div>

> [@](#):
>
> So this is the corner that Windows goes to poop in and forget about? Why are these files not cleaned up regularly, or by their creator programs?

Because programmers make mistakes, or may be working with an application which protects user content by storing changes in temp files, updating the ‘real’ file only during a save, and keeping the temp file in case of a crash. At least, that’s how Word uses them.

You can fairly easily set up Windows to automatically delete them using scheduler, regedit, or half a dozen other ways. You can have them deleted on startup, shutdown, or at a specific time, date, or re-occurring date.

---

<div class="post-metadata">

**Author:** ![AntaresJB](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@AntaresJB](https://boards.straightdope.com/u/AntaresJB)\
**Post date:** [September 24, 2003, 6:47pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/8 "2003-09-24T18:47:23Z")

</div>

Went in and deleted everything (except the “Temporary Internet files” “History” and “Cookies” subfolders, which I think are important) and have had no problems. Thanks guys, there was quite a lot of crap in there.

---

<div class="post-metadata">

**Author:** ![Shade](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Shade](https://boards.straightdope.com/u/Shade)\
**Post date:** [September 24, 2003, 6:58pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/9 "2003-09-24T18:58:11Z")

</div>

My advice would be to change the name of the folder or move everything to another folder if you’re not sure. Then delete them in a few weeks if everything’s fine.

The idea of TEMP is that , as you’d guess, programs can put temporary files there, so that you know where they are, and when you spring-clean you can delete them all. I mean, nothing _stops_ a program needing files in the temp directory, except that it’d be really stupid.

---

<div class="post-metadata">

**Author:** ![handy](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@handy](https://boards.straightdope.com/u/handy)\
**Post date:** [September 24, 2003, 9:01pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/10 "2003-09-24T21:01:54Z")

</div>

Also defrag the registry if you can. Alot of links in it still point to crap that isn’t there.

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [September 24, 2003, 9:31pm UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/11 "2003-09-24T21:31:01Z")

</div>

That ICQ lite… I wnet into my temp directory and found **15 501** files that it had dropped there: over _10 megs_ of little HTML files. It took XP _half an hour_ to delete them.

Something tells me that that program, or at least its ad subsystem, has a couple of design flaws…

---

<div class="post-metadata">

**Author:** ![Manduck](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/manduck/32/256_2.png) [@Manduck](https://boards.straightdope.com/u/Manduck)\
**Post date:** [September 25, 2003, 2:12am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/12 "2003-09-25T02:12:14Z")

</div>

> [@](#):
>
> \*Originally posted by Phage \*  
> \*\*So this is the corner that Windows goes to poop in and forget about? Why are these files not cleaned up regularly, or by their creator programs? \*\*

Sometimes a program crashes before it gets around to deleting its temp files. Also, sometimes the whole OS crashes or hangs, so none of the running programs get a chance to delete their temp files.

---

<div class="post-metadata">

**Author:** ![barbitu8](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@barbitu8](https://boards.straightdope.com/u/barbitu8)\
**Post date:** [September 25, 2003, 2:18am UTC](https://boards.straightdope.com/t/c-windows-temp-folder-whats-all-this-crap-and-can-i-delete-it-safely/203456/13 "2003-09-25T02:18:57Z")

</div>

> [@](#):
>
> \*Originally posted by AntaresJB \*  
> \*\*Went in and deleted everything (except the “Temporary Internet files” “History” and “Cookies” subfolders, which I think are important) and have had no problems. Thanks guys, there was quite a lot of crap in there. \*\*

You can also delete the temporary internet files if they are older than the current date. This is placed in the cache on your hard drive, for faster retrieval - similar to the RAM, but it saves RAM by putting it in the hard drive’s cache. Deleting it is no big deal, as it will just take longer for your computer to retrieve it.
