How to delete temporary files and folders

Latest update: October 12, 2021 ID: 1161

Optimal protection for Windows

Kaspersky for Windows protects your digital life with technologies that go beyond anti-virus.


Every program creates temporary files on the computer in the TEMP folder while it is running. These files are deleted once the program ends. However, sometimes these files are not deleted and take up space on the hard drive. This could be as result of an error in the program.

To independently clear the TEMP folder for your account:

  1. Open the Run window by pressing The Windows key+R on the keyboard.

Opening the Run window in Windows

  1. Enter %TEMP% and click OK.

Opening the TEMP folder in Windows

  1. Press Ctrl + A on the keyboard to select all the files in the folder.
  2. Press Del (Delete) on the keyboard to delete the files.

The temporary files and folders will be deleted. There will now be more free space on the hard drive.

Some files in the Temp folder cannot be deleted if the application that created them is currently running. We recommend that you skip such files when deleting.

Did you find what you were searching for?
Thank you for your feedback!