
Windows and apps create temporary files for installers, caches, logs, and working data. Many are removed automatically, but leftovers can accumulate and safely be cleared.
These steps apply to Windows 10 and Windows 11.
Does This Affect You?
Temp files are usually safe to delete. Windows will skip anything currently in use, and apps recreate needed temporary files later.
Empty the User Temp Folder
- Press Windows key + R.
- Type
%temp%and press Enter. - Press Ctrl + A to select everything.
- Press Delete.
- If Windows says a file is in use, click Skip.
- Empty the Recycle Bin afterward to actually free the space.
Use Disk Cleanup for a Deeper Sweep
- Search for Disk Cleanup and open it.
- Choose the main drive, usually C:.
- Check Temporary files and Temporary Internet Files if shown.
- Click Clean up system files for Windows-level temporary files and update leftovers.
- Click OK, then Delete Files.
What Temp Cleanup Does Not Cover
There Are Two Temp Areas
%temp% opens your user temp folder. Windows also has C:WindowsTemp for system processes, which needs admin access or Disk Cleanup’s system-file mode.
Browser Cache Is Separate
Browser cache, cookies, and history are managed inside each browser and are not fully cleared by deleting Windows temp folders.
You Can Repeat This Regularly
Running either cleanup method periodically is fine. Active apps may recreate files immediately, which is normal.
Sources
- Microsoft Support: Free up drive space in Windows
- Microsoft Support: Use Disk Cleanup in Windows
- Microsoft Learn: Temporary files and folders in Windows
Disclosure: This post may contain affiliate links which means I may receive a commission for purchases made through links. I will only recommend products that I have personally used! Learn more on my Private Policy page.
