There are many ways to delete TEMP files on Windows 10/11, these are temporary files created when you open applications to work or play games. These files are used to store data, buffers, and other information, but they can take up unnecessary space and slow down your computer if they are not removed. In this article, we will guide you on how to delete TEMP files to free up disk space and optimize Windows performance.
![How to Delete Temporary Files on Windows 11/10 with CMD](https://arriveddev.com/wp-content/uploads/2023/03/how-to-delete-temporary-files-on-windows-with-cmd-5-1024x562.jpg)
Clean Up Trash on Windows 10/11 with Command
To delete temporary files on Windows 11 and 10 computers using CMD (Command Prompt), follow these steps:
Open Command Prompt by pressing Windows + R key combination, type “ %temp% ” and press Enter. The folder containing temporary files is displayed, press the “SHIFT + DEL” key combination and select Yes to delete all of them from the computer.
![delete Temporary Files on Windows 11 Using CMD](https://arriveddev.com/wp-content/uploads/2023/03/how-to-delete-temporary-files-on-windows-with-cmd-2.jpg)
![how to delete temporary files on windows with cmd 3](https://arriveddev.com/wp-content/uploads/2023/03/how-to-delete-temporary-files-on-windows-with-cmd-3-1024x594.jpg)
The second way to clean and delete temporary files on Windows 11 and Windows 10 computers is to use the command line to delete TEMP files. To do this, open CMD with administrator rights by typing “CMD” into the Windows search bar and clicking “Run as Administrator.” Then, enter the command below to proceed with removing the junk files.
del /q /s %temp%\*
![Clean up Windows 11 and Windows 10 trash with CMD](https://arriveddev.com/wp-content/uploads/2023/03/how-to-delete-temporary-files-on-windows-with-cmd-1.jpg)
As you can see in the screenshot of We above, after running the command, the TMP files were deleted from the system one by one. You can completely delete these TEMP files without having to worry about deleting them by mistake.
Clean up Windows 11 and Windows 10 with “clean-windows” TOOL
This method is almost identical to the one presented by We above, but it has been converted into a .bat file so that you can clean up your computer and laptop in a more professional manner. The .bat file does not install anything on your computer; it is simply a script that automates the cleanup process.
To use the clean-windows tool to delete temporary files on Windows 11 or Windows 10 computers, follow these steps:
- Download the clean-windows.zip file from the link below and extract it.
- Locate the clean-win.bat file and right-click it.
- Select “Run as Administrator” to open the file with administrative rights.
After opening the clean-windows tool with administrative rights, you will be prompted to confirm the cleanup process by entering the letter “Y“. Follow the on-screen instructions to proceed with the cleanup.
- Do you accept the terms of the EULA? (y/n): Y
- Do you want to kill the explorer.exe process? (Y/N): N
- Waiting for 0 seconds, press a key to continue…: Press any key
![remove computer junk Windows 11](https://arriveddev.com/wp-content/uploads/2023/03/how-to-delete-temporary-files-on-windows-with-cmd-4-1024x599.jpg)
The screenshot clearly demonstrates how the clean-windows tool assisted We in removing numerous junk and temporary files from the Windows system that was no longer needed. Consequently, the computer is now cleaner, and the tool also displays a list of specific files that were deleted.
Use CCleaner software to remove junk on computers and laptops Windows 10, 11
CCleaner is a prevalent software and is used by many users to clean junk files and browser data on computers. This is an effective tool to help you free up storage space and speed up your computer. CCleaner is completely free, so you can use it to delete temporary files on Windows 11 and Win 10 computers to keep your computer clean and running faster.
![Using CCleaner Pro to clean junk from a Windows computer](https://arriveddev.com/wp-content/uploads/2023/01/ccleaner-pro-full-repack-pre-activated-license-key-1-1024x686.jpg)
The above article, shared by us, provides valuable tips for deleting temporary files on Windows 11 and Windows 10. Regularly cleaning your computer in this manner is essential for maintaining its smooth operation and optimal performance.
– Advertising –