Project 6: Photorec (10 Points)

What You Need for This Project

Dowloading the Image File

Right-click the link below and save the file on your desktop. This is a forensic image from a digital camera which contains deleted images. It was originally posted on, but it vanished from there so I put a copy on my own website.

Preparing the Data Directories

Create a new folder on the root of C: with your name on it: C:\YOURNAME

Copy the nps-2009-canon2-gen6.dd file into the C:\YOURNAME folder.

Create another new folder on the root of C: with your name on it followed by a 2: C:\YOURNAME2

Downloading PhotoRec

On your Windows machine, in a Web browser, go to

Click the green "TestDisk 7.0 Free Download" button.

Click Start, Computer. Navigate to the folder you downloaded that file into, which is probably the Downloads folder.

Right-click the downloaded file and click "Extract All..", Extract.

Drag the testdisk-7.0-WIP folder and drop it on the root of C:, as shown below.

Click Start, type CMD, and press Shift+Ctrl+Enter to open an Administrator Command Prompt.

Execute these commands, changing the foldername in the second command to the name you assigned to your folder:

cd \testdisk-7.0-WIP

photorec_win C:\YOURNAME\nps-2009-canon2-gen6.dd

A Command Prompt window opens with a text-only Photorec interface, as shown below:

Click in the Photorec window, and press Enter to accept the default selection of the nps-2009-canon2-gen6.dd file.

The next screen asks you which partition to search, as shown below. Press Enter again to accept the default selection.

The next window asks what the file system is. It's usually FAT for Canon SD cards, so press Enter to accept the default choice.

In the next window, press Enter to search unallocated space only. We don't need to recover the images that are still intact.

The next window asks where to store the recovered files. This is a really clumsy interface--press the left-arrow key once on the keyboard to move to C: and press the down-arrow key till the C:\YOURNAME2 folder is highlighted, as shown below. Then press Enter.

In the next window, press C.

The files are recovered, and listed as shown below:

Saving a Screen Image

Make sure your screen shows "4 files saved", as shown above.

Press the PrintScrn key in the upper-right portion of the keyboard. That will copy the whole desktop to the clipboard.


Open Paint and paste in the image.

Save the image with the filename "Your Name Proj 6". Use your real name, not the literal text "Your Name".

Viewing the Recovered Files

Click Start, Computer.

Open the C:\YOURNAME2\recup_dir.1 folder.

You see four recovered images, a report, and four thumbnail versions, as shown below.

Turning in your Project

Email the image to me as an attachment to an e-mail message.

Send it to: with a subject line of "Proj 6 From Your Name", replacing "Your Name" with your own first and last name.

Send a Cc to yourself.

Last Modified: 3-16-15 8:16 PM