How to recover previous versions of files in Windows 11

Last update: November 13th 2026
  • File History allows you to revert changes and recover documents through automatic copies to external drives.
  • OneDrive and SharePoint offer independent cloud version control for synchronized files.
  • When native tools fail, data recovery software can rescue permanently deleted files if they have not been overwritten.
  • Enabling the Volume Shadow Copy service and using snapshots are essential for the previous versions option to work correctly.

A stressed woman in front of her computer, representing the frustration of losing an important file.

Accidentally deleting an important document or discovering you've saved incorrect changes to an original file is, frankly, a gut-wrenching experience we've all had. That feeling of panic when you look at the screen and realize the file is gone is awful, but the truth is, Windows 11 offers several safety nets to prevent you from falling into complete despair.

The key to staying calm is knowing that there are various recovery methods available , from built-in features like File History to third-party tools and cloud backups. Depending on whether you were proactive and enabled backups before the disaster or if you're trying to recover something permanently deleted, the path forward changes completely, but there's almost always a light at the end of the tunnel.

File History: Your Personal Lifeline

An external hard drive connected to a laptop, an essential tool for configuring Windows 11 File History.

This tool is essentially a versioned backup system . Unlike a full system image, this feature focuses on your personal folders and libraries, automatically saving backups at regular intervals. If you make a disastrous change or delete something, you can simply revert to a previous version.

By default, the system protects standard libraries such as Pictures, Documents, Music, and Videos , as well as the Desktop. However, if you have folders in unusual locations that are also important, you can add them by right-clicking on them, selecting "Show more options," and choosing the option to include them in the library so they aren't left out of the protection.

  How to clone Windows to a new Samsung SSD step by step

How to set it up and configure it

For this to work, you need a place to store the data, either an external hard drive or a network location (like a NAS). The steps to activate it are simple: go to Control Panel, enter System and Security, and look for the Back up files option . Once there, click "Turn on." If the system doesn't automatically detect the drive, you can use the Select drive option to tell it where you want the backups to be stored.

A trick for the more meticulous is to adjust the backup frequency. You can set it from every 10 minutes up to once a day. It's also important to decide how long to keep the versions ; setting it "forever" is the safest option, although it will obviously consume more space on your external drive. If you're in a hurry, you can always use the Run Now button to force a manual backup before making any risky changes.

Recovering your data step by step

If your system is already active and you need to recover a file, you have two quick ways. The first is to go directly to the folder where the file was located, right-click, and select " Restore previous versions ." You'll see a list with dates and times; choose the correct one and click "Restore." A golden tip: use the "Restore to…" option to save the backup to a different location and avoid accidentally deleting the current version.

The second method is more visual and useful if you don't remember the exact path. From the Control Panel, in the File History section, choose Restore Personal Files . You can navigate between versions using green arrows and search for the file using the search box at the top, which is much more convenient when you have thousands of files.

Cloud alternatives: OneDrive and SharePoint

Close-up of a NAS data storage unit, representing network and cloud storage alternatives.

If you use the Microsoft cloud, you have an extra layer of protection. OneDrive and SharePoint manage their own version history independently of your local drive. This is especially useful for Office files, PDFs, and photos. To recover them, simply go to the OneDrive website, right-click on the file, choose Version History , and then select the desired copy to restore.

  The Best Windows Maintenance Tools: An Updated Guide

The best part is that if you have the sync app installed on your PC, you don't need to go to the website. You can right-click on the file directly in Windows File Explorer and select the same Version History option to quickly revert the changes.

What to do when no previous versions are available?

It's very common to encounter the frustrating message that no versions are available . This usually happens for two reasons: either File History was disabled, or the Volume Shadow Copy (VSS) service is turned off. If it's the latter, you could try enabling the VSS service and using tools like ShadowExplorer to attempt to extract data from the hidden shadow copies.

If you're a more advanced user and want to prevent this from happening in the future, you can use the Task Scheduler To automatically create volume snapshots. By creating a task with administrator privileges that executes the command wmic shadowcopy call create Volume=C:\\, you will force the system to create a disk backup according to the frequency you decide (for example, every midnight).

Recovering permanently deleted files

Organized desk with a laptop and several external hard drives, ideal for a secure digital work environment.

When the Recycle Bin is empty and there are no backups, we're in trouble. First and foremost: stop writing to the disk immediately . Don't install programs on that drive or download files, as you could overwrite the data you're trying to recover. On SSDs, this is critical due to the TRIM function, which erases data in the background.

In these cases, the only option is data recovery software . Tools like Disk Drill are highly recommended for their intuitive interface and ability to preserve original file names. The ideal procedure is to install the program on a different drive , scan the affected drive, and, very importantly, save the recovered files to an external drive to avoid damaging the recovery.

  Windows file systems: types, uses and compatibilities

If you're looking for something free and don't mind a clunky interface, PhotoRec is a powerful option, although it has the drawback of often losing file names and folder structure, leaving you with a mountain of files with generic names that you'll have to go through one by one.

Technical solutions and registration errors

Workspace with various storage devices such as SSDs and USB drives, illustrating the 3-2-1 backup strategy.

Sometimes, the "Restore previous versions" option doesn't even appear in the context menu. This can be a Windows registry error. To fix it, you need to go into regedit and create specific keys in routes such as HKEY_CLASSES_ROOT\\AllFilesystemObjects\\shellex\\ContextMenuHandlersAdd the key {596AB062-B4D2-4215-9F74-E9109B0A8153} in the corresponding paths it usually makes the option magically reappear in the Explorer.

For those who need complete security, the ideal solution is to combine File History with a 3-2-1 strategy : three backups, on two different storage media, and one stored off-site (in the cloud). This way, whether it's due to a disk failure, a ransomware virus, or simple human error, your valuable data will always be safe.

Having a combination of native tools like File History and OneDrive, along with the ability to use specialized recovery software and advanced registry tweaks or the task scheduler, ensures that almost any lost file can be recovered, as long as you act quickly and avoid overwriting disk data.