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.
Table of Contents
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.
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.
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.
- Launch Word or any Office product as the steps should be nearly the same.
- Go to the navbar and choose File > Option > Save.
- 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.
- 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.
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.
- Find the folder or file that you want to restore to a previous version of.
- Right-click on the file or folder and select Restore previous versions.
- Select the previous version that you would like to restore to and click Restore.
- 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.
- Launch Settings > Update & Security > Backup.
- 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.
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.
- Download and install Disk Drill for your computer.
- 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.
- Wait for the scanning process to complete. Then proceed to review found items
- 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.
- Check the files that you would like to recover and then choose Recover.
- Choose a path for Disk Drill to recover the corrupted file to.
- You will then be greeted by a confirmation message letting you know that the recovery was successful.
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:
- 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.
- Run the following command:
sfc /scannow
- 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.
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.