Tech Farm will use Method 3, but feel free to use these other methods of cleaning. See https://mtfnow.com/faq for more procedures.
Step 1 – Disk cleanup in Windows 10
To delete temporary files:
In the search box on the taskbar, type disk cleanup, and select Disk Cleanup from the list of results.
Select the drive you want to clean up, and then select OK.
Under Files to delete, select the file types to get rid of. To get a description of the file type, select it.
If you need to free up more space, you can also delete system files:
In Disk Cleanup, select Clean up system files.
Select the file types to get rid of. To get a description of the file type, select it.
Note: If you notice that the Temp folder fills up quickly after running Disk Cleanup, see Low Disk Space error due to a full Temp folder.
For more on freeing up space on your PC, see Free up drive space in Windows 10.
Delete Temp Files –
By deleting the temporary files and folders, the user can get a significant amount of free space and enhance the performance of the operating system.
This tutorial will show you various ways of how to delete all temporary files and folders in Windows 10.
Method 1. Using System Settings
From the Start Menu, click on the Settings button.
Alternatively, by pressing the “Windows + I” key, you can directly open the “Windows Settings”.
“Windows Settings” will appear on the screen, then click on the “System” option.
Click on the “Storage” option.
Choose any drive (local storage) to check where space is being used.
Now, click on the “Temporary files” option.
Find the “Temporary files” option and click (select) on it and then click on the “Remove files” button to remove the temporary files.
Method 2. Via Disk Cleanup
From the Search, type “Disk Cleanup” and press enter to open the “Disk Cleanup” Window.
“Disk Cleanup” window will appear on the screen and select the drive you want to clean up.
Under “Files to delete” section, check or select the “temporary files” option and click on the “OK” button.
Method 3. Using Temp Folder
From the Start menu, open the Run dialog box or you can Press the “Window + R” key to open the RUN window.
Type “%temp%” and click on the OK button.
And, you can also find the temporary files in the “Temp” folder by typing the “temp” command or by typing the “C:\Windows\Temp” path in the Run window. Similarly, you can open the “%temp%” folder by typing the following path in the Run Window, “C:\Users\[Username]\AppData\Local\Temp”.
Select all the files and folders containing it and then press the “Delete” key to delete all the temporary files and folders to the “Recycle Bin”.
Finally, open the “Recycle Bin” and by clicking on the “Empty Recycle Bin” option you can delete permanently all the temporary files and folders if you want.
By following any of the above methods, you can delete all the temporary files and folders in Windows 10.
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.