How to Delete Temporary Files in Windows 11?

Delete Temporary Files in Windows 11

Delete Temporary Files in Windows 11

This tutorial outlines various methods to delete temporary files in Windows 11. Likewise, we will also make you aware of the different types of temporary files that exist on your PC and which should deserve to stay and which don’t.

Windows 11 stores numerous types of temporary files on your PC. While some of them are needed for the efficient working of the system, a major chunk of them falls under the non-essentials category. Instead, they just keep on consuming unnecessary storage space, so the best course of action should be to delete them.

But with such a plethora of temporary files, the major concern is which of these files could be deleted and which should be left untouched. Well, in this guide, we will help you with that decision-making. After that, we will also list out various methods to delete temporary files in Windows 11. So without any further ado, let’s get started.

Which Temporary Files Should I Delete in Windows 11?

Given here are the various types of temporary files that have made an abode onto your PC. We have also mentioned what we think would be the best course of action, i.e., whether to keep or delete these files. However, the ultimate decision lies in your hands only, so decide accordingly.

Downloads For some reason, Windows has included this folder under its Temporary Files section. Deleting it will remove all your downloaded files present in the said folder. Therefore, it is advised that you keep it unchecked when you are removing other temporary files from your PC.

Recycle Bin Files that you have deleted from your PC occupy a temporary abode here. More often than not, you wouldn’t need to restore them, and hence you could consider emptying the Bin.

Windows Upgrade Log Files When you upgrade the OS, Windows keeps a log of the updated data that it could use to identify, debug and troubleshoot various issues. If your PC is working well and good, then you could consider deleting these temporary files.

Delivery Optimization Files Windows uses these cache files to fetch updates from Microsoft servers. You could delete these temporary files in Windows 11 as well.

Thumbnails These are small graphical representations of the images, videos, and documents that help load the associated files. You could easily delete them, but they would be automatically re-created the next time you load these files.

Windows Error Reports As is evident from its name, these are the logs of various Windows errors that could be used to diagnose underlying issues. If your PC is currently working well, you could easily delete these temporary files in Windows 11.

Microsoft Defender Antivirus Well, Microsoft has itself tagged them as non-critical files, so they are safe to delete.

Temporary Files These are the cached files from various apps and software installed on your PC and are safe to delete.

Temporary Internet Files These are the cache files of the websites that you have visited. Your browser uses these files to load the sites the next you visit them quickly. These are completely safe to delete.

Device Driver Packages Once you update any device driver, Windows takes a backup of their older version. This is because if the newer build leads to any issues, you could easily roll back to the older one using these packages. However, if the newer version is working along the expected lines, then you could easily delete these files.

DirectX Shader Cache These are the cached files related to the GUI and are safe to delete, though they are automatically recreated as and when required.

Top Ways to Delete Temporary Files in Windows 11

Now that you are aware of the different types of temporary files, let’s check out how you can delete temporary files in Windows 11. Follow along;

Note: Please be cautious when manually deleting files, as some files are necessary for the proper functioning of your system. The ‘settings’ method is safer, as it only removes files that are safe to delete. The manual method should be used with care and only if you’re comfortable doing so.

1. Delete Temporary Files via Settings

  1. Bring up the Settings menu via Windows+I shortcut key combinations.
  2. You should be taken to the System section, select Storage from its right side menu.
  3. Windows will now scan and bring up the total space consumed by different components of your PC.
  4. Go to the Temporary Files section and checkmark all the types of temporary files that you wish to delete.
  5. Finally, hit the Remove Files button. Depending on the accumulated file size, the file deletion process will begin and could take a few minutes.

That’s it. These were the steps to delete temporary files in Windows 11 via its Settings page. Let’s now check out some of the other ways through which this could be carried out.

2. Delete Temporary Files via Disk Cleanup

Disk Cleanup is a built-in Windows tool that can be used to scan and delete the temporary files stored on your PC. Here’s how to make full use of this tool:

  1. To begin with, head over to the Start Menu, search Disk Cleanup, and open it.
  2. Now select the drive from where you wish to delete the files and hit OK.
  3. Then enable all the temporary file types that you wish to delete from your PC.
  4. Finally, click OK and wait for the process to complete.
  5. If you wish to delete the cache files stored on your system as well, then click on Clean Up System Files.
  6. Again, select the drive where the scanning needs to be done and click OK.
  7. Microsoft will start the scan and show the total amount of storage space you could free by deleting the system files. Checkmark the desired temporary files that you wish to delete and click OK.

That’s it. This is how you can delete temporary files in Windows 11 via the Disk Cleanup utility tool.

3. Delete Temporary Files via File Explorer

Windows stores temporary files related to various apps and services inside the TEMP Folder. Hence you could browse to that location and empty the contents of that folder. This will delete all the temporary files stored on your PC and free up the much-needed space.

  1. So use the Windows+R shortcut keys to open the Run dialog box.
  2. Then type in %temp% and hit Enter. You shall be taken to your PC’s temporary folder.
  3. Press Ctrl+A to select all the files and then hit the Shift+Del to permanently delete these files.

These were the short and quick steps to delete temporary files in Windows 11 via File Explorer. If you want an even quicker method to achieve the said task, then hop on to the next approach.

4. Delete Temporary Files via Command Prompt

You could also delete all the Temp folder contents by executing just a single line of command. Here’s how:

  1. Head over to the Start Menu and search CMD.
  2. Then launch the Command Prompt window as an administrator.
  3. Finally, copy-paste the below command and hit Enter:
    del /q/f/s %TEMP%\*

  4. That’s it; all the temporary files will be deleted from your PC in no time whatsoever.

5. Delete Temporary Files via Storage Sense

Storage Sense is probably among the most underrated tools from Windows that doesn’t get the appreciation that it deserves. For the unaware, this tool automatically scans and deletes all the temporary files at regular intervals without any manual intervention from your end. You only need to configure it once, and the rest would then be taken care of by itself.

  1. So bring up the Settings menu via the Windows+I shortcut.
  2. Then go to Storage > Storage Management and enable the toggle next to Storage Sense.
  3. Once that is done, click on Storage Sense to access its settings.
  4. You could now configure the frequency of its scan as well as how long it should keep the files in the Recycle Bin before ultimately deleting them.
  5. Finally, scroll to the bottom of the page and click on Run Storage Sense Now.
  6. You may now sit back and relax and let this handy utility tool do its job.

Conclusion

So with this, we round off the guide on how you could delete temporary files in Windows 11. We have shared five different methods for the same. Do let us know in the comments section which method you ultimately decided to settle for.

This post was last modified on %s = human-readable time difference 1:02 am