At first, press Windows + R, type control panel, and hit Enter to open Control Panel in Windows 10. Click System and Security -> File History to enter into File History window. Next click Advanced settings in the left column. Click Clean up versions link. At last, choose the time you want to delete the versions of files and folders from the drop-down list, and click Clean up button.