You can use Disk Cleanup to reduce the number of unnecessary files on your drives, which can help your PC run faster. It can delete temporary files and system files, empty the Recycle Bin, and remove a variety of other items that you might no longer need.
The following procedure deletes files associated with your user account. You can also use Disk Cleanup to delete system files on your PC.
To open Disk Cleanup from the desktop, swipe in from the right edge of the screen, tap Settings (or if you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, and then click Settings), tap or click Control Panel, type Admin in the Search box, tap or click Administrative Tools, and then double-tap or double-click Disk Cleanup.
In the Drives list, choose the drive you want to clean, and then tap or click OK.
In the Disk Cleanup dialog, select the checkboxes for the file types that you want to delete, tap or click OK, and then tap or click Delete files.
The following procedure deletes system files on your PC. This option, in addition to cleaning up the files associated with your account, allows you to delete previous Windows installations, Windows Defender files, and Windows upgrade log files that you might no longer need.
In the Drives list, tap or click the drive that you want to clean up, and then tap or click OK.
In the Disk Cleanup dialog box, tap or click Clean up system files.
You might be asked for an admin password or to confirm your choice.
In the Disk Cleanup dialog box, select the checkboxes for the file types you want to delete, tap or click OK, and then tap or click Delete files.
If you want to free up even more space on your PC, tap or click More Options and choose from the options:
Programs and Features. Uninstall programs you no longer use. The Size column shows how much space each program uses.
System Restore and Shadow Copies. Delete all but the most recent restore point on the drive. System Restore uses restore points to return your system files to an earlier point in time. If your PC is running normally, you can save space by deleting the earlier restore points. In some editions of Windows, restore points can include previous versions of files, known as shadow copies, and backup images. These files and images will also be deleted.