Page 1 of 2

Problem recovering files

Posted: 14 Jun 2015, 20:10
by Frankie97
Hi everyone:
I have the following problem.I run Photorec or its beta on a 32 bit Windows without antivirus and without firewall and it shows the following error(image).Please.Can you tell me why and how to fix it?
If I run it on a 64 bit Windows,it works...
Thanks a lot in advance

Re: Problem recovering files

Posted: 15 Jun 2015, 08:34
by cgrenier
Can you try with version 7.0 or 7.1-WIP ?

Re: Problem recovering files

Posted: 15 Jun 2015, 09:34
by Frankie97
I have tried both :(
And also I tried open it as Admin.

Re: Problem recovering files

Posted: 16 Jun 2015, 11:07
by Frankie97
I wonder if there is another solution...

Re: Problem recovering files

Posted: 20 Jun 2015, 16:23
by Frankie97
Please...anybody can help me??
It's very urgent!!!
The image I used is from other topic...I have used 7.0 and 7.1 and I have the same problem.

Re: Problem recovering files

Posted: 24 Jun 2015, 06:43
by cgrenier
What is the filesystem type of the destination ? FAT32, NTFS ?
If it's FAT32, can you try with an NTFS destination ?

Can you run "photorec_win /log" and post the last lines of the photorec.log file ?

Re: Problem recovering files

Posted: 24 Jun 2015, 11:32
by Frankie97
It worked!!!
I rebooted the system and it worked...Thank you very much. :D

Re: Problem recovering files

Posted: 24 Jun 2015, 19:32
by Frankie97
I talked very soon :(
It didn't work.
How can I run photorec.exe /log?
I selected NTFS, and it's 32 bits...I would have to select Unknown?
I don't know why it works on 64 bits and on 32 bits not...I'm going to tell you all the process:
1-I deactive antivirus and firewall
2-I open photorec.exe as admin
3-I choose Drive C:
4-I choose NTFS
5-I choose Other
6-I choose Whole
7-I choose the directory
8-The error appears
Sorry and thanks in advance

Re: Problem recovering files

Posted: 25 Jun 2015, 06:33
by cgrenier
Start "cmd" as administrator (right click run as administrator)
Go in the directory where photorec is, ie "cd testdisk-7.1-WIP".
Use "dir" to list the files to verify it's ok.
Type "photorec_win.exe /log".
Try to reproduce the problem, please send me the photorec.log file created in the same directory.

Re: Problem recovering files

Posted: 25 Jun 2015, 18:13
by Frankie97
Using locale 'C.UTF-8'.


Thu Jun 25 18:44:56 2015
Command line: PhotoRec /log

PhotoRec 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, ewf lib: 20120504, libjpeg: libjpeg-turbo-1.3.1, curses lib: ncurses 5.9

Using locale 'C.UTF-8'.


Thu Jun 25 18:52:48 2015
Command line: PhotoRec /log

PhotoRec 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, ewf lib: 20120504, libjpeg: libjpeg-turbo-1.3.1, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=320072933376
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Funci?n incorrecta.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Funci?n incorrecta.

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=320070483968
filewin32_getfilesize(\\.\D:) GetFileSize err Funci?n incorrecta.

filewin32_setfilepointer(\\.\D:) SetFilePointer err Funci?n incorrecta.

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
Hard disk list
Disk /dev/sda - 320 GB / 298 GiB - CHS 38913 255 63 (RO), sector size=512
Drive C: - 320 GB / 298 GiB - CHS 38913 255 63 (RO), sector size=512

Load parameters from C:\Users\admin\photorec.cfg
Partition table type (auto): None
Unknown 0 0 1 38913 5 4 625137664 [Whole disk]
P NTFS 0 0 1 38913 5 4 625137664
NTFS, blocksize=4096, 320 GB / 298 GiB

Interface File Select
23 first-level signatures enabled

Analyse
P NTFS 0 0 1 38913 5 4 625137664
NTFS, blocksize=4096, 320 GB / 298 GiB
Pass 0 (blocksize=512) STATUS_FIND_OFFSET
blocksize=4096, offset=0
Elapsed time 0h00m07s
Pass 1 (blocksize=4096) STATUS_EXT2_OFF
Cannot create file //recup_dir.1/f0000496.jpg: No such file or directory
PhotoRec has been stopped
Elapsed time 0h00m21s
Pass 1 +0 file
jpg: 0/10 recovered
Total: 0 file found

625137664 sectors contains unknown data, 10 invalid files found and rejected.