Whatever task you perform on Windows whether using Photoshop or performing any update on PC, Windows 10 operating system stores temporary files accordingly whenever required. And that’s how our operating system works. However, these temporary files don’t cause any harm to our system, when they gather together to a greater extent, they can consume much space on the hard drive or SSD.
So, it is important to clean your PC for better storage management because that might be the reason you are running out of storage. In this article, we will show you how to delete temporary files from Windows 10. Just read the post and follow the methods mentioned below to do so.
See also: Get back the “Open command window here” context menu in Windows 10
Delete temporary files in Windows 10 using Settings
Here, we will delete those unwanted temporary files on the system by using the Settings app. Follow the steps mentioned below according to your Windows 10 version.
Remove temporary files on Windows 10 (Version 1809) and earlier
Step 1: Visit the Start menu and open Settings.
Step 2: In the Settings window, select System.
Step 3: Under System, select Storage located on the navigation bar.
Step 4: Select the Free up space now option located on the right pane.
Step 5: Just select the files that you want to remove, following are the options, select and remove accordingly:
- Windows upgrade log files.
- System created Windows Error Reporting files.
- Windows Defender Antivirus.
- Windows Update Cleanup.
- Thumbnails.
- Temporary files.
- Recycle Bin.
- Temporary Internet Files.
- Delivery Optimization Files.
- DirectX Shader Cache.
- Previous Windows Installation(s)
Step 6: Click on the Remove files button.
The files will be deleted successfully and permanently.
Mind you, take a note that aft deleting the temporary files mentioned above. You will not able to roll back on previous Windows updates.
Remove temporary files on Windows 10 (Version 1903) and above
These steps are applicable for those who are using Windows 10 versions 190., 1909, 2004, 20H2, 21H1, and later.
Step 1: Visit the Start menu and open Settings.
Step 2: In the Settings window select System.
Step 3: Under System select Storage.
Step 4: Select the Temporary files option.
Step 5: Select the temporary files that you wish to delete.
Step 6: Now click on the Remove files button.
This will delete all the temporary files.
Automatically remove temporary files on Windows 10 (Version 1809) and earlier
Step 1: Visit the Start menu and open Settings.
Step 2: In the Settings window, select System.
Step 3: Click on Storage under the system located on the left navigation panel.
Step 4: On the right pane, turn on Storage sense.
Step 5: Click on the Clean how we free up space option for automatic cleanup or Storage sense on-demand in order to free up space on Windows 10.
Additionally, you can schedule the time when you want to delete the files accordingly.
Automatically remove temporary files on Windows 10 (Version 1903) and later
Step 1: Visit the Start menu and select Settings.
Step 2: In the Settings window, select System.
Step 3: Select Storage from the left navigation panel.
Step 4: Under the Storage section, turn on the option as shown in the image below.
Step 5: You can also schedule the cleanup task by clicking on Configure Storage Sense or run it now option.
Delete temporary files using Run box
Here, we will delete the huge bunch of temporary files which is stored in your system using the Run box. Here’s how to do that:
Step 1: Press the Windows + R shortcut key to open the Run box.
Step 2: Type temp and hit enter.
Step 3: A window with all the temporary files will open up, select all the files and press the delete button.
When windows refuse to delete some temporary files they skip the process, because the files are currently in use by the system. Also, type “%temp%” into the Run box and delete temporary files from there too. In the end, delete the files from Recycle bin.
Delete temporary files using Disk Cleanup tool
Windows 10 has an in-built Disk Cleanup tool that will help you with each hard drive that you wish to get clean in order to remove those temporary files from the system.
Step 1: Press the Windows + R shortcut key to open the Run box.
Step 2: Type cleanmgr.exe and select OK.
Step 3: Disk Cleanup window will appear select Temporary Internet Files option and other option you prefer to select.
Step 4: Click on the Cleanup system files button and press Ok.
You will get to see the description of each option selected. We can also open the Disk Cleanup tool Command Prompt by using a command line.
Step 1: Do a right-click on the Start icon and select Command Prompt (Admin).
Step 2: When the Command Prompt window will open, type the following command and press Enter.
cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
This will open up the Disk Cleanup, follow the steps mentioned above to access the Disk Cleanup tool to remove temporary files.
That’s it for now, hope this helps! Let us know your thoughts in the comment section below. Till then stay tuned for more info.
See next: Enable/Disable Windows Firewall Using Command-line