How to remove temporary files on Windows 10
Temporary files are usually referred to those files that apps store on your computer to hold information temporarily. However, on Windows 10 there are many other temporary file types, including those leftover files after updating the operating system, upgrade logs, error reporting, temporary Windows installation files, and more.
Typically, these files won’t cause any issues, but they can grow rapidly using valuable space on your hard drive, which can be the reason preventing you to install a new version of Windows 10 or it can be the reason that you’re running out of space.
Fortunately, Windows 10 offers a few ways to safely remove temporary files on your machine using the Settings app and the Disk Cleanup tool.
In this guide, you’ll learn the steps to quickly delete temporary files on Windows 10 to free up space, or to reclaim storage space after installing a feature update, such as Windows 10 version 1803.
- How to remove temporary files using Settings
- How to remove temporary files using Disk Cleanup
How to remove temporary files using Settings
On Windows 10, you can use the Settings app to remove temporary files manually or automatically starting with version 1803.
To manually remove temporary files on Windows 10 using Settings, do the following:
Click on System.
Click on Storage.
Click the Free up space now link.
Select the files you want to delete, including:
- Windows upgrade log files.
- System created Windows Error Reporting files.
- Windows Defender Antivirus.
- Windows Update Cleanup.
- Temporary files.
- Recycle Bin.
- Temporary Internet Files.
- Delivery Optimization Files.
- DirectX Shader Cache.
- Previous Windows Installation(s).
Click the Remove files button.
Once you completed the steps, those files you selected will be permanently deleted from your computer freeing up space for more valuable files.
If you’re deleting a previous version of Windows 10, consider that you won’t be able to roll back to an earlier version without these files. However, after a feature update installs on your computer, the operating system automatically removes these files anyways after 10 days.
Automatically delete temporary files using Storage sense
Alternatively, you can use “Storage sense” to automatically free up space by removing those temporary files and content from the recycle bin.
To automatically delete files that you don’t need on Windows 10 using Settings, use the following steps:
Click on System.
Click on Storage.
Turn on the Storage sense toggle switch.
After completing the steps, Windows 10 will automatically delete temporary files and those files that have been in the recycle bin for over 30 days.
You can also click the Change how we free up space link to schedule automatic cleanup, or you can run Storage sense on-demand, to free up space on Windows 10..
How to remove temporary files using Disk Cleanup
If you’re getting a message that your device is running out of space, you can also use the Disk Cleanup tool to delete temporary files to free up space on your computer.
To remove temporary files from Windows 10 using Disk Cleanup, do the following:
Open File Explorer.
Click on This PC.
Right-click the drive with the Windows 10 installation and select Properties.
Click the Disk Cleanup button.
Click the Cleanup system files button.
Check the items you want to delete. For example, Temporary Windows Installation Files, Windows upgrade log files, Recycle Bin, Temporary Files, and System created Windows Error Reporting.
Click Delete Files to complete the task.
Once you completed the steps, files will permanently be deleted from your computer making room for new files.
Update June 26, 2018: This guide has been updated to reflect the new changes available on Windows 10 since these instructions were originally published in March 2017.