How to Recover Overwritten Files and Folders on Windows 10/11

Written by
4437

How to recover overwritten files

It takes just one user error to accidentally overwrite a file or even an entire folder in Windows 10/11. The consequences of such an error can be painful because overwritten files and folders can’t be simply recovered from the Recycle Bin like deleted files. Fortunately, that doesn’t mean they’re gone for good. I’ll show you several proven methods to recover overwritten files—from specialized recovery tools to Windows’ built-in features.

Is It Possible to Recover Overwritten Files?

The recovery of files and folders that have been replaced by other files and folders with the same names is often possible, but it depends on whether the data itself has or hasn’t been physically overwritten.

What I mean by that is there are two different scenarios when you “overwrite” a file:

  • Logical overwriting: When you save a new file using the same name as an existing one, Windows destroys the logical link leading to the old file, but it doesn’t destroy the data itself because the new file is typically saved in a different physical location on the storage device. Since physical overwriting doesn’t happen and the storage space occupied by the original data is only marked as available, recovery is possible.
  • Physical data overwriting: It may take a few seconds or a few years, but eventually, Windows will reuse the storage space marked as available for new files. Once this happens, the original data is physically overwritten and becomes impossible to recover. This process happens much faster on SSDs than on traditional hard drives due to how SSDs handle data storage optimization with their TRIM command.

To increase your chances of successfully recovering overwritten files and folders, you always want to minimize the use of the affected drive until you’ve completed the recovery. Every write operation, such as saving new files, installing programs, or even normal system operations, could potentially overwrite your data permanently.

How to Recover Overwritten Data

You have two basic options for recovering overwritten files and folders: you can either use specialized data recovery software capable of finding logically overwritten files that are still physically present on your storage device, or you can recover them from your backups.

In this section, I’ll walk you through both approaches, starting with data recovery software since it works even if you don’t have a backup.

Method 1:Use Software to Recover Overwritten Files

Data recovery software is designed specifically to find all files that are physically present on a storage device—be it existing files, deleted files, or logically overwritten files.

My favorite data recovery software is Disk Drill because it manages to make the process so simple that even my grandmother has completed it while delivering industry-leading results thanks to its support for hundreds of file formats, including:

  • Documents (DOC/DOCX, PDF, XLS/XLSX, PPT/PPTX)
  • Media (JPG/JPEG, PNG, MP3, MP4, MOV)
  • Archives (ZIP, RAR, 7Z)
  • And many other formats

The free version lets you recover up to 500 MB at no cost, which should be enough to recover at least a few overwritten files (unless we’re talking about large videos, of course). Best of all, you can preview an unlimited number of overwritten files to verify their recoverability, so you don’t have to worry about spending money on a license and then finding out that there’s nothing to recover—that doesn’t happen with Disk Drill.

Here’s how the actual recovery process looks like:

  1. Download and install Disk Drill on your computer.disk drill setup
  2. Select the drive where your overwritten files were stored and click Search for lost data.selecting drive to scan in disk drill
  3. Wait for Disk Drill to complete the scan. This may take a while depending on your storage device’s size. Alternatively, you can click Review Found Items to see recoverable files right away (Disk Drill will continue scanning in the background). scan complete
  4. Review the scan results and select the files you want to recover. You can also filter by file type to find specific files faster. Once you’re done, click Recover.preview found files in disk drill
  5. Choose where you want to save the recovered files. Make sure to select a different storage device than the one you’re recovering from. Click Next to continue.choose a path to recover files
  6. Once the recovery finishes, Disk Drill will show a completion message.recovery complete message in disk drill

I’ve used cute image files in this example, but the steps are the same for all file types.

Method 2:Recover Overwritten Files Using Previous Versions

Windows has a built-in feature called Previous Versions that I find incredibly useful for recovering overwritten files. It automatically creates copies of your files either when Windows makes a restore point or at regular intervals when File History is enabled.

If there’s a recent Windows restore point or if you’ve enabled File History in the past, then you can follow these steps to recover your overwritten files:

  1. Locate your overwritten file or folder in Windows Explorer.
  2. Right-click it and select Restore previous versions.click on restore previous versions
  3. A window will appear showing available previous versions. I always click Open first to preview the version and make sure it’s the one I need.preview previous versions
  4. Once you’ve found the right version, click Restore To.restore previous version to another folder
  5. Finally, choose a new location to save the restored file.path for restore in another folder

Again, this method works only if File History is enabled on your Windows PC. You can check if it is by going to Settings > Update & Security > Backup.

Method 3:Recover Overwritten Files from a Cloud Backup

Recent versions of Windows come with Microsoft’s cloud backup service, OneDrive, included by default, so it’s no wonder that increasingly many users are discovering the benefits of automatically backing up files to the cloud.

One such benefit is the ability to easily recover overwritten files thanks to OneDrive’s versioning capabilities, which keep track of all changes made to your files.

To recover overwritten files from OneDrive, you need to do the following:

  1. Go to OneDrive.com and sign in with your Microsoft account
  2. Find the overwritten file.
  3. Right-click the file and select Version history.onedrive version history
  4. Choose the version you want to recover from the list of previous versions.

Method 4: Use Built-In Backup Features In Your Applications

Most modern applications like Microsoft Office, Adobe Creative Suite, and AutoCAD include automatic backup features that create automatic backups of your work at regular intervals, so they can often be used to recover overwritten files in the same way as the Previous Versions feature and OneDrive can.

While most apps enable their auto-save features by default, I always recommend checking the settings to make sure they’re active and configured to your needs.

Let me show you how to recover files using Microsoft Word as an example, since it’s one of the most commonly used applications with a built-in backup feature:

  1. Open Microsoft Word.
  2. Click File > Options > Save.
  3. Here you’ll find the AutoRecover settings. I keep mine set to save every 10 minutes (the default setting), but you can adjust this based on your needs. You’ll also see the AutoRecover file location.autorecover settings in word
  4. To find your recoverable files, click Browse next to the AutoRecover file location. Navigate through the folders to find your file, select it, and click OK to recover it.go to autorecover folder word

Pro tip: If you’re using Microsoft 365, I highly recommend enabling AutoSave, which continuously saves your work to OneDrive.

Conclusion

When recovering overwritten files and folders in Windows, your success largely depends on how quickly you act, which data recovery software you choose, and what backup features you have enabled. Of course, it also depends on how well you follow the recovery steps since even the best tools won’t help if you accidentally save recovered files back to the same drive or keep writing new data to it during recovery, for example. But with this guide by your side, your recovery chances will be as high as they can be.

FAQ:

When you overwrite a file, your computer marks its original location as available for new data. The old data remains physically present until something new is written over it. That's why data recovery experts always stress acting quickly—the longer you wait, the higher the chance that this space gets reused.
The process to recover overwritten files doesn't change based on the kind of storage device the files were stored on. Whether you're trying to recover from a USB drive, external hard drive, or your computer's internal drive, you can use the same methods I described above.
If you've just overwritten a file, then you can press Ctrl+Z to undo the overwriting. However, if you've already restarted your computer or closed the application in which the overwriting happened (such as File Explorer), then you'll need to use one of the recovery methods I outlined above.
I recommend you start with the built-in tools in Windows: check File History by right-clicking the file and selecting "Restore previous versions." If that doesn't work, look for application-specific backups. No luck with them? Then download the free version of Disk Drill, which lets you recover up to 500MB of data.
This usually means File History wasn't enabled before the overwrite happened. You can check this in Windows Settings > Update & Security > Backup. I recommend enabling it now to protect against future incidents.
When you delete a file, Windows removes its logical reference, but the data typically remains on the storage device. When you overwrite a file, the logical reference is updated to point to a new file, but the old file remains in a different location on the storage device.
The logical reference that allows you to open the file in Windows is replaced with a new one. However, the original data remains physically present on the storage device and thus possible to recover.
Emma Collins is a content writer who has been writing tech tutorials & how-to guides relating to her wide interests in technology. She's been writing articles on Windows, Android, iOS, Social Media, Gaming, and more as a tech writer for over 5 years.
Approved by
12 years experience in software development, database administration and hardware repair.
0 COMMENTS
This field is required
This field is required
We respect your privacy; your email address will not be published.

We respect your privacy; your email address will not be published.

You have entered an incorrect email address!
This field is required