How to delete temporary files on Windows 11 or Windows 10 with CMD, which will help your system get rid of clutter and free up disk space.
To free up hard drive space and optimize the performance of your computer or laptop, regular cleaning is essential on Windows 11 and 10 operating systems. This article by ItsmeIT will provide you with two useful ways to use the Windows 11 junk cleaner and clean your computer with CMD, helping you thoroughly remove temporary files, unnecessary system files, and other files that are no longer in use.
How to Delete Temporary Files on Windows 11 and Windows 10 with CMD
There are many ways to delete TEMP files, which are temporary files created when you open applications or games. These files are used to store data, cache, and other information, but they can take up unnecessary space and slow down your computer if they are not deleted. In this article, ItsmeIT will guide you through the process of deleting TEMP files to free up space and improve the performance of your system.
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.
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%\*
As you can see in the screenshot of ItsmeIT 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 ItsmeIT 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
The screenshot clearly demonstrates how the clean-windows tool assisted ItsmeIT 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.
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 –