How to delete temporary files in Windows10

How to delete temporary files in Windows10: One of the easy ways to free up some disk space in the Windows operating system is to delete temporary files, some time referred to as temp files. Temporary files are created on your PC for numerous reasons including when you browse the Internet, install programs, and by the operating system itself. 

Temporary files are exactly what they sound like, files that your operating system only needed to exist temporarily while in use and become redundant once the task is completed. This guide will show you how to delete temp files in Windows 10 operating system.

Continue reading the easy ways to delete temp files in Windows 10.


Method 1: delete %temp%, temp and prefetch folder Using the Run dialog box

   Most temporary files are stored in the Windows Temp folder, the location of which differs from computer to computer, and even user to user. The steps for that are below. Before you continue with these sets of instructions, please log in as an Administrator and exit any running programs.

  1. Open Run dialog box (Windows + R )

2. Type %temp% on the run dialog box and press enter.


3. Now you will get the temp folder which holds all the temporary files and folders on your computer. Select all of the files and folders within the Temp folder that you want to delete. Unless you have a reason to otherwise, select them all. You can do that by:

  • By pressing Ctrl + A, then press Shift + Delete keys on your keyboard. This will delete all the files and folders you’ve selected.
  • You can also right-click on these files and folders and then click Delete. If you opt for this method, empty the Recycle Bin afterward.

4. Click Skip if you’re presented with a File In Use or a Folder In Use warning during the temporary file deletion process. This is Windows telling you that the file or folder you’re trying to delete is still in use by a program, or maybe even Windows itself. Skipping these allows the deleting to continue with the remaining data.

5. Wait while all the temp files are deleted, If you have a few files in this folder the delete process will end up in few seconds and up to several minutes if you have many files.

6. Finally, locate Recycle Bin on your Desktop, right-click on the icon, and then choose Empty Recycle Bin. Confirm that you want to delete all the items in the Recycle Bin, which will permanently remove those temporary files from your computer.

You can again continue these steps to remove files in the “temp” and “prefetch” folder as well. once open Run dialog box type temp or prefetch and continue steps from 3 t0 6. 


Method 2: Delete using command prompt

  1. Open command prompt (To know more ways to open the command prompt, click here…)
  2. Type this command del /q/f/s %temp%\*


Method 3:  Using Windows Disk cleanup tool

If you’d like to delete the temporary files and folders using Disk Cleanup (which can delete other unnecessary files from your computer), follow these steps.

  1. Type “cleanmgr” command in the Run dialog box and press enter.

2. Please select the system drive, which you want to clean up and click OK

3. Now the cleanmgr tool will load some time and will get a Window having several options to select for the disk cleanup process. Tick the boxes of all the different types of temporary files that you would like to clean up. In most cases you would tick all of the boxes, you can view the associated files by clicking the VIEW FILES button.

4. When you have finished with your selections click the OK button.

5. Once the dialogue box has closed your temporary files have been removed.

To know more about the Windows disk cleanup tool, click here…


Method 4:  Using System cleanup software

There are several system cleanup software in the market. Recommend you use CCleaner free program to clean up your computer (To download CCleaner, click here…).

Top 5 System Cleanup Software in the Market, click here…


Please leave the command below for related queries. We will do our best to help you. Have a Great Time ahead…

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments