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 ⋙

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

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10, You can actually open multiple programs at the same time with a single key. Here's how to use one

How to delete old boot menu options on Windows

How to delete old boot menu options on Windows

How to remove old boot menu options on Windows, Windows 10 dual boot is useful but can leave redundant boot options in the menu. Here's how to remove the menu

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11. Windows 11 has officially been released for a while, but during use there are still many errors

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11, Entering text by voice on Windows 11 helps you significantly improve your work efficiency. Here's how

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11, Sticky Key makes the PC keyboard easier to use. Here's how to turn Sticky Key on and off on Windows 11.

What is Windows Modules Installer?

What is Windows Modules Installer?

What is Windows Modules Installer?, Windows Modules Installer sometimes takes up a lot of system resources. Is Windows Modules Installer important or not?

How to increase volume in Windows 10

How to increase volume in Windows 10

How to increase volume in Windows 10, How to increase computer volume to maximum level? Let's learn with WebTech360 how to increase Windows 10 computer volume

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11, Windows 11 Installation Assistant is one of the best ways to upgrade your computer to Windows 11.

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11, Does the PC startup sound bother you? Then please refer to how to turn off the startup sound for PC running Windows 11 below

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11. While using Windows 11, there are times when users will need to leave the computer for a period of time.

Windows 11 optimization guide to increase FPS when playing games

Windows 11 optimization guide to increase FPS when playing games

Instructions for optimizing Windows 11 to help increase FPS when playing games, Windows 11 is an operating system platform that is introduced as more improved in gaming quality, helping games

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu, Windows 11 brings some great new features and the Quick Settings menu is no exception. Here it is

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after turning on Hyper-V. Hyper-V helps you run virtual machines on Windows. However, after enabling Hyper-V, you cannot post again

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows, Windows displays error 0xc00007b when the application does not work properly. Below is a step-by-step guide to fix error 0xc00007b in

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11, Don't like the blurry screen when logging in on Windows 10/11? So, instructions on how to turn off and change the login screen

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11, Do you want to remove unwanted drivers on Windows 11? Then please see instructions on how to remove drivers in Windows

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10, No Internet Secured is a common error on Windows 10. Below are simple ways to fix No Internet Secured error

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save an Excel file on Windows. If you can't save the Excel file, don't worry too much. Below are ways to fix the error of not being able to save the above Excel file

How to open DMG files on Windows

How to open DMG files on Windows

How to open DMG files on Windows, DMG is a file format specific to the macOS operating system. However, you still have a way to open DMG files on Windows.