Removing Temporary Files

Written by Eric Wyatt (last updated December 21, 2020)

To aid programs, Windows offers a dedicated space for those programs to write files, as needed, while you are using the program. This location is known as the Temporary folder. The Temporary folder, as the name suggests, exists as the location for programs to write temporary, yet necessary, files related to the operation of the program on your machine.

With the name "Temporary," one would assume that the files are there only temporarily. In fact, that is exactly what is supposed to happen. When you close the program, all the temporary files a program creates should be removed by that program. This, however, does not always happen. Sometimes a computer program does not remove the temporary file for one reason or another. If the programs on your computer could write temporary files anywhere they wanted, you could have hidden files taking up precious storage space all over your system, and you would never know. This is why Microsoft created the Temporary folder—so you can find those files in a single location.

If you find that your system is running low on storage space, an excess of undeleted temp files could be a possible culprit. To quickly empty your Temporary folder, follow these simple steps.

  1. Launch the Run prompt by pressing Win+R. This opens the Run window.
  2. Type "%Temp%" (without quotes) and press Enter. Windows opens the Temporary folder.
  3. Press CTRL+A to select all the files and folders, then press Delete. Windows deletes all the files in the Temporary folder.
  4. Close the Temporary folder window.

A few things to note: First, if you have just installed any programs that require a restart, it is recommended that you restart your system before you delete the temporary items, as sometimes the installation holds temporary files until it finishes rebooting. Second, if items are left in the Temporary folder after you tried to delete them, Windows has determined, for some reason, that those files are still in use, even if it appears that you're not running any programs.

These quick steps will allow you to remove any temporary files that are not needed by your computer. This can potentially save valuable disk space on your system.

 This tip (13814) applies to Windows 10.

Author Bio

Eric Wyatt

Eric Wyatt is a swell guy (or so his friends tell him). He is a formally trained designer and branding expert, bringing a wide range of skills to his Tips.Net articles. ...

MORE FROM ERIC

Configuring Windows' Secret Start Menu

You can quickly access either Command Prompt or PowerShell by using the Win+X shortcut key command. But which one is ...

Discover More

Launching and Understanding the Xbox Game Bar

The Xbox Game Bar is a feature that often goes unnoticed by non-gamers. Let's go over launching and default settings for ...

Discover More

Installing a Native Progressive Web App

Windows 10 with the Edge Chromium browser allows you to install Progressive Web Apps. These allow for fast installation ...

Discover More
More WindowsTips

Controlling the Size of the Windows Page File

The Windows page file is crucial to optimal system performance. This tip shows you how to control its size.

Discover More

Logging Robocopy Operations

If you schedule Robocopy operations, you may want to maintain log files of what happened. In this case, getting familiar ...

Discover More

Adding Locations to the Search Index

You can fine-tune Indexed Searches by adding locations to the search index. This tip tells you how.

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips