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.

Man sweeping floor with broom

Malte Mueller / Getty Images

It makes your machine work harder than it needs to.

If you should inadvertently delete a file that you still need, performing System Restore could save you.

Entercontrol panelin theSearchbox and selectControl Panelapp in the search results.

Searching for the Control Panel App in Windows 10.

SelectSystem and Securityand then selectSystemif your Control Panel window is inCategoryview.

SelectSystemif your Control Panel window is inIconview.

SelectSystem Protectionin the left pane.

The control panel in Windows 10.

The System Properties window will open.

Make sureProtectionis set toOnfor theSystemdrive.

If not, choose the drive and then selectConfigure.

System protection

SelectTurn on system protectionand then selectApply.

SelectCreatenext toCreate a restore point right now for the drives that have system protection turned on.

key in a word or phrase to describe the restore point.

System properties in Windows 10.

The date and time will be added automatically.

When the process is complete, a message statingThe restore point was created successfullywill appear.

Managing the Recycle Bin

The Recycle Bin will store deleted files.

System protection in Windows 10.

If you decide you need one back, it’s easy togo in and restore it.

PressWin+Dor opt for space at the very right end of the taskbar to enter the desktop.

SelectYesto confirm that you want to permanently delete the items.

Configuring a restore point in Windows 10.

it’s possible for you to use a Windows 10 setting to automaticallyget rid of temporary filesfor you.

Go toStart>tweaks>System.

SelectStoragein the left pane.

Naming the restore point in Windows 10.

Turn on the toggle switch underStorage.

SelectConfigure Storage Sense or run it now.

UnderTemporary Files, selectDelete temporary files that my apps aren’t using.

Confirmation of a successful restore point in Windows 10.

Choose a frequency in the drop-down lists underTemporary Files.

These allow you to choose how often Windows will delete temp files in your Recycle Bin and yourDownloadsfolder.

SelectClean Nowif you want to delete these temporary files immediately.

Selecting Close.

The Disk Cleanup Tool

Disk Cleanup is an integrated tool in Windows.

SelectDisk Cleanupapp to bring up the tool.

snag the drive you want to clean up.

Right-click context menu of the recycle bin in Windows 10.

In most cases, this will be Windows (C:), which is the default drive selected.

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

snag the checkboxes next to the types of files you want to delete.

Selecting to empty the recycle bin in Windows 10.

Avoid selectingWindows ESD installation filesif they appear in theFiles to deletelist.

These files are required if you should ever need to reset your box to factory default configs.

SelectView Filesif you want to see the files in the category you have selected.

Confirming the deletion of files in the recycle bin in Windows 10.

SelectOKto delete the junk files.

SelectDelete Filesto confirm that you want to permanently delete the files.

Disk Cleanup will get rid of the files and close when it has completed.

Windows settings in Windows 10.

How Often Should You Remove Junk Files From your box?

Windows 10 Storage

The Storage settings in Windows 10.

Selecting to configure storage sense in Windows 10.

Configuring temporary files settings in Windows 10.

Choosing how many days to delete temp files in Windows 10.

Selecting the clean now option in storage sense.

Searching for disk cleanup in Windows 10.

Selecting Disk Cleanup.

Disk Cleanup

Selecting Ok.

Choose the files you want to delete

Selecting to view the files to be deleted in Windows 10.

Selecting OK.

Confirming the deletion of temp files in Windows 10.