Last Updated on December 24, 2022 by Mathew Diekhake
I want to continue using File History to store the backups of my files, but I would like the flexibility to choose how long the backups are stored on my computer. This means that if I want to store the backups for a shorter period of time, I can do that, and if I want to extend the time my computer stores the backups, I can do that as well. Resolution:
Before Windows 8 was released, the Windows operating system had Backup and Restore (formerly Windows Backup and Restore Center) for taking backups. Microsoft stated that due to its low use, it would be deprecating the way users since Windows Vista had been taking backups via the traditional Backup and Restore; however, those using Windows 7 still could find the Windows 7 File Recovery Control Panel applet which allowed them to take similar backups.
File History is an application, that when turned on, will continually back up the files it finds on your desktop, in your libraries, in your Favorites folder, and your Contacts folder. If you leave File History on its default settings, it will back up these locations every hour, though you can change the amount of time you wish to elapse between backups to be as long as only once per day if you prefer. The backups can only occur for as long as you have the external hard drive or USB thumb drive connected to the computer; File History will not back up to the existing locations on the computer; it perceives them as useless locations to store backups since the point of a backup is in case your existing drives fail. File History will not ever erase files and folders that were previously saved to the drive; everything File History saves is saved to its own unique folder called “FileHistory.”
You can use File History similarly to how System Restore would work in the sense that you can restore older versions of your files if they were to become corrupted or are accidentally deleted. By default, File History stores one year’s worth of your backups; for some, this offers a lot of security and is set to the right amount of time; for others, one year is going to require too much storage space. Thankfully, you can change the time that File History will store your backups. Whatever time you choose, you will need to understand that that will be the maximum amount of time you can find older versions of your files. For instance, choosing only one month of File History backups means that any files older than a month will no longer be stored on the computer via File History.
The following tutorial demonstrates how to delete older versions of File History when you are using a version of the Windows 10 operating system.
Method One: How to Delete Older File History Versions of Files/Folders via File History Cleanup
You can delete the older backups that were taken by File History from the Advanced settings section of File History found within the Control Panel in Windows 10. Follow these guidelines to delete the older version of File History from the Control Panel:
Note: There will be an automatic additional 26 characters added to the full path of the backup. The maximum full path that Windows 10 allows for is a total of 210 characters. This means any file with a path longer than 185 characters will not be backed up.
1. Open the Control Panel in icons view. This tutorial shows you all the different ways in which you can open the Control Panel when you are using a version of the Windows 10 operating system: How to Open Control Panel in Windows 10 [Tutorial]
2. Click on the File History icon from the list of All Control Panel Items.
3. Click on Advanced settings from the left side of File History. (Click to enlarge the screenshot below.)
4. Under the Keep saved versions: heading, click on the Clean up versions link, which is available beneath the drop-down menu. (Click to enlarge the screenshot below.)
5. From the drop-down menu beneath the Delete files: heading, select the period of time (e.g. Older than one month) you would like File History to wait before backups are deleted.
6. The default is one year. The longer you keep the backups stored on your computer, the more chance you will have of of the backups retaining the information you need. However, it does come at a cost, which is you need to store those backups. If you use your computer regularly, you probably don’t need to be storing backups for anything close to a year, because you will notice a problem well before then.
7. Once you have chosen your preferred time period, click on the Clean up button.
Method Two: How to Delete Older File History Versions of Files and Folders via Command Prompt
1. Open the Command Prompt window. This tutorial shows you all the different ways in which you can open the elevated Command prompt window when you are using a version of the Windows 10 operating system: How to Open Command Prompt in Windows 10 [Tutorial]
2. Type the following command into the command line within the Command Prompt window, and then press the <Enter> key on your keyboard to execute it. (Click to enlarge the screenshot below.)
Keep Previous Backup Only:
FhManagew.exe -cleanup 0
FhManagew.exe -cleanup 0 -quiet
Delete All Older Than One Month:
FhManagew.exe -cleanup 30
FhManagew.exe -cleanup 30 -quiet
Delete All Older Than Three Months:
FhManagew.exe -cleanup 90
FhManagew.exe -cleanup 90 -quiet
Delete All Older Than Six Months:
FhManagew.exe -cleanup 180
FhManagew.exe -cleanup 180 -quiet
Delete All Older Than Nine Months:
FhManagew.exe -cleanup 270
FhManagew.exe -cleanup 270 -quiet
Delete All Older Than One Year (Default):
FhManagew.exe -cleanup 360
FhManagew.exe -cleanup 360 -quiet
Delete All Older Than Two Years:
FhManagew.exe -cleanup 720
FhManagew.exe -cleanup 720 -quiet
3. If Windows 10 doesn’t find any versions of File History backups that were old, you will get a message stating We didn’t find any versions of your files that were old whereby you would then need to click on the Close button to close the dialog. Alternatively, if the File History cleanup was performed successfully, you will get a message stating The cleanup completely successfully and you can click the OK button.
That’s all.
Related Tutorials
- How to Restore Files/Folders from File History in Windows 10 [Tutorial]
- How to Automatically Create System Restore Point on Schedule in Windows 10 [Tutorial]
- How to Backup and Restore with Macrium Reflect [Tutorial]
- How to Change How Long File History Stores Backups in Windows 10 [Tutorial]
- How to Exclude Folders from File History in Windows 10 [Tutorial]
- How to Reset Sticky Notes in Windows 10 from System Settings [Tutorial]
- How to See List of All Available System Restore Points in Windows 10 [Tutorial]
- How to Select Drive for File History in Windows 10 [Tutorial]
- How to Backup Files/Folders via File History in Windows 10 [Tutorial]
- How to Backup/Restore Sticky Notes App Settings in Windows 10 [Tutorial]
- How to Change How Often to Save File History in Windows 10 [Tutorial]
- How to Backup/Restore Network Shares and Permissions in Windows 10 [Tutorial]