How to Remove Junk Files from Windows 10

Learn what to keep and what to remove — and why

Clean Up Your PC Fast

Hey Beauti Magazine / Unsplash

The longer you use your computer, the more it accumulates files that you likely do not need. Cleaning out those junk files can improve speed and performance. But how do you know what is trash and what is treasure?

Learn how to remove junk files from Windows 10 and keep your hard drive clean without harming your PC.

The Benefits of Removing Junk Files From Your Computer

Leaving files and programs on your computer that you don't need wastes precious space. It makes your machine work harder than it really needs to. It can also slow down your computer, as it has to dig and sift through these files to find what it needs or use resources to update applications you no longer use.

Before You Begin

System Restore is a Windows tool that essentially allows you to take your computer back in time. If you should inadvertently delete a file that you still need, performing System Restore could save you.

Before you start taking out the trash on your Windows 10 PC, make sure that System Restore is enabled. Follow up by creating a system restore point that you could revert your system to in the event that you accidentally delete something important.

  1. Type control panel in the search box and click on Control Panel Desktop app in the search results.

  2. Click System and Security and then click System if your Control Panel window is in Category view. Click System if your Control Panel window is in Icon view.

  3. Click System Protection in the left pane. The System Properties window will open.

    System protection
  4. Make sure Protection is set to On for the System drive. If not, click the drive and then click Configure.

  5. Click Turn on System Protection and then click Apply.

  6. Click Create next to Create a restore point right now for the drives that have system protection turned on.

  7. Type a word or phrase to describe the restore point. The date and time will be added automatically.

  8. Click Create. When the process is complete, a message stating "The restore point was created successfully" will appear.

  9. Click Close. You can restore your system to the current settings in the future, if need be.

Managing the Recycle Bin

The Recycle Bin will store deleted files. If you decide you need one back, it's easy to go in and restore it. However, as space fills up, Windows 10 will begin to permanently get rid of those files, beginning with the oldest ones first.

If you are certain you don't need any of the files currently in the Recycle Bin, you can empty it to make room for more.

  1. Press Win+D or click the space at the very right end of the taskbar to access the desktop.

  2. Right-click the Recycle Bin.

  3. Click Empty Recycle Bin.

  4. Click Yes to confirm that you want to permanently delete the items.

Trashing Temporary Files

Temp files are also junk that you can clean off your computer. You can use a Windows 10 setting to automatically get rid of temporary files for you.

  1. Go to Start > Settings > System.

  2. Click Storage in the left pane.

    Windows 10 Storage
  3. Turn on the toggle switch under Storage Sense.

  4. Click the Change how we free up space automatically link.

  5. Select the Temporary Files checkbox.

  6. Choose a frequency in the drop-down lists under Temporary Files. These allow you to choose how often Windows will delete temp files in your Recycle Bin and your Downloads folder.

    Automatically delete temporary files in Windows 10
  7. Click Clean Now if you want to delete these temporary files immediately.

  8. Exit the Settings window.

The Disk Cleanup Tool

Disk Cleanup is an integrated tool in Windows. Running this tool simplifies the task of getting rid of junk files in Windows 10, such as previous software installations, Recycle Bin contents, temporary files, and thumbnails.

Another feature of Disk Cleanup in Windows 10 is system compression, which compresses files that are not yet compressed, freeing up even more space.

  1. Type disk cleanup in the search box.

  2. Click on Disk Cleanup Desktop app to open the tool.

  3. Select the drive you want to clean up. In most cases, this will be Windows (C:), which is the default drive selected.

    Disk Cleanup
  4. Click OK.

  5. Wait while Disk Cleanup calculates the amount of space that can be recovered.

  6. Select the checkboxes next to the types of files you want to delete.

    Choose the files you want to delete

    Avoid selecting Windows ESD installation files if they appear in the Files to Delete list. These files are required if you should ever need to reset your computer to factory default settings.

  7. Click the View Files button if you want to see the files in the category you have selected.

  8. Click OK to delete the junk files.

  9. Click the Delete Files button to confirm that you want to permanently delete the files. Disk Cleanup will get rid of the files and close when it has completed.

How Often Should You Remove junk Files From Your Computer?

If you use your computer for several hours each day and download dozens of files, you will need to clean out the junk more frequently than someone who only hops on a couple times each week.

However, if you run Disk Cleanup once a week or twice a month, you can keep those junk files from building up and slowing you down.