How To Delete Temporary Files On A Windows 10 Or 11 PC

Once your computer starts to get laggy, it’s a sign that you need to free up some space. Usually, deleting temporary files is an excellent place to start.

How To Delete Temporary Files On A Windows 10 Or 11 PC

In this article, you’ll learn how to go about the process so that you can free space from your hard disk and eventually improve your computer’s performance. Keep reading to find out more.

How to Delete Temporary Files on a Windows 11 PC

A temporary file holds a file’s data temporarily while it’s being created or edited. These files are useless once a file is created or modified.

Unfortunately, computers don’t automatically erase temporary files causing them to occupy a lot of your hard drive’s space without reason. Therefore, deleting temporary files is a good practice that will give your computer that extra performance boost.

To delete temporary files on a Windows 11 PC, follow these steps:

  1. On your computer, go to Settings.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Open System and navigate to Storage.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Under the Local Disk (C:) section, click on Temporary files. If you don’t see the option immediately, click on Show more categories to show the hidden storage categories.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Select all the files you want to delete and hit the Remove files button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  5. Click Continue to complete the deletion.

The deletion process might take longer to complete, depending on the size of the files you’re deleting. If the process is taking longer to complete, you can continue with other tasks on your computer without worrying about interrupting the process. Also, be sure to restart your computer once the process is finished.

Alternatively, you can follow these steps:

  1. On your Windows 11 computer, click the search icon and type %temp%.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Open up the first result that comes up.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Select all the files in the Temp folder by pressing the Ctrl + A keys.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Press the Delete button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC

If you see a pop-up with a message informing you that you can’t delete the file, hit the “Skip” button. Also, note that you can’t recover temporary files once they are deleted. For that reason, it’s always a good idea to have a backup of the files you consider important before proceeding with the action.

How to Delete Temporary Files on Windows 11 Using Storage Sense

Another method of deleting temporary files from your Windows 11 PC is using the “Storage Sense” feature. Here’s how to go about the process:

  1. On your computer, open Settings.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Go to System and then Storage.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. From the options, select Storage Sense.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Check the box under the Cleanup of temporary files section.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  5. If you want to delete temporary files automatically after a predetermined period, turn on the Automatic user content cleanup option and specify the cleanup frequency.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  6. Specify if you want the content automatically cleaned from the recycle bin or downloads folder. You can also specify deleting files that have already been uploaded to your OneDrive.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  7. Once you’re done setting your preferred configurations, click on Run Storage Sense now.

How to Delete Temporary Files on a Windows 10 PC

Deleting temporary files on Windows 10 is slightly different from doing it on Windows 11. However, it’s relatively simple. Here’s how to go about it:

  1. Press the Windows + R keys to open the Run command.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. From the menu, select Run.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. In the text field, type in %temp% and click OK.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Select all the temporary files by pressing the Ctrl + A buttons, then hit the Delete button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC

How to Delete Temporary Files Using the Temp Command

To delete temporary files using the “temp” command, follow these steps:

  1. On your Windows 10 PC, search for Run and click on Open.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. In the text field, type in temp.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Click on the OK button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Select all the files in the temp folder and press the Delete button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  5. Empty the trash to ensure the temporary files are deleted permanently.
    How To Delete Temporary Files On A Windows 10 Or 11 PC

How to Delete Temporary Files Using Prefetch

Another way to delete temporary files on a Windows 10 computer is by using the “prefetch” command. Here’s how to go about the process.

  1. Press the Win + R shortcut to open the Run application. Alternatively, search for Run and select the first command that pops up.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. In the available text field, type prefetch.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Click the OK button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Select all the files in the Prefetch folder and hit the Delete button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  5. Go to your computer’s desktop and delete all the files in the Recycle bin.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  6. Now, all your temporary files have been successfully deleted.

How to Prevent the Temp Folder From Filling Up Quickly

If your Temp folder fills up quickly; it’s likely because of the application files that Microsoft Store utilizes. To fix the issue, you’ll need to reset the Microsoft Store, clear its cache, and troubleshoot Windows Update.

 First, let’s go through the process for Windows 10 users.

Here’s how to reset the Microsoft Store:

  1. Go to Settings and open Update & Security.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Click on Troubleshoot and open Windows Store Apps.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. From the options, choose Run the troubleshooter.
    How To Delete Temporary Files On A Windows 10 Or 11 PC

To clear the cache in the Microsoft Store, follow these steps

  1. Press the Windows + R keys on your computer.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. In the text field, type wsreset.exe and press OK.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Wait for the command prompt to open, and Microsoft Store will restart automatically.

To troubleshoot Windows Update, follow these steps:

  1. Go to Settings then Update & Security.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Open the Troubleshoot page and navigate to Windows Update.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Click on Run the troubleshooter.
    How To Delete Temporary Files On A Windows 10 Or 11 PC

Once you’ve done the above steps, restart your PC and observe if the solution works.

For Windows 11 users, follow these steps to prevent your Temp files from filling up quickly.

  1. Open Settings and navigate to System.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  2. Go to the Troubleshoot page.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  3. Choose Windows Store Apps and click the Run button.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  4. Press the Windows + R keys, and type in wsreset.exe in the text field.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  5. Click OK.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  6. Now open Settings then System.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  7. On the System page, go to Troubleshoot and select Other troubleshooters.
    How To Delete Temporary Files On A Windows 10 Or 11 PC
  8. Select the Run button next to Windows Update.
  9. Restart your computer and examine it to see that the issue is resolved.

Additional FAQs

Will I lose important data on my computer if I delete temporary files?

You won’t lose any critical data on your computer if you delete temporary files. Temporary files are created to temporarily hold a file’s data during its creation or modification. Once these operations are done, the temporary files don’t contain any important data.

Get Rid of the Clutter

Temporary files can quickly eat into your computer’s space and compromise performance, especially when they accumulate. For that reason, it’s always a good idea to delete them if you notice your computer lagging. Fortunately, the process is relatively easy. Simply delete the contents in the “Temp folder,” and you’re good to go.

Have you wiped out temporary files on your Windows PC yet? If so, how has that impacted your computer’s performance? Please share your experience with us in the comments section below.

Sign up and earn $1000 a day ⋙

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

In an era where digital efficiency is paramount, Advanced SystemCare 17 Free emerges as a beacon for those seeking to enhance their PC's performance.

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10, Summary of Movies & TV application shortcuts on Windows 10 to bring you a great experience. Maybe

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows, Discord isn't fun if you can't read what other people write. Here's how to fix Messages error

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop, During the process of using Windows 11, many users need to access This PC (management).

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly, Do you find it difficult to find information in the Windows Registry? So below are quick ways to find the registry

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10. Limiting the number of failed password login attempts on Windows 10 helps increase computer security. Here's how

How to create fake error messages in Windows

How to create fake error messages in Windows

How to create fake error messages in Windows, Windows can come up with some pretty creative error messages but why don't you try creating your own content for them to make fun of?

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11, Windows Administrative Tools or Windows Tools are still useful on Windows 11. Here's how to find Windows Tools in Windows 11.

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error, Windows Quick Assist helps you connect to a remote PC easily. However, sometimes it also generates errors. But,

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar, How to pin Office files to the taskbar icon on Windows 11? Invite

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows, Why can't you install apps or software on Windows 10/11? Here's everything you need to know about how to fix it

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing the PIN code on Windows 11, In Windows 11, the PIN code is a very useful and convenient security tool for users. However some people

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10, Can't select power mode in Windows 10, what should I do? Here's how to fix the error

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos app errors on Windows 10, what should I do if Microsoft Photos doesn't work? Don't worry about ways to fix Photos app errors on Windows

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing shortcuts to switch input languages ​​on Windows 11. During the process of using Windows, users will often have to switch between methods.

How to check supported power status on Windows 11

How to check supported power status on Windows 11

How to check power status is supported on Windows 11, Windows 11 can handle many different power states. Here's how to check the power status

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10, If you want to find a quick and simple way to speed up the Internet, changing the WiFi band from 2.4GHz to 5GHz may help.

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows, Are you having an error of not enough memory to run Microsoft Excel? So, how to fix Not Enough Memory error

Ways to find all video files on Windows

Ways to find all video files on Windows

Ways to find all video files on Windows, Can't find recorded and saved videos on PC. Below are ways to help you find all clips on Windows.

How to fix error 0xa00f4288 in Camera app on Windows 10 & 11

How to fix error 0xa00f4288 in Camera app on Windows 10 & 11

How to fix error 0xa00f4288 in the Camera app on Windows 10 & 11. Windows' default Camera App is the main tool for taking photos. So in the case of Win 10 & 11 cameras