Windows 11: delete temporary files

How to

Temporary files can take up a lot of disk space. This section explains how to delete temporary files in Windows 11 to free up disk space.

Windows automatically creates some temporary files as part of its normal operations. Because Windows creates so many temporary files, they end up taking up a lot of disk space. The total space used by temporary files can be several gigabytes.

If you do not regularly delete temporary files, you may run out of disk space to store files or install software.

Table of Contents:

What is a temporary file?

You may wonder, but temporary files are just what their name implies: temporary. Windows only needs them temporarily, so you can delete them when you need them. Deleting temporary files in Windows 11 does no harm .

If Windows needs the temporary file, it will be created again.

Here is how to delete a temporary file in Windows 11 with a few mouse clicks.

Deleting a temporary file in the Settings app

Describes how to delete a temporary file in Windows 11 using the Settings app.

  1. Launch Settings with ” Win + I “.
  2. Click ” System ” in the sidebar.
  3. Go to the ” Storyboard ” page.
  4. Click on ” Temporary Files “.
  5. Select all cells .
  6. (Optional) Deselect the ” Bin ” checkbox.
  7. Click the ” Delete Files ” button.
  8. Click the ” Continue ” button.
  9. Exit Exit the configuration application.
  10. With that, delete temporary files .

Detailed steps:

Press the key combination “Win + I” to launch the Windows 11 “Settings” application.

Now click on the “Temporary Files” option.

Then check all boxes. If you do not want to delete files from the Recycle Bin, uncheck the “Recycle Bin” box.

Once checked, click the “Delete File” button.

When prompted for confirmation, click the “Continue” button.

This will cause the setup application to delete all temporary files. Depending on the number and size of temporary files, this may take several seconds. When this is complete, exit the configuration application.

You have now successfully deleted the temporary files using the Settings application.

Delete temporary files using Storage Sense

Storage Sense is a built-in tool in Windows 11 that allows you to delete temporary files manually or on a schedule to free up disk space. We have already written a detailed guide on how to enable and use Storage Sense to delete temporary files and free up disk space.

Manually Deleting Temporary Files

To manually delete temporary files, three folders must be cleared. These are the system temporary files, the user temporary files, and the prefetch folder. Here is how to do it.

Note: As we said earlier, it is safe to delete these temporary files.

Delete temporary files from the system temporary folder

  1. You can use “Win + R” to open “Run”.
  2. In empty field, type “%systemdrive%⇄Windows⇄Temp”.
  3. Press the “OK” button.
  4. When prompted, click “Continue”.
  5. Select all files and folders with “Ctrl+A”.
  6. Press the “Delete” key on your keyboard.
  7. Check the “Do this for all current items” checkbox.
  8. Press the “Continue” key.
  9. Close the Temporary window.
  10. This will delete the temporary system files.

Delete temporary files from User Temp folder

  1. Open “Run” with “Win + R”.
  2. Type “%temp%” in the blank field.
  3. Press “OK” button.
  4. Select all files and folders with “Ctrl + A”.
  5. Press the “Delete” key on the keyboard.
  6. Select the “Do this for all current items” checkbox.
  7. Press the “Continue” key.
  8. Close the Temp window.
  9. This will delete the user’s Temp file.

Delete Temp file in Prefetch folder

  1. Press “Win + R” key to open “Run”.
  2. Type “prefetch” in the space provided.
  3. Press the “OK” button.
  4. When prompted, press the “Continue” button.
  5. Press the “Ctrl+A” key to select all files and folders.
  6. Press the “Delete” key on the keyboard.
  7. Press the “Do this for all current items” checkbox.
  8. Press the “Continue” key.
  9. Close the Prefetch folder.
  10. You have now deleted the temporary files from the Prefetch folder.

That’s it. Deleting temporary files in Windows 11 is very easy.

We hope this simple and easy guide to working with Windows has been helpful to you.

If you get stuck or need help, send us an email and we will do our best to help.

YouTube video: Windows 11: Delete Temporary Files


Rate article
We provide high-quality and detailed Windows tutorials