How to recover corrupted files / lost files from corrupt or accidentally formatted USB devices.
Posted on Thu, 13 Feb 2014 06:16:26 +0100
The issue of files getting lost or corrupted is a hot topic on many online forums. At some point or the other, you might have lost a file to accidental deletion, corruption or circumstances you can't explain. I myself recall those dark days when i would save my favorite songs on my 256MB MP3 player (256MB of then felt like the 100GB of now) and then for reasons unknown, they would just stop playing and I would have to format my beloved MP3 player then start the music hunt from scratch; tragic! If you have been
through a similar or worse experience, then i shall - via this tutorial - explain how to recover corrupted files or lost files so you can say goodbye to such bitter occurences.
What is a corrupted file?
A corrupted file is a computer file that has become unreadable, unusable or inoperable to your computer (be it a laptop / desktop pc, mobile device etc). In other words, your computer can't recognize such a file and thus, tags it as void.
What could cause a file to get corrupt?
Sincerely, there are quite a number of reason why files get corrupted. Common reasons are:
Bug in the Software that created the file: The software which created the file in question might have experienced a runtime error while saving or creating the file.
Virus or Malware: Malware or virus might corrupt certain programs or damage the file system itself. For this reason, new or exixting files might experience a modification which would leave them corrupted.
Error occuring during file access: This usually occurs when an external storage device (SD Card, USB stick, External Hard Disk etc) is suddenly disconnected from your computer while actively in use or without using the safely remove or eject option.
Error occuring during reading, storage, writing, transmission or processing of files: Interruption of data transmission ( like a poor wireless connection or environmental conditions like rain) and hardware / software failure are also common causes of corrupted files.
Power outages or other power-related problems.
Hardware problems or failures i.e hard drive failures, bad sectors, bad RAM, and the likes.
Crash dumps or poor programming which could result in a hard restart or incorrectly saved data.
how do i know if a file is corrupted ?
File corruption could either be of the detected or undetected type. The detected types are the ones you would usually notice due to error messages while the undetected types are silent (could be dangerous) alterations which still leave the file undamaged. There are some general indicators of a corrupted file:
If you try to run or open the file using a program which should be able to read it but can't or you get an error message then the file is likely corrupted.
If you try to delete the file and your computer pops up a '...could not recognize...' error message and isn't able to delete the file then the file is likely corrupted.
A checksum can also be used to identify a corrupt file.
My files just vanished without me deleting them, why?
It is possible they have been accidentally deleted or hidden from you either by a malware or by a user of the computer.
Why do my files keep getting corrupt whenever i try to move them?
This mostly points to an already corrupt or damaged storage device (SD card, USB stick, HDD etc). It is important your repair the storage device ( See: How to fix / repair corrupt memory card, SD card or USB drive ) which you have been attempting to tranfer your files to without success
How do i prevent my files from getting corrupted ?
Avoid forced-shutdowns i.e shutting down by holding down the power button.
Ensure to use the 'safely remove' or 'eject' option before disconnecting a USB device.
Whenever you get an error while trying to run a file, ensure to troubleshoot.
Be wary of the kinds of software you install ( PC optimizers, RAM boosters etc).
How do i prevent my files from getting lost ?
The most reliable approach is to frequently backup your files to an external storage device ( SD Card, USB stick, external HDD etc) for easy retrieval in case of data loss. Also, avoid using SHIFT+DEL on your PC, use just DEL instead so that deleted files will be sent to the Recycle bin from which they can easily be restored.
Can corrupt files harm my device?
This would depend on the file in question. If the corrupted file is an important OS file, or a file corrupted by a virus then you might want to have the issue rectified asap because your PC is at risk. If however it is just some media file which got corrupted due to improper handling then its harmless to your PC, you only lose the file.
How can i recover corrupted files / lost files?
Data recovery comes in very handy when you find yourself in such a mess. Here are a few good methods:
How to recover files turned to shortcuts by the recycler virus: The recycler virus is responsible for those times when all your files get replaced by their shortcuts which would all be the same size alongside some other shorcuts like porn, sexy etc. To fix this:
Connect the storage device to a safe PC and wait for it to be recognized
Open 'My Computer' and note the storage device's drive letter (e.g I , G or H)
Press your windows button and search for cmd.exe
Right-click on it and run it as admin
In the command prompt environment, type cd then press enter
Type G: and press enter (where G is the drive letter from step 2 above)
Type attrib -r -a -s -h /s /d and press enter *Note: put a space between -r and -a and -s ......
Wait for the process to finish running then go to your storage device
All your files should have been returned.
Delete a folder called recycler
How to show hidden files: It is possible that your files have been hidden from view either by another user or a malware. To show hidden files:
Tap the windows button or click the start button.
Search for Folder Options.
Click it when found.
Click the View tab.
Tick or check Show hidden files, folders and drives .
Click OK then Apply
How to search for a file using its extension: Its possible that the files are still on your computer but their locations have changed. You can search for a file using its extension (last 3 characters after the "." in the file name). To do this:
Tap the windows button or click the start button.
Search for .avi for movies of type avi
A list of .avi movies will be shown to you
Click 'See more' to view all .avi files
You could search for .mp4 , .mp3 , .jpg , .3gp etc
How to recover lost files using data recovery software: Data Recovery Software can help you recover lost files even after they have been deleted and the drive formatted. You can try Icare Data Recovery or TestDisk .
How can i repair corrupted files?
There are a number of approaches you could apply to repair corrupt files. One valuable tool in repairing corrupt OS files is the SFC / SCANNNOW command. to run it:
Press the windows button or click the start menu.
Search for cmd.exe .
Right-click on it and run as Administrator.
Click Yes or enter your Admin password if prompted for it.
Type SFC /SCANNOW *Note: Ensure to leave a space between SFC and /.
Your files will then be scanned and repaired if necessary. It may take 10 or 20 minutes, depending on your system.
Sometimes, files aren't saved with the correct file extension after download or transfer. For example, a movie file (.avi) might have been saved as .txt. Changing the file extension of such a file could fix the issue. Also, File-repair is a good tool but if it can't repair a file of your choice then it means you need a file-format specific repair tool. You can request for such a tool at our Forum ( Device Clinic and Solutions Zone ) and ensure to state the file type you wish to repair.
Hovatek....just a button away!
If you have an unanswered question or need further assistance, then feel free to speak with us via:
How to share an internet connection / data plan / megabytes between Android and PC
The Android phone and PC (for a lot of people) are still major consumer of megabytes compared to the Blackberry's data consumption. For those who have both an Android phone and a PC, there comes the challenge of having to subscribe for data plans on both phones which is an extra cost. With thi.... Read more
How to make an Android phone's battery last longer
So you're rocking your Android phone and just at the peak of it all, you get that familiar beep; 15% of battery remaining. Next thing you know, 4% remaining and then the phone shuts down. Not a pretty experience is it? The Android platform is packed with a lot to enjoy but the battery hardly e.... Read more
How to unlock the iPhone
So you just bought an iPhone or had one sent to you from abroad only to insert you SIM card and BAM! The "SIM card not detected" or "no SIM card detected" error greets you. This could be rather confusing and frustrating to say the least so in this guide, i'll be breaking down .... Read more
How to fix a bricked Android device
I recall when I got my first Android phone. I was so excited by this new platform and what it had under the hood. I began downloading heavily like most new Android users would but then, downloading just didn't feel enough. I graduated to .... Read more
How to fix / repair a corrupt, nuked or crashed Blackberry Operating System Software (OS).
A crashed , nuked or corrupt Blackberry operating system is nothing out of the blues so don't panic if you find yourself in such a situation; afterall, its something you are
most likely to come across sooner or later as you use your Blackberry anyway. I, for one, have lost count of how many.... Read more
Go through our archive of tutorials for PCs, mobile devices, tablets and security tips