recover deleted files
Archived posts from this Category
Archived posts from this Category
Posted by admin on 29 May 2012 | Tagged as: recover deleted files
In this guide we are going to discuss how to recover deleted files using PhotoRec. Please be forewarned that this is a comprehensive guide designed to be both: easy to follow and effective. It is not the shortest guide out there; however, if you follow it carefully there is a fairly good chance that you will be able to recover your deleted files successfully.
For those who don’t know, PhotoRec is an open source data recovery program created by CGSecurity and is the companion program to TestDisk (a comprehensive software package which can recover deleted files, recover lost partitions, fix non-bootable hard drives … etc.). Although it sounds as if PhotoRec specializes in digital photo recovery, in actuality, it is capable of recovering a vast array of deleted file types.
Before we describe the actual process of how to recover deleted files using PhotoRec we want to provide a few warnings. Please read these warnings carefully.
If you wish to know more about any of this information then please take a look through our article: Deleted File Recovery: Do’s and Don’ts. It discusses a number of important concepts which highlight the ways in which deleted files can be lost permanently (something no one wants).
For computer novices: Don’t worry excessively! As long as you follow along closely there is minimal chance anything will go wrong!
The first thing you have to do is decide where the deleted files you wish to recover are located as this will help determine which section of our guide you will follow. The most common locations for deleted files are:
Option 1: Read How to Recover Deleted Files from the Recycle Bin or Local Hard Drive – Unsafe Method if:
Option 2: Read How to Recover Deleted Files from the Recycle Bin or Local Hard Drive – Safe Method if:
Option 3: Read How to Recover Deleted Files from an SD card, USB, External Hard Drive, or CD/DVD if:
This particular guide assumes that you are attempting to recover a deleted file from the recycle bin or from somewhere on your local hard drive (C: drive). It is important to note that this guide is unsafe since it requires you to work with the computer where the deleted files reside; this creates a situation whereby deleted files can, potentially, become permanently lost! If your data is absolutely critical then we recommend that you read How to Recover Deleted Files from the Recycle Bin or Local Hard Drive – Safe Method instead. If some risk is satisfactory then proceed…
What you will need:
Table of Contents
1) Download PhotoRec onto PC-OTH
3) Put PhotoRec onto your USB key
4) Connect your USB key and External Hard Drive to PC-DEL
10) Recovering Files to your External Hard Drive
1-1) Log onto PC-OTH. Just as a reminder: PC-OTH refers to any working computer where the deleted files do not reside.
1-2) Open up a web browser (Firefox, IE, Google Chrome …).
1-3) Head over to the PhotoRec website and download PhotoRec. You can access the download page for PhotoRec here; just make sure to download the latest normal version as opposed to the latest beta version (look for the section which is not labelled “Beta”).
You might have noticed that PhotoRec is in fact a compressed/zipped file. In order to make use of it we need to uncompress/unzip it. In order to do that:
2-1) Right-click on the zipped file which you downloaded in step 1-3.
2-2) Select Extract All…
2-3) Click on the Browse button, click on Desktop (because we want to save everything to the desktop), and click the Ok button.
2-4) Click Extract
2-5) At this point you should see a new folder on your desktop; inside it should be a number of files including photorec_win.exe. Rename this folder: PhotoRec Program Folder.
3-1) Take your USB key and plug it into PC-OTH.
3-2) Drag the folder, which you just named PhotoRec Program Folder in step 2-5, onto the USB key.
3-3) Take your USB key out of PC-OTH.
4-1) Take your USB key and plug it into PC-DEL. Just as a reminder: PC-DEL refers to the computer where the deleted files do reside.
4-2) Take your external hard drive, plug it into PC-DEL, and turn it on.
4-3) Once the external hard drive has loaded, open it and create a folder on it; this folder will hold our recovered files so we will name it: Recovered Deleted Files Folder.
5-1) Open up your USB key, then open up the folder named PhotoRec Program Folder, then finally, double click on photorec_win.exe.
6-1) Select your local hard drive using the up and down arrow keys on your keyboard. If you are uncertain which device is your local hard drive then follow this simple procedure:
6-2) Once the local hard drive has been selected hit the Enter key.
7-1) Select the partition where the deleted files reside using the up and down arrow keys on your keyboard. Generally, you don’t have to worry about this step as the partition is automatically selected. Therefore, simply head down to step 7-2.
7-2) Hit the Enter key.
8-1) Select the file system of your local hard drive using the up and down arrow keys on your keyboard. Generally, you don’t have to worry about this step as the file system is automatically selected. If you do need to choose a file system and are uncertain which one to choose then follow this simple procedure:
8-2) Once the file system of the local disk has been selected hit the Enter key.
9-1) Select the option labeled Free using the up and down arrow keys on the keyboard. This tells PhotoRec that we only want to look for deleted files!
9-2) Hit the Enter key.
This is an extremely important step – Please follow along carefully! At this stage we want to make sure that the recovered files will be saved to your external hard drive (we do not want the recovered files saved to PC-DEL: the computer where the deleted files reside).
Assuming you followed all of the previous steps correctly, PhotoRec (by default) will want to save your recovered files to the PhotoRec Program Folder located on your USB key. What we actually want is to save our recovered files to the folder named Recovered Deleted Files Folder which we created on our external hard drive (in step 4-3). Therefore, perform the following steps …
10-1) Hit the left arrow key on your keyboard. This should move you up one level in the directory and allow you to view what is on your USB key.
10-2) Hit the left arrow key on your keyboard again. This should move you up one more level in the directory and allow you to see all of the devices connected to PC-DEL.
10-3) Select your external hard drive using the up and down arrow keys on your keyboard. If you don’t know which device corresponds with your external hard driven then follow this simple procedure:
10-4) Once the external hard drive has been selected hit the Enter key..
10-5) Select the folder named Recovered Deleted Files Folder using the up and down arrow keys on your keyboard.
10-6) Hit the Enter key. This takes us inside the folder named Recovered Deleted Files Folder!
10-7) Click the letter C on your keyboard to start the recovery process.
10-8) Wait as PhotoRec attempts to recover your deleted files. Please remember that this may take a while!
10-9) Once PhotoRec has finished recovering your deleted files you can close it by clicking on the red X in the top right corner.
11-1) Within the Windows environment, open up the folder named Recovered Deleted Files Folder which should be located on your external hard drive.
11-2) Open the folder named recup_dir – this folder was automatically created by PhotoRec. If you happen to have a bunch of recup_dir folders simply open the one with the largest number appended to it.
11-3) Search for your deleted files. As mentioned previously, PhotoRec does not preserve file names; therefore, you are going to need to do a bit of digging (opening up files to see their contents). There are 2 ways to make your search a little easier:
If you were able to recover your deleted files GREAT!
If you were unable to recover your deleted files then you have several choices:
This particular guide assumes that you are attempting to recover a deleted file from the recycle bin or from somewhere on your local hard drive (C: drive). It is important to note that this guide is safe; your deleted files can not be permanently lost by following it! This is because you are going to be recovering from your local hard drive as if it was a USB key, making sure that no new files have a chance to permanently overwrite your deleted files.
What you will need:
Table of Contents
1) Convert your Local Hard Drive to a USB
1-1) Convert the local hard drive, where the deleted files do reside, into a USB and connect it to a working computer where the deleted files do not reside. In order to do so read our article: how to convert a hard drive to a USB.
2-1) Follow the sub-guide: How to Recover Deleted Files from an SD card, USB, External Hard Drive, or CD/DVD as if you were recovering deleted files from a normal USB (think of the local hard drive, which you converted to a USB in step 1, as a normal USB). Note that step 1 of the sub-guide is redundant as you have likely already attached the local hard drive (now USB) to a working computer.
3-1) Put your local hard drive, which you converted to a USB in step 1, back into the computer from where it originally came from.
This particular guide assumes that you are attempting to recover a deleted file from an SD card, USB key, external hard drive, or CD/DVD. It is important to note that this guide is safe; your deleted files can not be permanently lost by following it!
What you will need:
Table of Contents
1) Attach the Device with the Deleted Files to PC-REC
2) Create a Recovery Folder on PC-REC
10) Recovering Files to PC-REC
1-1) Attach the device where your deleted files do reside to PC-REC. Just as a reminder: PC-REC refers to any working computer where the deleted files do not reside.
2-1) Log onto PC-REC and create a new folder on the desktop named Recovered Deleted Files Folder. Initially this folder will be empty; however, we will fill it with recovered files shortly.
3-1) Open up a web browser (Firefox, IE, Google Chrome …).
3-2) Head over to the PhotoRec website and download PhotoRec. You can access the download page for PhotoRec here; just make sure to download the latest normal version as opposed to the latest beta version (look for the section which is not labelled “Beta”).
You might have noticed that PhotoRec is in fact a compressed/zipped file. In order to make use of it we need to uncompress/unzip it. In order to do that:
4-1) Right-click on the zipped file which you downloaded in step 3-2.
4-2) Select Extract All…
4-3) Click on the Browse button, click on Desktop (because we want to save everything to the desktop), and click the Ok button.
4-4) Click Extract
4-5) At this point you should see a new folder on your desktop; inside it should be a number of files including photorec_win.exe. Rename this folder: PhotoRec Program Folder.
5-1) Open up the folder you created in step 4-5, named PhotoRec Program Folder, and double click on photorec_win.exe.
6-1) Select the device where the deleted files reside using the up and down arrow keys on your keyboard. If you are uncertain which device you should select follow this simple procedure:
6-2) Once the device, where the deleted files reside, has been selected hit the Enter key.
7-1) Select the partition where the deleted files reside using the up and down arrow keys on your keyboard. Generally, you don’t have to worry about this step as the partition is automatically selected. If you do need to choose a partition and are uncertain which one to choose then follow this simple procedure:
7-2) Once the partition, where the deleted files reside, has been selected hit the Enter key.
8-1) Select the file system of the device where the deleted files reside using the up and down arrow keys on your keyboard. Generally, you don’t have to worry about this step as the file system is automatically selected. If you do need to choose a file system and are uncertain which one to choose then follow this simple procedure:
8-2) Once the file system of the device, where the deleted files reside, has been selected hit the Enter key.
9-1) Select the option labeled Free using the up and down arrow keys on the keyboard. This tells PhotoRec that we only want to look for deleted files!
9-2) Hit the Enter key.
This is an extremely important step – Please follow along carefully! At this stage we want to make sure that the recovered files will be saved to PC-REC (we do not want the recovered files saved to the device where the deleted files do reside).
Assuming you followed all of the previous steps correctly, PhotoRec (by default) will want to save your recovered files to the PhotoRec Program Folder which is located on the Desktop. What we actually want is to save our recovered files to the folder named: Recovered Deleted Files Folder which we created in step 2-1. Therefore, perform the following steps …
10-1) Hit the left arrow key on your keyboard. This should move you up one level in the directory and allow you to view what is on your desktop.
10-2) Select the folder named Recovered Deleted Files Folder using the up and down arrow keys on your keyboard.
10-3) Hit the Enter key. This takes us inside the folder named Recovered Deleted Files Folder!
10-4) Click the letter C on your keyboard to start the recovery process.
10-5) Wait as PhotoRec attempts to recover your deleted files. Please remember that this may take a while!
10-6) Once PhotoRec has finished recovering your deleted files you can close it by clicking on the red X in the top right corner.
11-1) Within the Windows environment, Open up the folder named Recovered Deleted Files Folder which should be located on your Desktop.
11-2) Open the folder named recup_dir – this folder was automatically created by PhotoRec. If you happen to have a bunch of recup_dir folders simply open the one with the largest number appended to it.
11-3) Search for your deleted files. As mentioned previously, PhotoRec does not preserve file names; therefore, you are going to need to do a bit of digging (opening up files to see their contents). There are 2 ways to make your search a little easier:
If you were able to recover your deleted files GREAT!
If you were unable to recover your deleted files then you have several choices:
By now you have either recovered your deleted files using PhotoRec or you were unsuccessful doing so.
If PhotoRec was able to recover your deleted files then you are done. The only thing we can recommend is that, in the future, you always make sure to back up your files whether they are on an SD card, USB key, external hard drive, CD, DVD, or local hard drive. Having files in a number of locations is extremely wise and will prevent the need for worrisome data recovery.
If PhotoRec was unable to recover your deleted files then you have a number of options which we touched upon above. As a quick refresher, you can either:
Hopefully this comprehensive article, detailing how to recover deleted files using PhotoRec, has been useful. If you have any questions then feel free to email us – Seymour Computer Repair – or leave a comment. Furthermore, if you need to recover deleted files, we just might be able to help!