Table of Contents

You kept working on a file, saved a new version, but decided you preferred one of its previous versions. Or maybe you’ve deleted a directory filled with old files, and after replacing its contents with “new stuff”, realized you needed one of them. Perhaps an OS installation ISO.

Although the technical answer is “no”, sometimes “yes” is a realistic possibility. Let’s see when, and more importantly, how.

Is It Possible to Recover Overwritten Files?

If we told you that it’s possible to recover truly overwritten files, strictly from a technical standpoint, we’d be lying. At least, if talking about the literal meaning of the phrase “overwritten files”.

HDD "box" opened up to show magnetic discs and mechanisms inside

The easy way to understand why is by picturing your available storage as a series of empty containers like packing boxes. Each of those boxes is called a “cluster” (hence the “cluster size” setting when formatting a storage device), and a file can occupy more than one, depending on its size.

A file is really overwritten only when the following apply:

  • ❌ A file occupying some storage space is marked as “deleted”.
  • 💬 The space it occupies is marked as “available” for the storage of other files.
  • 🚫 There’s no more free space available in the storage device.
  • ♻ New data is written on the same spot the file occupied.
  • ❗ No backup, versioning, or cloning solutions are available.
We talked about clusters because even if a file is partially overwritten, it might be possible to recover its parts that haven’t been overwritten. The parts that reside in clusters that haven’t been re-used.

You’re not interested in restoring overwritten files to their past glory, but in locating lost files that somehow disappeared instead? Make sure to check our guide on precisely how to find lost/missing/disappeared files (on Windows 10).

Alternative Ways to Restore Overwritten Files

Even if it’s theoretically possible, how can you get back a file replaced by another file with the same name? How can you recover overwritten files or revert the ones you’re working on to a previous state?

  • With most popular storage setups today, older files aren’t immediately replaced by newer data. Instead, they’re flagged to be deleted when there’s no more actual free space available on a storage device. Thus, their previous versions might still “linger” in your storage, invisible under standard usage patterns.
  • Depending on the app responsible for the files’ creation or management, the underlying OS, or third-party software, you might have extra options to restore your overwritten files. Maybe even more than one.
Thus, even if your older files seem gone, there’s still (more than) a chance you can get them back. We’ve already covered many ways you can recover deleted files on Windows 10, but let’s see some approaches that might be better when dealing with overwritten files.

Solution #1: Revert Your Files To Past States With Multi-Step Undo

Did you update a document mere minutes ago but decided that you prefer it the way it was before and would like to revert it to a previous state? Maybe you can undo your way back to that optimal spot.

Most modern applications include undo functionality and have it mapped to the same shortcut: CTRL+Z. So, you can possibly revert the file you’re working on to a previous (but relatively recent) state by pressing CTRL+Z multiple times.

If you overdo it, you can also usually go the other way around: press either CTRL+Y or CTRL+Shift+Z to re-apply a change you undid.

Solution #2: Get Your Lost Files Back with Disk Drill

If older versions of your files still linger in your storage and aren’t really deleted, a tool like Disk Drill can locate them and help you get them back.

To recover your files with Disk Drill, head over to its official site, download, and then install it like any other app. Run it, and then…

  1. Choose from where you want to recover your files from Disk Drill’s main device list. Then, click on Search for lost data on the bottom right of its window.
    Selecting device for file recovery in Windows 10 Disk Drill
  2. Allow Disk Drill the time to locate your lost files.
    Disk Drill scanning for lost files on Windows 10
  3. When the scan process completes, click on Review found items, on the top right of Disk Drill’s window, to check out the files it found. You can also preview files by:
    • Double-clicking on them
    • Clicking on the little “eye” icon when you hover your mouse cursor over them
    • Right-clicking and choosing “preview”.

    Previewing files before recovery in Disk Drill

  4. It’s worth noting that if Disk Drill locates the files you want before its scan completes, you can interrupt the process and jump directly to their recovery. To do that, click on Stop scanning on the top left of Disk Drill’s window, and then answer positively when asked if you are sure you want to cancel the current operation.
    Disk Drills allows interrupting the scanning process to recover files that have been located.
  5. Continue by placing a checkmark to the left of the files you want to recover. Then, click on the blue Recover button on the bottom left of Disk Drill’s window.
    Selecting files to recover in Disk Drill
  6. Disk Drill will ask you to choose a destination to save your recovered data. Click on the folder icon on the right, and choose the directory where you want to store your files. Then, click OK.
    Choosing the destination for recovered files in Disk Drill
  7. Once more, wait a bit for Disk Drill to undelete your lost data.
    Disk Drill's file recovery progress window
  8. When the process completes, usually in under a minute, you’ll find your recovered files in the folder you selected in the previous step.
    Accessing the files recovered by Disk Drill.

Solution #3: Look For Previous (Shadow Copy) Versions of Your Files

If your overwritten files were deemed necessary by the Operating System itself, maybe there are backups available thanks to Shadow Copy. Tied to Restore Points, Shadow copy can keep track of multiple versions of files, allowing you to restore their past incarnations.

For the feature to work, you should have created at least one Restore Point in the past and enabled protection on the volume where your files reside. To do that:
  1. Use Windows 10 built-in search functionality to look for “Create a restore point”, and open that Control Panel entry.
    Searching for Create a Restore Point in Windows 10 Start menu
  2. Choose the drive on which you want to enable protection from the list under “Protection Settings”. Then, click on “Configure…”.
    Configuring Windows Volume Shadow Copy Drive Protection Settings
  3. Enable “Turn on system protection” under “Restore Settings”, and adjust the disk space you want to dedicate to the feature from the Max Usage slider below. Click on OK to enable the new settings.
    Windows Volume Shadow Copy Turn on System Protection for selected drive
  4. With protection turned on the selected drive, create your first Restore Point with a click on “Create…” on the bottom right of the window.
    Create a Restore Point manually to ensure files are backed-up
  5. To revert a “protected” file to a previous state, right-click on it and choose properties. From there, move to the “Previous versions” tab and select the one you want back. Then, click on the “Restore” button under the list. Unfortunately, as you can see in our screenshot, not all files are considered important enough to backup automatically. Thus, it’s pretty probable you might not find any previous version of the file you’re interested in.
    Not all files are revertible to past states, if not included in Shadow Copy backups by default.

Solution #4: The Magic Of Versioning

Many apps keep backups or previous versions of the files you create or edit in them. Let’s see how you can enable such features in the first place in some of the most popular pieces of software.

Microsoft Office – Word

  1. Choose “File” on the top left of Word’s main menu.
    Microsoft Word main interface
  2. Click on “Options” at the bottom of the list on the left.
    Microsoft Word's options page
  3. Enable both “Save Auto Recover information every X minutes”, and “Keep the last AutoRecover version if I close without saving”. With those options active, Word will automatically keep backups of the documents you create or edit with it. You will find them in the path defined next to “AutoRecover file location”.
    Microsoft Word Save AutoRecover options

Still, there are even more ways to potentially get your files back, as we saw on our extensive tutorial on how to recover deleted or unsaved Word documents (on Windows).

💡 The same feature is available in other applications of Microsoft’s Office suite, like Excel. You can find it at a similar (or usually precisely the same) spot.

LibreOffice

  1. The quite popular LibreOffice open-source alternative to Microsoft Office also supports automatic backups. To enable the feature, from LibreOffice’s main launcher, move to its options instead of running an app.
    LibreOffice start interface, jump-off point for all included apps.
  2. There, expand the “Load/Save” group of options from the list on the left, and select “General”. Enable “Save Auto Recovery information every X minutes” and “Always create backup copy”.
    LibreOffice General Options page

InkScape

  1. To enable automatic backups in the InkScape sketching app, pay a visit to its Preferences and expand the “Input/Output” group of options from the list on the left. Move to the “Autosave” page, and make sure “Enable autosave” is active. Use the other options to define where you want to save automatic backups, how many to keep, and the interval among them.
    InkScape options

InkScape is popular and free, but, admittedly, Photoshop remains the king for media manipulation. If you’re a fan (and customer) of Adobe, and it’s PSD files you’re trying to get back, make sure to check our article dedicated to recovering unsaved or deleted PSD (Photoshop) files.

Dropbox

  1. Dropbox keeps deleted files and previous versions for up to 30 days, or even longer on paid accounts. However, they aren’t accessible through its apps but only from its web interface. Thus, to recover replaced files from it, you will first have to visit its site. Log in with your credentials, and when “you are in”, click on “Deleted files” from the list on the left.
    DropBox's Web Interface is more full-featured compared to its standalone apps.
  2. To get back any of your deleted files from dropbox, place a checkmark on their left. Then, click on “Restore” on the right of the list.
    DropBox web interface's option to restore deleted files.
  3. If you want to restore a previous version of an overwritten file instead, right-click on it and choose “Version history” from the menu that pops up.
    DropBox web interface's option to check past versions of files.
  4. Dropbox will show you a list with all stored versions of the file, with the current one at the top. To revert to a previous one, click on the “Restore” button that appears on the right of an entry when you hover the mouse cursor over it.
    Choosing previous version of file to restore in Dropbox's web interface.

Still, as far as Dropbox goes, you have even more options for getting back your overwritten files, as you’ll find by checking our post with 5 proven solutions to recover deleted files from Dropbox.

Google Drive

  1. Just like Dropbox, Google Drive allows you to revert any file to a previous version if you access it through its web interface. Pay a visit to its site, and log in with your account.
    Selecting a file in Google Drive's web interface.
  2. Locate the file you accidentally replaced with newer but not as valuable data. Right-click on it and choose “Manage versions” from the menu that pops up.
    Accessing older versions of files in Google Drive's web interface.
  3. Google Drive will present a list of past versions of the selected file. Locate the one you prefer and click on the three dots on its right. A mini menu will pop up, allowing you to download this version, keep it forever, or delete it.
    Downloading an older version of a file from Google Drive.

That’s only one way of getting back your lost files from Google Drive. Want more alternatives? Check our article where we go over 5 proven solutions to recover deleted files from Google Drive.

Local PDF Files

PDF files are no exception, and you also have more than one ways to get them back. However, to avoid repeating ourselves, if that’s what you’re interested in, we believe it’s better to point you to our complete guide on how to recover deleted or even unsaved PDF files on Windows 10.

Solution #5: Restore Your Data With Windows Backup

If you were already using Windows Backup or had enabled File History for some of your folders in Windows 10, getting past versions of your files is easy. However, let’s take it from the beginning and see how those who weren’t using those features can take advantage of them.

  1. Open the Windows 10 start menu and click on Settings.
    Choosing Settings from Windows 10's Start Menu.
  2. From the Windows 10 Settings window, choose the last option, “Update & Security”.
    Windows 10's main Settings screen.
  3. Move to the “Backup” options page from the list on the left.
    WIndows 10's Backup Settings window.
  4. Click on “Add a drive” under “Back up using File History”.
    Choosing a drive for use with Windows 10's File History backup solution.
  5. Choose a secondary storage device where you want Windows 10 to keep its backups. It doesn’t have to be a large external Hard Disk Drive – even a USB flash drive or an SD card will do.
    Selecting the drive where Windows 10's File History will store backups.
  6. Click on “More options” and use the two pull-down menus to define:
    • How often Windows 10 will create new backups
    • How long they will be kept.

    Use “Add a folder” under “Back up these folders” to add more folders to the list and have their contents also backed up.

    Setting up Windows 10's Backup options.

  7. Whenever you want to restore previous versions of your files from those backups, visit the same spot, and scroll to the end of the “More options” page. Click on “Restore files from a current backup”.
    Selecting the option to recover files from Backup History.
  8. Choose the files and folders you want to revert to a previous version from the following window. Click on the button with the green arrow at the bottom center of the window to begin their recovery.
    Choosing what to recover from Windows 10's backups.

Solution #6: System Restore

If you don’t want to restore a particular overwritten file to a previous state, but the whole operating system, System Restore can help with that.

  1. Use the Windows 10 search function to search for “recovery”. Open the Control panel entry that will appear.
    Locating Recovery in Windows 10.
  2. From the “Recovery” window that will show up, choose “Open System Restore”.
    Choosing to Open System Restore in Windows 10.
  3. Click “Next” on the “System Restore” window that follows.
    Windows 10's System Restore Wizard window.
  4. Choose the Restore Point to which you want to revert your system if there is more than one available.
    Selecting the Restore Point where to revert the OS in Windows 10.
  5. You can click on “Scan for affected programs” underneath the list to check if any of your installed software might stop working afterward.
    Checking for software that will be affected after reverting to a previous Restore Point in Windows 10.
  6. If you’re sure you want to proceed, click Next, double-check everything one last time, and then click on “Finish” to revert your computer to the chosen Restore Point’s state.
    Final confirmation to revert the OS to a previous Restore Point in Windows 10.
💻 Have you, like many others, already moved to Microsoft’s latest OS? Then, maybe it would be better if you checked our overview of available data recovery features & software for recovering deleted files on Windows 11.

Solution #7: Recover Overwritten Files From 3rd-Party Backups

If you have been using a tool like CloneZilla to keep backups of your data, you can restore your overwritten files from them. However, each backup solution is different, leading to various ways of getting back your accidentally replaced files.

Some of them allow you to “open” a backup through their interface and “fish out” individual files. For others, like CloneZilla, you might have to “mount” a backup file as a virtual drive. You could then copy your files from it as if it were a standard storage device, using a file manager.

Thus, we won’t go over such solutions, for each is different in its approach. Check out your backup solution‘s documentation to find out how you can restore your overwritten files from the backups you have available.

Recovering Overwritten Files? ImPossible!

As we saw, there are multiple ways you can recover your accidentally deleted data even if technically, and when talking literally, that’s impossible. Thanks to the safeguards built in our modern operating systems and software, the impossible can become quite possible.

Even if you can’t really recover truly overwritten files, and the methods we saw are solutions for sidestepping the problem, it doesn’t matter if they lead to the intended result: getting your precious data back.

FAQ