Windows – Is it safe to delete AppData\Local\Temp

windows 7

  • I seem to have a lot of junk files in %appdata%\Local\Temp (also accessible via environment variables %TEMP% and %TMP%).
    Is it safe to delete these?

  • Also, is it safe to delete the Temp folder in the Windows directory, C:\Windows\Temp?

Best Answer

Some programs keep important files in there, surprisingly. If you are interested in freeing some space I'd advise to only delete the files excluding those that were created in the last 24h or so, or the ones you know for sure aren't used by other programs, such as old installers from software you downloaded, etc. You can use software such as CCleaner to do that.

The answers to this question provide ways to do this clean-up safely and automatically.