Is it safe to delete AppData\Local\Temp?
-
I seem to have a lot of junk files in
%LOCALAPPDATA%\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
?
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.
Yes, you can. Windows already does it for you when you use the Disk Cleanup tool (cleanmgr.exe
) and select the Temporary files checkbox.
You can, but I am assuming your intention is to free up disk space. If this is the case you might want to use clean-up instead of doing the process manually. Go to Run and type cleanup
:
Then click Disk Cleanup and choose a drive.
Window will pop up where you will be able to select for deletion of temporary (and other mostly useless) files from multiple locations, not just C:\Users\[Username]\AppData\Local\Temp
.