Fix Windows 10 File History "Element Not Found" Error
In this article
To fix the Windows 10 File History "Element not found" error, the fastest solution is to stop the service, clear the corrupted configuration, and restart File History. This error usually appears when the File History database or its configuration files become corrupted, often after a Windows update or a failed backup. Below is a step-by-step guide to resolve it.
What You'll Need
- Administrator access on your Windows 10 PC.
- Your external drive or network location where File History backups are stored (if you want to keep old backups).
- Patience – some steps require a restart.
Step-by-Step
- Close File History and any related windows. If you see the error in the File History window, close it. Also close any File Explorer windows that might be using the backup drive.
- Stop the File History service. Press Win + R, type
services.msc, and press Enter. In the Services window, scroll down to File History Service. Right-click it and select Stop. Leave the window open. - Rename the File History configuration folder. Open File Explorer and navigate to
C:\Users\. If you don't see the\AppData\Local\Microsoft\Windows\FileHistory AppDatafolder, enable hidden items from the View tab. Right-click theFileHistoryfolder and rename it toFileHistory_old. If it says the folder is in use, make sure the service is stopped and try again. - Clear the File History registry key (optional but often needed). Press Win + R, type
regedit, and press Enter. Navigate toHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\FileHistory. If this key exists, right-click it and select Export to back it up (just in case), then right-click and Delete it. Close Registry Editor. - Restart the File History service. Go back to the Services window, right-click File History Service and select Start.
- Re-enable File History. Open Settings (Win + I) > Update & Security > Backup. Click Add a drive and select your external drive or network location. If your old drive is listed, you can select it to re-link to existing backups – but if the error persists, choose a new drive or format the old one (see Troubleshooting).
- Run a manual backup. After re-adding the drive, click Back up now to test if the error is gone.
Common Mistakes
- Skipping the service stop. If you rename the folder while the service is running, Windows will recreate the corrupted folder immediately, and the error returns.
- Deleting the registry key without exporting. If something goes wrong, you lose the ability to restore your previous File History settings.
- Not checking for hidden files. The AppData folder is hidden by default; if you don't enable hidden items, you'll think the folder doesn't exist.
- Reusing the same corrupted backup drive without cleaning it. If the error is caused by a corrupt backup database on the drive, simply re-adding the drive won't help.
Tips
- Use a dedicated drive. File History works best on a drive used only for backups. Avoid using the same drive for other storage.
- Keep your system updated. The error is often triggered by Windows updates. After a major update, check File History manually.
- Set up File History before you need it. Don't wait until you lose files; configure it now and let it run.
- Use the built-in cleanup. If you have old backups you no longer need, use the File History settings to clean up versions instead of manually deleting files.
Troubleshooting
If the error persists after following the steps above:
- Check the drive's file system. Run
chkdsk /fon the backup drive (open Command Prompt as administrator). This will fix file system errors. - Format the backup drive. If the error is due to a corrupted backup database, you may need to format the drive. Warning: This erases all backups on that drive. Only do this if you don't need the old backups. After formatting, re-enable File History and start fresh.
- Use a different drive. If formatting doesn't help, try a different external drive or a network share. If the error disappears, the original drive is failing or corrupted.
- Run System File Checker. Open Command Prompt as administrator and run
sfc /scannowto repair Windows system files that might be causing the issue. - Check for third-party conflicts. Some backup or sync tools (like OneDrive, Dropbox, or antivirus) can interfere with File History. Temporarily disable them and test.
- If all else fails, reset File History completely. Stop the service, delete the
FileHistoryfolder (not rename), delete the registry key, and restart the service. This wipes all File History settings and requires you to set up from scratch.
Frequently Asked Questions
Will I lose my existing backups if I rename the FileHistory folder?
No. Renaming the folder does not delete your backups. The folder contains configuration and cache files, not the actual backup data. Your backups are stored on the backup drive in a folder named FileHistory.
Can I use a network drive for File History?
Yes, File History supports network locations. You need to ensure the network drive is accessible and that you have write permissions. The error can also occur on network drives due to permission issues.
Why does the error appear after a Windows update?
Windows updates can change service settings or file permissions, leading to corruption in the File History configuration. The steps above reset those settings.
Is there a command-line way to reset File History?
Yes, you can use fhmanagew.exe -cleanup to clean up old versions, but for the "Element not found" error, the manual steps are more effective. There is no official command to reset the entire configuration.
Does File History work with OneDrive?
File History backs up files in your user folders, including OneDrive if it's synced locally. However, OneDrive itself has its own version history. They can coexist, but it's recommended to exclude OneDrive from File History to avoid duplication.
What if I don't have an external drive?
You can use a USB flash drive (though it may be slow) or a network share. Windows also allows using a second internal drive, but it's not recommended because if the drive fails, you lose both the system and backups.