How to Recover Corrupted Files on Windows [Best Methods]

Written by
3673

Recover corrupted files on Windows

You’ve been working on your computer, and you go to save a file as you want to preserve your work. But the app you’re using crashes, or your computer suddenly restarts, leaving your file unsaved.

That is just one of the many scenarios that can corrupt your files. The good news? There are ways to recover corrupted files on Windows. In this article, we’ll explore what a corrupt file is, how it happens, and how you can recover a corrupted file.

What Is a Corrupted File?

In short, a corrupted file is one that has been damaged. All of the data on your computer has a structure to it and when this structure is damaged or interrupted, it can cause a file to become corrupt.

corrupted file message

This can cause the file to no longer open and your operating system may not know how to handle the file anymore. If you do try to open it, the app may crash as there is missing data that causes the program you’re using to not understand what to do with it.

How Do Files Get Corrupted?

There are multiple reasons that a file may be corrupted. I will list some of the most common below:

  • 🔌 Power outages causing your computer to suddenly shut off – Power outages causing unexpected shutdown can interrupt system processes and other write operations. This, in turn, can cause some files to become inaccessible or other metadata to be corrupted.
  • ⚡ Power surge – Similar to unexpected shutdowns, power surges due to faulty wiring or other reasons can also interrupt data-altering operations. On top of that, it can also damage hardware components which can leave your computer inaccessible.
  • 🔨 App crashes – If an app crashes while saving a file, it can leave a part of your file updated, and the rest are retained or damaged. This inconsistent data can lead to file corruption.
  • 🖥️ Operating system crash – If your operating system crashes, all operations stop, including background processes and everything you’re accessing. This can cause different data damage or even file system corruption.
  • 🛑 Updating errors – If a software update is unsuccessful, any critical system components involved in the update can suffer damage, resulting in the corruption of related files.
  • ➡️ Transferring new data to a computer and compatibility errors – If you transfer an incompatible file to a computer or another device, that copy may become unuseful or unreadable. This may be because the device has no way to interpret the file/data correctly.

The good news is that there are multiple ways to recover corrupted files as Windows and other apps take into consideration that there can be instances where apps or computers can crash.

Below, I will look into some of the best ways that you can go about recovering corrupted files and getting back your data.

Best Methods to Recover Corrupted Files

The chances of successfully recovering corrupted files will depend on the underlying reason for corruption. Below, we describe the best methods to recover your corrupted files that you can easily follow. See which of the methods will work on your specific recovery needs.

Method 1: Copy the File from Original Source

The simplest way to get corrupt files back is simply copying them from the original source. Most files on your PC that aren’t system files (i.e., files that Windows adds when installed) are usually obtained from an external source and can be reobtained.

For instance, if the corrupt file you’re trying to use is a setup file for a tool you want to install, go to the tool’s website and download the setup file again. If you received the file, for instance, a movie as an mp4 file that has become corrupt, you can ask your friend for the file again.

However, if you’re unable to get the corrupt file back from the source, you may be able to recover it by changing the file format of the corrupt file.

Method 2: Change the File Format

Sometimes, fixing a corrupt file is as simple as changing the file format. For instance, if you’re unable to open a Word document, converting it to a PDF can help. If your corrupt file is an image in PNG format, converting it to JPG might help recover the file.

There are several ways to change the file format. Usually, searching online for “convert (file format) to (a different file format)” will give you a list of web-based tools that can convert the file format online.

You can also convert some file formats using the tools you already have on your PC, provided you’re at least able to open the file. For instance, when a Word document becomes corrupt, some of its content may not appear, but the file will still open. You can go to File > Save as and save the file as a PDF document.

save word as pdf

Method 3: Use AutoRecover Built-in App Solutions

Many apps these days offer built-in data protection against things such as app and computer crashes. Microsoft Office is a prime example of a software service that offers amazing protection for your data.

Since most of us use Microsoft Office, we can take a look at how to recover a corrupted file using Word. If you’re using something such as Microsoft OneDrive or Google Docs, then this most likely wouldn’t be something that you would need to consider as your data is constantly being saved via the cloud.

However, due to privacy concerns and depending on what you’re working on, you may not be able to save your data to the cloud or you may have other reasons for not doing so. In the steps below, I will go through how to recover a file from Microsoft Word but these steps will apply to most of the Microsoft Office apps and the steps shouldn’t change by much.

  1. Launch Word or any Office product as the steps should be nearly the same.
  2. Go to the navbar and choose File > Option > Save.
  3. Within this window, you can find the AutoRecover location for where your files are being saved to. You can also see how often AutoRecover is saving your work for you. You can note on mine, that it is saving every 10 minutes and that this is the default setting.autorecover settings word
  4. From within this screen, you will be able to see where your files have been saving to which will allow you to locate and restore corrupted files.autorecover saves in folder

Method 4: Recover Corrupted Files Using Previous Versions

Previous versions are copies of files that Windows creates as part of a backup or as a restore point. Previous versions are sometimes also referred to as shadow copies and they’re created automatically by the Windows operating system, so this isn’t something that you would have had to set up ahead of time.

If you have a corrupted file, most likely you can right-click on it and restore it back to a previous version or shadow point which, would allow you to recover a file should it become corrupt.

Restoring corrupted files using Previous Versions is quite easy and I will walk through it in the steps below.

  1. Find the folder or file that you want to restore to a previous version of.
  2. Right-click on the file or folder and select Restore previous versions.
  3. Select the previous version that you would like to restore to and click Restore.select previous version and restore
  4. After you have clicked on Restore, your computer will restore back to the previous version of the file and it should no longer be corrupt!

Sometimes there may not be a previous version of the file you’re trying to restore to and that is where a backup comes into play.

Method 5: Recover Corrupted Files From a Windows Backup

After years of being in the computer industry, I can attest that backing up your computer is one of the best things that you can do for your data. Recovering corrupted files from a backup is really easy to do and it only takes a few steps.

  1. Launch Settings > Update & Security > Backup.restoring from a backup
  2. If you have a backup set up, it will appear here. You can then retrieve corrupted files by selecting the backup and then waiting for it to restore to a previous point.restore files from backup

If you don’t have a backup showing up after following the steps above, you most likely don’t have one and I would recommend that you start backing up your computer to ensure that your data is saved.

There are other ways to recover corrupted files which we will take a look at below.

Method 6: Use File Repair Software

If you want a more hands-off solution, you can use file repair tools like Stellar Microsoft Office Repair Toolkit or Repair Toolbox. The success rate of each software typically depends on how smart it is.

Files can become corrupted because of viruses, buggy software that didn’t write the file correctly, or some event that caused the file’s data to become disorganized. So, the chances of success when using a repair tool also depend on how damaged or corrupt the file is.

It’s important to note that no matter which file repair tool you use, it will only repair minor corruption issues. If a large portion of your file’s data is missing, the repair tool—no matter how expensive—won’t be able to recover the file.

Method 7: Recover Corrupted Files Using Data Recovery Software

If the steps above didn’t work, you may be able to recover a previous version of it that will open and function using third-party data recovery software.

Disk Drill can recover files and all other sorts of data. It can do this by scanning your computer and finding files that are there, but may not be visible to you. With a corrupted file situation, Disk Drill may be able to recover a previously working version of the file that will open and function on your Windows machine. Data recovery software can’t fix corrupted files, but if there is another working version of the file, it may be recoverable.

The best way to know if the file is recoverable is if the preview function is working when looking at the files that Disk Drill was able to find after the scanning process has finished, which I will point out in the steps below.

Once you notice that a file is corrupted and not opening on your machine, it is best to stop using your computer as saving new data to it will make it harder for Disk Drill to recover data. If you can load Disk Drill onto an external hard drive or thumb drive, that will increase your chances of data recovery.

  1. Download and install Disk Drill for your computer.disk drill setup
  2. Select the Device/Disk that you would like to scan for the corrupted files and then click on the Search for lost data button in the lower right-hand corner to start the corrupted file recovery.selecting drive to scan in disk drill
  3. Wait for the scanning process to complete. Then proceed to review found items
  4. You will be greeted by all of the found files that Disk Drill was able to recover. If you’re able to preview a file, then Disk Drill is able to recover it most of the time. This is a good indication that you can recover a previously working version of a corrupted file.previewing files in disk drill
  5. Check the files that you would like to recover and then choose Recover.recovering files in disk drill
  6. Choose a path for Disk Drill to recover the corrupted file to.choosing a recovery location in disk drill
  7. You will then be greeted by a confirmation message letting you know that the recovery was successful.recovery successful message

Method 8: Use the System File Check (SFC) Utility

System File Check (SFC) is a built-in utility that scans for corrupt system files and fixes them. Windows saves a cached copy of all your system files in the System32/dllcache folder. When you run the SFC utility, it scans all protected system files to see if any have become corrupt. If it finds corrupt files, it replaces them with a cached copy of the file. If the corrupt file you’re trying to recover is a system file, here’s how you can use the SFC to repair it:

  1. Search for cmd in the Start Menu. Select Command Prompt from the left pane and click on Run as administrator from the right pane to launch the Command Prompt as an administrator.open cmd
  2. Run the following command:
    sfc /scannow

    sfc scannow

  3. Let the scan complete. Once it does, you’ll see a message that tells you whether the scan found any corrupt files and if they were fixed. If the message says the corrupt files were successfully repaired, you’ll have fixed the corrupt system files.scan completed

Wrap Up

Computers run reliably most of the time but there can be instances where something can happen that can cause file corruption. The good news is that there are multiple ways to recover this data and get it back onto your machine.

Through backups and built-in software solutions, you can keep your data safe and if those don’t work, you always have third-party data recovery software that can help you recover a previously working version of a corrupted file.

FAQ

You can try to recover corrupted files using Command Prompt by entering chkdsk X: /f and entering ATTRIB -H -R -S /S /D X:*.* (Replace X with your drive letter). These commands will check for errors in your file system and show hidden files. You can also try to enter sfc /scannow in Command Prompt to scan and repair protected system files and see if it fixes your issue.
No, CHKDSK is designed to scan and repair your Windows computer for file system corruptions or bad sectors, not fix or recover corrupt files themselves.
There are tools available on the internet, including Office Recovery, where you upload a corrupted file for the website to attempt to repair. However, they are limited to specific file formats.
You can try to fix a corrupted DOCX file by using Microsoft Word’s built-in repair feature. To do this, launch Microsoft Word and go to File > Open > select your corrupted DOCX file > choose Open and Repair. You can also try out third-party DOCX file repair tools online. However, both Microsoft Word and third-party tools don’t guarantee 100% successful recovery.
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