File version history/recovery
Summary
This guide helps you troubleshoot and resolve: File version history/recovery. Follow the steps below to fix the issue.
Common Causes
Problem
You need to recover a previous version of a file, or you are unable to find a file that was recently modified or deleted.
Why Version History Matters
- Accidentally overwrote a file? Restore a previous version.
- Need to see changes made over time? Access version history.
- Deleted a file? Recover it from the Recycle Bin or OneDrive.
Retention Details
- OneDrive for Business: By default, version history is retained for 30 days. Administrators can configure the retention period and the maximum number of versions per file.
- SharePoint Online: By default, a document library can store up to 5,000 versions per file. Administrators can adjust the version limit and retention settings.
Important Warning Before Restoring
Warning: Restoring a previous version will overwrite the current version of the file. If you want to preserve the current state, click Download to save a copy before selecting Restore.
Solutions
Method 1: OneDrive for Business (Cloud Files)
Check Version History:
- Go to onedrive.live.com and sign in.
- Navigate to the file you need.
- Select the file (single-click) and then click the three-dot menu or the Version history button in the toolbar.
- A list of versions with dates will appear.
- Click a version to preview it.
- Choose Restore to make it the current version, or Download to keep a copy.
Note: If the Version history option is missing, it may be disabled by an admin policy. Contact IT for assistance or see Document collaboration issues.
Recover a Deleted File:
- In OneDrive, select Recycle Bin from the left navigation.
- Locate the deleted file.
- Select the file and click Restore.
Method 2: SharePoint Online (Document Libraries)
Check Version History:
- Open the SharePoint site that hosts the library.
- Navigate to the relevant document library.
- Select the file and click the three-dot menu, then choose Version history.
- Review the list of versions and click Restore on the desired version.
Note: If version history is unavailable, it may have been disabled by your administrator. Contact IT for further help.
SharePoint Recycle Bin
Both the first-stage and second-stage Recycle Bins can be used to recover deleted items.
- In the SharePoint site, click Recycle Bin in the left navigation (first-stage).
- Select the items you wish to restore and click Restore.
- If the item is not in the first-stage, click Second-stage recycle bin at the bottom of the page, locate the item, and restore it.
Warning: Items are permanently deleted after 93 days in the second-stage Recycle Bin.
Method 3: Restore Your OneDrive (Entire Library)
If you need to roll back the whole OneDrive library to a previous point in time:
- In OneDrive on the web, click the gear icon and select Restore your OneDrive.
- Choose a restore point (date and time) from the available list.
- Select the scope of the restore (all files, only deleted files, or only changes).
- Click Restore. OneDrive will recreate the library to the selected state.
Note: Restoring may take several minutes depending on the size of the library.
Method 4: Local File History (Windows 11)
If File History was enabled:
- Search for “File History” in the Start menu.
- Select Restore personal files.
- Browse through the backup snapshots.
- Locate the required file and click Restore to return it to its original location.
Note: For instructions on enabling File History, see Set up File History in Windows.
Method 5: Recover from the Recycle Bin (Desktop)
Check the Windows Recycle Bin:
- Open the Recycle Bin on your desktop.
- Locate the deleted file.
- Right-click the file and choose Restore. The file returns to its original location.
Note: Local Recycle Bin retention depends on your Windows settings and available disk space. Files are not moved to a second-stage Recycle Bin on a local desktop; that behaviour applies to SharePoint and OneDrive cloud storage.
Method 6: Previous Versions (NTFS)
For files on mapped drives or local NTFS volumes:
- Right-click the file or folder in File Explorer and choose Properties.
- Open the Previous Versions tab.
- Review the list of available versions (provided by System Protection/Shadow Copies).
- Double-click a version to open it, or click Restore to overwrite the current version.
Note: This feature requires System Protection (Shadow Copies) to be enabled. If it is disabled, no previous versions will be listed.
Method 7: OneDrive Desktop App (Local Files)
If you have OneDrive syncing enabled:
- Open the OneDrive folder on your PC, e.g.
C:\Users\YourName\OneDrive - Company Name\. - If the file is not visible, check the OneDrive web UI for version history or use the Previous Versions tab as described in Method 6.
- To view the OneDrive Recycle Bin, right-click the OneDrive icon in the system tray, select View online, then choose Recycle Bin from the left navigation.
- Restore the required file from the web Recycle Bin.
Method 8: Recover from Backup
If you have a regular backup solution:
- Mac: Use Time Machine.
- Company Backup: Contact IT for restoration.
- External Drive: Browse the backup drive for the needed file.
Troubleshooting Common Issues
Version History is Greyed Out or Missing
- Version history may be disabled by an administrator policy in OneDrive or SharePoint.
- Ensure you have edit permissions for the file or library.
- Contact IT to check tenant-level versioning settings.
File History Drive Not Connected
- Ensure your external backup drive is connected to the PC.
- Open File History settings and verify the drive is selected.
- If the drive is disconnected, snapshots cannot be created or restored until it is reconnected.
Restore Button Missing or Conflicts
- The restore button may be missing if the file is locked or open in another application.
- Close the file and try again.
- If restoring overwrites the current version and causes issues, download a copy of the current version first before restoring.
Best Practices to Avoid Data Loss
- Store work files in OneDrive or SharePoint to benefit from automatic versioning.
- Avoid saving directly to the desktop; use OneDrive-synced folders instead.
- Save and sync your work regularly.
- Enable File History on Windows PCs.
- Check permissions if version history is unavailable – see Document collaboration issues.
How Long Are Versions Kept?
- OneDrive: Default retention is 30 days; administrators may configure different retention periods.
- SharePoint: Default limit is up to 5,000 versions per file; administrators can adjust version limits.
- SharePoint Recycle Bin: Items are permanently deleted after 93 days in the second-stage Recycle Bin.
- Desktop Recycle Bin: Retention depends on Windows settings and available disk space.
Still Having Issues?
💻 Open a Ticket