File history was first introduced in Windows 8 and later inherited in Windows 8.1/10/11, and designed to keep multiple versions of your files on a location you specify, it can be an internal or external hard drive, or network location. But if just turn it on without configuring it correctly, you will find file history taking up too much space, in a very short time or later. Below are an example:
Can I delete Windows file history?
I’ve set up File History in Windows 10 to delete backups older than one month, but the automatic cleanup is not working: the backup drive contains files from a few months ago. How do I clean up my Windows backup files? Any kindly advice will be appreciated. Thanks in advance.
- Question from Reddit
In this case, you need to delete file history folder so as to free up disk space, otherwise, you cannot backup any files or folders with it. In the long run, there is a risk of data loss, because you don't backup changes made later. And I'll introduce you 3 ways to delete old versions in Windows 10 file history and one professional software to prevent backup disk full issue from begining.
As mentioned earlier, you may not configure file history backup correctly, thus, from this angle, you could change its advanced settings. Also, you can manually delete file history folder or reset it in Windows 10 or 11.
1. Plug in your backup drive and make sure it can be detected. Then, go to control panel > System and Security and select File History to open it.
2. Check the file history status and if you can change its backup setting.
>> If you see the file history is on, you can delete the backups. In this case, click the Advanced settings option at the left.
>> If not, I'm sorry, you can't, the file history folder is locked.
3. Go to Versions > Keep saved versions and select Clean up versions under it.
4. In the File History Clean-up window, select All but the latest one or older than 1 month to 1 year and click Clean up to start the deletion. The previous one will free up much disk space as possible for you.
There is a possibility that you failed to perform File History cleanup with error code, such as, 8004050e, 800405ff, or sating "could not clean up file history data element not found", In this case, try FhManagew.exe command.
It thinks every month is thirty days, if you need to delete files older than 1 month, you need to use 30 as the cutoff time. In a similar way, replace 30 with 60, 90, 180, 270, 360, 720, except for deleting all but the latest one, in which case you need to use 0.
1. Press Win+R to open the Run window, type “cmd” and hit “OK”.
2. Then, type following command to delete File History backups within one month. Remember to hit Enter to excute this command.
FhManagew.exe -cleanup 30
FhManagew.exe -cleanup 30 -quiet
If the above ways are not working, try to reset file history and backup specific folders in Windows 10 again. Note all of your backed-up files and folders will be deleted in this way.
Step 1. Go to File History and click Turn off if it says "File History is on".
Step 2. Open File Explorer, copy and paste the path of File History, it's usually located in the following path. Then, delete all the files or folders in it.
%UserProfile%\AppData\Local\Microsoft\Windows\FileHistory.
Step 3. Go to File History again and click Turn on if it says "File History is off".
Step 4. Click Advanced Settings, and configure proper backup settings. Then, click Save changes to backup files in Windows 10.
You can easily perform Windows 10 file history delete old versions, but it's temporary if you cannot configure the backup settings reasonably. And the backup settings in File History are limited, the longest backup frequency is daily and the shortest retention is 1 month, your file history drive fills up quickly.
If you want more flexible backup features, try AOEMI Disk Master Professional. It supports file backup, system backup, disk backup, and partition backup, so you can backup any items youu want, not limited to files or folders. And either way, you could enjoy the following backup features, which help you minimize backup image size.
If you are not sure which one to one, check this article Windows File History vs. Backup and learn more about it. Afterward, download Qiling Disk Master Professional. It has 30-day free trial, so you don't need to spend any money before making the final decision.
(PS: This version only supports Windows XP, Vista, 7, 8, 8.1, 10, 11. For server users, try Qiling Disk Master Server. )
Step 1. Launch Qiling Disk Master Professional after installing, click "Backup" and “File Backup”.
Step 2. Click "Files" or "Folder" to select the files or folders you want to backup. Then, select a backup destination to store the backup image. You can backup files to external hard dirve, USB drive, network drive, cloud drive, etc.
Step 3. Configure backup features, and then click "Proceed" to backup files in Windows 10. It will use as little disk space as possible and delete backup files on a regular basis.
Sometimes, users may report "File History element not found" error or "failed to perform File History cleanup with error 80040507 or 800405ff", etc. Here we collect some information of them and provides you with possible reasons and corresponding solutions:
This issue might occur due to different reasons, such as, system file corruption, disk problems, etc. The simplest way is to unplug all the USB drive and devices connected to your computer and then perform File history cleanup again.
If it is not working, you could check more solutions in this article: File History element not found.
This issue might occur if the file history or user profile is corrupt. You could consider transferring files to new user profile or reset file history (using Way 3 in above).
To transfer files to new user profile, follow the steps below:
Step 1. Go to File Explorer > View > Options > Change folder and search options.
Step 2. In the Folder Options window, go to View tab, check Show hidden files, folders or drives and uncheck Hide protected operating system files. Then, click Yes and OK to confirm.
Step 3. Locate the C:\Users\Old_Username folder and C:\Users\New_Username folder. The C: is the drive with Windows installed on. And the Old Username and New Username are the names of the profile you want to copy files from and to.
Step 4. Copy files in the older user profile and paste them into new user profiles. Remember not to copy the following 3 files.
•Ntuser.dat
•Ntuser.dat.log
•Ntuser.ini
Step 5. Restart your computer and see if you are able to access files in the new user profile.
This issue might occur when the file name character in the subfolder is longer than File History can handle. To avoid this error, please try to avoid long character or backup files currently in File History and reset it (using Way 3 in above).
File History Cleanup is capable of deleting older versions of Windows 10 file history backups, but if you don't configure it well, your backup drive will be fulfilled sooner or later. However, you may find its backup settings is restricted, you need to turn a professional file backup software for help.
Qiling Disk Master is a great choice, which offers users more flexible backup features. And further, it is capable of reducing backup image size. Anyway, you don't need to worry about backup disk full issue anymore. Also, you applies them to system backup, disk backup and partition backup.