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

Which Version of Windows am I Running?

With Windows it has always been helpful to know what version you are running. With Windows 10 knowing the version isn't ...

Discover More

Volume Conversions

Remembering volume conversions can be tricky. Fortunately, the Windows 10 calculator offers volume conversion capabilities.

Discover More

Counting Files and Subfolders Using the Command Prompt

There are times when you might need to know how many files or subfolders are in a folder. Using the command prompt, you ...

Discover More
More WindowsTips

Creating a Hierarchy Map of Your Hard Drive

Want to see how the directories and subdirectories in your hard drive are organized? It's easy to do using the directions ...

Discover More

Customizing File Explorer's Display

File Explorer is a powerful utility to use for navigating among your files and folders. And it can be customized a great ...

Discover More

Using Robocopy with File Sizes and Ages

Robocopy is a robust file copy utility built into Windows. The various switches built into the program provide very ...

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 three less than 4?

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


Newest Tips