How Do I Delete Temporary Files on Windows 11?


 Eliminating unused temporary files from your computer will clear up space. These files could occupy a sizable portion of your hard disk space. The Settings app, the Disk Cleanup tool, Storage Sense, and other straightforward approaches are just a few of the ways that Windows 11 makes it easy to clear these temporary files. The system and programs create temporary files as a means of temporary storage during installation, updates, and error reports. They have a tendency to assemble and fill up a lot of room over time. By deleting these files, you can increase performance and keep your computer from running out of storage. Let's explore the various ways to delete temporary files on Windows 11 now.

How to Remove Temporary Files on Windows 11 in Steps

On Windows 11, you can erase temporary files using a variety of techniques. Let's examine each of these approaches individually to see which is best for you.

1. Using the Settings App, remove temporary files

1. To launch the settings app, use the Windows key + I.
2.Click storage under the system heading.
3.Click on the Temporary Files option under the storage options to access it.
4.Select "remove" after selecting each folder from which you want to delete the associated files.
Use the settings app to delete files

2. Use Disk Cleanup to get rid of temporary files.

The disk cleanup method is the most traditional method for getting rid of temporary data, including Windows updates. Learn how to remove temporary files using disk cleanup by following the procedures listed below.

1.Search for Disk cleanup by clicking the search button in the taskbar.
2.Select disk C after that since we want to remove the temporary files.
3.Select all the folders you want to get rid of, then click OK and watch them disappear.

Reminder: To delete system files, click on the appropriate link, select all desired folders, and then click OK.
Use Disk Cleanup to get rid of temporary files

3. Using Storage Sense, automatically delete temporary files

The storage sense is another fantastic method for erasing temporary files that is much more straightforward and easier. The storage sense feature was first released with Windows 10, however it has seen a slight enhancement with Windows 11. Remember that the temporary files will be deleted automatically after based on your configuration.

1.Accessed the settings.
2.Within the framework, Step inside the storage.
3.Look for storage, then click on it.
4.Set up Storage Sense's settings to delete temporary files as soon as possible.
Storage Sense

4.Using CMD, remove temporary files

Whether you like it or not, CMD is older than disk cleanup. In fact, everything is much simpler to perform in CMD if you know the commands to go around, and that includes clearing temporary files.

1.To access the taskbar's search box, press Windows + S.
2.perform a CMD search, then launch it as Administrator.
3.The next step is to run this command to remove the temporary files.
/q/f/s%TEMP%* del

5. Using a Bash script, remove temporary files

The last technique I'd like to discuss is utilizing a bash script to delete temporary files permanently. However, the first step is to write a better script that you may use whenever you choose.

1.Start Notepad.
2.Press Ctrl + Shift + S after pasting these codes: rd%temp% /s /q md%temp%
3.Any name you use for the file should have an extension.
bat.
4.When the file is saved, it will appear to be a script; simply double-click and wait for the task to be completed.


File should be saved as a bat file.

Conclusively;

The five methods listed above will enable you to quickly delete temporary files on Windows 11 or 10. In the comments section, please share any more techniques you employ for clearing out your system.



Next Post Previous Post