Error 0x8000FFFF

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
Buheal
Posts: 2
Joined: 25 Jul 2019, 20:52

Error 0x8000FFFF

#1 Post by Buheal »

Hi!

Since today morning Windows is showing the "Error 0x8000FFFF" message whenever I try to create a file on my HDD.
I've ran TestDisk and followed some tips from this forum, but I still cannot modify or create any file on this HDD.
I still can view my files tho. I'm posting the TestDisk log.

Code: Select all

Thu Jul 25 16:43:40 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=120040980480
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdf)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120040980480
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive1
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive2
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive3
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive4
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive5)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=119170064896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=1000200175616
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=0
Warning: can't get size for \\.\H:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14594 255 63, sector size=512 - WDC WDS120G2G0A-00JH30, S/N:1838B9801638, FW:UE450000
Disk /dev/sdf - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000DM010-2EP102, S/N:Z9APWKKC, FW:CC43

Partition table type (auto): Intel
Disk /dev/sdf - 1000 GB / 931 GiB - ST1000DM010-2EP102
Partition table type: Intel

Analyse Disk /dev/sdf - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 63/221/31
Error: size boot_sector 1953515969 > partition 1953515968
check_part_i386 failed for partition type 07
Current partition structure:
Error: size boot_sector 1953515969 > partition 1953515968
Invalid NTFS or exFAT boot
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
No partition is bootable



Thu Jul 25 16:44:43 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0



Thu Jul 25 16:45:14 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 6.4, Cygwin 2009.0
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=120040980480
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdf)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120040980480
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive1
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive2
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive3
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Função incorreta.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Função incorreta.

Warning: can't get size for \\.\PhysicalDrive4
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive5)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=119170064896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=1000200175616
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=0
Warning: can't get size for \\.\H:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14594 255 63, sector size=512 - WDC WDS120G2G0A-00JH30, S/N:1838B9801638, FW:UE450000
Disk /dev/sdf - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000DM010-2EP102, S/N:Z9APWKKC, FW:CC43

Partition table type (auto): Intel
Disk /dev/sdf - 1000 GB / 931 GiB - ST1000DM010-2EP102
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
NTFS at 63/221/31
Error: size boot_sector 1953515969 > partition 1953515968
check_part_i386 failed for partition type 07
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
Error: size boot_sector 1953515969 > partition 1953515968
file_pread(5,1,buffer,1954542015(121664/156/28)) lseek err Invalid argument
filesystem size           1953515969 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Error: size boot_sector 1953515969 > partition 1953515968
Status: Bad

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
rebuild_NTFS_BS
mft at 16
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: sectors_per_cluster 8
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: mft_record_size     1024 bytes
ntfs_find_mft: index_block_size    4096
             New / Current boot sector
filesystem size           1953515968 1953515969
sectors_per_cluster       8 8
mft_lcn                   786432 786432
mftmirr_lcn               2 2
clusters_per_mft_record   -10 -10
clusters_per_index_record 1 1
Extrapolated boot sector and current boot sector are different.
filesystem size           1953515968 1953515969
sectors_per_cluster       8 8
mft_lcn                   786432 786432
mftmirr_lcn               2 2
clusters_per_mft_record   -10 -10
clusters_per_index_record 1 1

Directory /
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 .
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 ..
      57 dr-xr-xr-x     0      0         0 13-Dec-2018 16:01 $Recycle.Bin
   77256 dr-xr-xr-x     0      0         0 12-Dec-2018 16:12 $WINDOWS.~BT
   82130 dr-xr-xr-x     0      0         0 12-Oct-2017 12:43 Arquivos de Programas
  186809 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Config.Msi
   48542 dr-xr-xr-x     0      0         0 10-Jul-2015 09:21 Documents and Settings
  171951 dr-xr-xr-x     0      0         0  9-Dec-2018 17:55 ESD
  800710 dr-xr-xr-x     0      0         0 23-Mar-2019 09:07 Games
   11314 dr-xr-xr-x     0      0         0 18-Feb-2018 09:40 HammerAutosave
  103735 dr-xr-xr-x     0      0         0 14-Sep-2018 10:08 Intel
  105546 dr-xr-xr-x     0      0         0 13-Jun-2018 13:13 NVIDIA
   82917 dr-xr-xr-x     0      0         0  4-Dec-2017 15:42 PaintToolSAI
  574666 dr-xr-xr-x     0      0         0 11-Apr-2018 20:38 PerfLogs
  574744 dr-xr-xr-x     0      0         0 12-Dec-2018 17:38 Program Files
  645665 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Program Files (x86)
  645959 dr-xr-xr-x     0      0         0 10-Dec-2018 15:46 ProgramData
  971998 dr-xr-xr-x     0      0         0 17-Jul-2018 20:26 Recovery
   81702 dr-xr-xr-x     0      0         0 25-Jul-2019 14:21 System Volume Information
   59872 dr-xr-xr-x     0      0         0 12-Dec-2018 16:03 Temp
  646591 dr-xr-xr-x     0      0         0 15-Oct-2018 08:23 Users
  646815 dr-xr-xr-x     0      0         0  7-Dec-2018 18:02 Windows
  639325 dr-xr-xr-x     0      0         0 17-Aug-2018 12:12 boot
   52270 dr-xr-xr-x     0      0         0 26-Nov-2017 13:39 hyperrealistic
  631462 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project7
  627614 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project8
   98005 dr-xr-xr-x     0      0         0 13-Oct-2017 10:08 zika
   55392 dr-xr-xr-x     0      0         0  6-Dec-2017 20:06 zika reload
  797316 -r--r--r--     0      0      4038  7-Mar-2019 11:51 $roger.png
   19936 -r--r--r--     0      0         1 10-Jul-2015 08:00 BOOTNXT
   77372 -r--r--r--     0      0    441880 17-Aug-2018 12:12 Reflect_Install.log
      20 -r--r--r--     0      0        80 15-Sep-2018 08:19 bootTel.dat
   20666 -r--r--r--     0      0    395268 10-Jul-2015 08:00 bootmgr
  117710 -r--r--r--     0      0 8533020672 12-Dec-2018 16:19 hiberfil.sys
  102010 -r--r--r--     0      0 4294967296 12-Dec-2018 16:01 pagefile.sys
   81718 -r--r--r--     0      0 268435456 12-Dec-2018 16:01 swapfile.sys
filesystem size           1953515968 1953515969
sectors_per_cluster       8 8
mft_lcn                   786432 786432
mftmirr_lcn               2 2
clusters_per_mft_record   -10 -10
clusters_per_index_record 1 1
Write new boot!
file_pwrite(5,1,buffer,1954542015(121664/156/28)) seek err Invalid argument
Write error: Can't write new NTFS backup boot sector

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
file_pread(5,1,buffer,1954542015(121664/156/28)) lseek err Invalid argument
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

Directory /
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 .
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 ..
      57 dr-xr-xr-x     0      0         0 13-Dec-2018 16:01 $Recycle.Bin
   77256 dr-xr-xr-x     0      0         0 12-Dec-2018 16:12 $WINDOWS.~BT
   82130 dr-xr-xr-x     0      0         0 12-Oct-2017 12:43 Arquivos de Programas
  186809 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Config.Msi
   48542 dr-xr-xr-x     0      0         0 10-Jul-2015 09:21 Documents and Settings
  171951 dr-xr-xr-x     0      0         0  9-Dec-2018 17:55 ESD
  800710 dr-xr-xr-x     0      0         0 23-Mar-2019 09:07 Games
   11314 dr-xr-xr-x     0      0         0 18-Feb-2018 09:40 HammerAutosave
  103735 dr-xr-xr-x     0      0         0 14-Sep-2018 10:08 Intel
  105546 dr-xr-xr-x     0      0         0 13-Jun-2018 13:13 NVIDIA
   82917 dr-xr-xr-x     0      0         0  4-Dec-2017 15:42 PaintToolSAI
  574666 dr-xr-xr-x     0      0         0 11-Apr-2018 20:38 PerfLogs
  574744 dr-xr-xr-x     0      0         0 12-Dec-2018 17:38 Program Files
  645665 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Program Files (x86)
  645959 dr-xr-xr-x     0      0         0 10-Dec-2018 15:46 ProgramData
  971998 dr-xr-xr-x     0      0         0 17-Jul-2018 20:26 Recovery
   81702 dr-xr-xr-x     0      0         0 25-Jul-2019 14:21 System Volume Information
   59872 dr-xr-xr-x     0      0         0 12-Dec-2018 16:03 Temp
  646591 dr-xr-xr-x     0      0         0 15-Oct-2018 08:23 Users
  646815 dr-xr-xr-x     0      0         0  7-Dec-2018 18:02 Windows
  639325 dr-xr-xr-x     0      0         0 17-Aug-2018 12:12 boot
   52270 dr-xr-xr-x     0      0         0 26-Nov-2017 13:39 hyperrealistic
  631462 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project7
  627614 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project8
   98005 dr-xr-xr-x     0      0         0 13-Oct-2017 10:08 zika
   55392 dr-xr-xr-x     0      0         0  6-Dec-2017 20:06 zika reload
  797316 -r--r--r--     0      0      4038  7-Mar-2019 11:51 $roger.png
   19936 -r--r--r--     0      0         1 10-Jul-2015 08:00 BOOTNXT
   77372 -r--r--r--     0      0    441880 17-Aug-2018 12:12 Reflect_Install.log
      20 -r--r--r--     0      0        80 15-Sep-2018 08:19 bootTel.dat
   20666 -r--r--r--     0      0    395268 10-Jul-2015 08:00 bootmgr
  117710 -r--r--r--     0      0 8533020672 12-Dec-2018 16:19 hiberfil.sys
  102010 -r--r--r--     0      0 4294967296 12-Dec-2018 16:01 pagefile.sys
   81718 -r--r--r--     0      0 268435456 12-Dec-2018 16:01 swapfile.sys

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
file_pread(5,1,buffer,1954542015(121664/156/28)) lseek err Invalid argument
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
rebuild_NTFS_BS
mft at 16
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: sectors_per_cluster 8
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: mft_record_size     1024 bytes
ntfs_find_mft: index_block_size    4096
Extrapolated boot sector and current boot sector are identical.
filesystem size           1953515968
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1

Directory /
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 .
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 ..
      57 dr-xr-xr-x     0      0         0 13-Dec-2018 16:01 $Recycle.Bin
   77256 dr-xr-xr-x     0      0         0 12-Dec-2018 16:12 $WINDOWS.~BT
   82130 dr-xr-xr-x     0      0         0 12-Oct-2017 12:43 Arquivos de Programas
  186809 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Config.Msi
   48542 dr-xr-xr-x     0      0         0 10-Jul-2015 09:21 Documents and Settings
  171951 dr-xr-xr-x     0      0         0  9-Dec-2018 17:55 ESD
  800710 dr-xr-xr-x     0      0         0 23-Mar-2019 09:07 Games
   11314 dr-xr-xr-x     0      0         0 18-Feb-2018 09:40 HammerAutosave
  103735 dr-xr-xr-x     0      0         0 14-Sep-2018 10:08 Intel
  105546 dr-xr-xr-x     0      0         0 13-Jun-2018 13:13 NVIDIA
   82917 dr-xr-xr-x     0      0         0  4-Dec-2017 15:42 PaintToolSAI
  574666 dr-xr-xr-x     0      0         0 11-Apr-2018 20:38 PerfLogs
  574744 dr-xr-xr-x     0      0         0 12-Dec-2018 17:38 Program Files
  645665 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Program Files (x86)
  645959 dr-xr-xr-x     0      0         0 10-Dec-2018 15:46 ProgramData
  971998 dr-xr-xr-x     0      0         0 17-Jul-2018 20:26 Recovery
   81702 dr-xr-xr-x     0      0         0 25-Jul-2019 14:21 System Volume Information
   59872 dr-xr-xr-x     0      0         0 12-Dec-2018 16:03 Temp
  646591 dr-xr-xr-x     0      0         0 15-Oct-2018 08:23 Users
  646815 dr-xr-xr-x     0      0         0  7-Dec-2018 18:02 Windows
  639325 dr-xr-xr-x     0      0         0 17-Aug-2018 12:12 boot
   52270 dr-xr-xr-x     0      0         0 26-Nov-2017 13:39 hyperrealistic
  631462 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project7
  627614 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project8
   98005 dr-xr-xr-x     0      0         0 13-Oct-2017 10:08 zika
   55392 dr-xr-xr-x     0      0         0  6-Dec-2017 20:06 zika reload
  797316 -r--r--r--     0      0      4038  7-Mar-2019 11:51 $roger.png
   19936 -r--r--r--     0      0         1 10-Jul-2015 08:00 BOOTNXT
   77372 -r--r--r--     0      0    441880 17-Aug-2018 12:12 Reflect_Install.log
      20 -r--r--r--     0      0        80 15-Sep-2018 08:19 bootTel.dat
   20666 -r--r--r--     0      0    395268 10-Jul-2015 08:00 bootmgr
  117710 -r--r--r--     0      0 8533020672 12-Dec-2018 16:19 hiberfil.sys
  102010 -r--r--r--     0      0 4294967296 12-Dec-2018 16:01 pagefile.sys
   81718 -r--r--r--     0      0 268435456 12-Dec-2018 16:01 swapfile.sys
filesystem size           1953515968
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
file_pread(5,1,buffer,1954542015(121664/156/28)) lseek err Invalid argument
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.


dir_partition inode=5
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
Directory /
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 .
       5 dr-xr-xr-x     0      0         0 25-Jul-2019 14:26 ..
      57 dr-xr-xr-x     0      0         0 13-Dec-2018 16:01 $Recycle.Bin
   77256 dr-xr-xr-x     0      0         0 12-Dec-2018 16:12 $WINDOWS.~BT
   82130 dr-xr-xr-x     0      0         0 12-Oct-2017 12:43 Arquivos de Programas
  186809 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Config.Msi
   48542 dr-xr-xr-x     0      0         0 10-Jul-2015 09:21 Documents and Settings
  171951 dr-xr-xr-x     0      0         0  9-Dec-2018 17:55 ESD
  800710 dr-xr-xr-x     0      0         0 23-Mar-2019 09:07 Games
   11314 dr-xr-xr-x     0      0         0 18-Feb-2018 09:40 HammerAutosave
  103735 dr-xr-xr-x     0      0         0 14-Sep-2018 10:08 Intel
  105546 dr-xr-xr-x     0      0         0 13-Jun-2018 13:13 NVIDIA
   82917 dr-xr-xr-x     0      0         0  4-Dec-2017 15:42 PaintToolSAI
  574666 dr-xr-xr-x     0      0         0 11-Apr-2018 20:38 PerfLogs
  574744 dr-xr-xr-x     0      0         0 12-Dec-2018 17:38 Program Files
  645665 dr-xr-xr-x     0      0         0 24-Jul-2019 16:59 Program Files (x86)
  645959 dr-xr-xr-x     0      0         0 10-Dec-2018 15:46 ProgramData
  971998 dr-xr-xr-x     0      0         0 17-Jul-2018 20:26 Recovery
   81702 dr-xr-xr-x     0      0         0 25-Jul-2019 14:21 System Volume Information
   59872 dr-xr-xr-x     0      0         0 12-Dec-2018 16:03 Temp
  646591 dr-xr-xr-x     0      0         0 15-Oct-2018 08:23 Users
  646815 dr-xr-xr-x     0      0         0  7-Dec-2018 18:02 Windows
  639325 dr-xr-xr-x     0      0         0 17-Aug-2018 12:12 boot
   52270 dr-xr-xr-x     0      0         0 26-Nov-2017 13:39 hyperrealistic
  631462 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project7
  627614 dr-xr-xr-x     0      0         0 15-Jun-2018 13:15 project8
   98005 dr-xr-xr-x     0      0         0 13-Oct-2017 10:08 zika
   55392 dr-xr-xr-x     0      0         0  6-Dec-2017 20:06 zika reload
  797316 -r--r--r--     0      0      4038  7-Mar-2019 11:51 $roger.png
   19936 -r--r--r--     0      0         1 10-Jul-2015 08:00 BOOTNXT
   77372 -r--r--r--     0      0    441880 17-Aug-2018 12:12 Reflect_Install.log
      20 -r--r--r--     0      0        80 15-Sep-2018 08:19 bootTel.dat
   20666 -r--r--r--     0      0    395268 10-Jul-2015 08:00 bootmgr
  117710 -r--r--r--     0      0 8533020672 12-Dec-2018 16:19 hiberfil.sys
  102010 -r--r--r--     0      0 4294967296 12-Dec-2018 16:01 pagefile.sys
   81718 -r--r--r--     0      0 268435456 12-Dec-2018 16:01 swapfile.sys

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
file_pread(5,1,buffer,1954542015(121664/156/28)) lseek err Invalid argument
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
rebuild_NTFS_BS
mft at 16
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: sectors_per_cluster 8
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         2
ntfs_find_mft: mft_record_size     1024 bytes
ntfs_find_mft: index_block_size    4096
Extrapolated boot sector and current boot sector are identical.
filesystem size           1953515968
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

ntfs_boot_sector
 1 P HPFS - NTFS             63 221 31 121664 156 28 1953515968
NTFS at 63/221/31
filesystem size           1953515968 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               2 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

TestDisk exited normally.
Specs:
Primary HDD with Windows 10 (working fine)
Secondary HDD, also with Windows 10 (above error)

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Error 0x8000FFFF

#2 Post by cgrenier »

Your NTFS partition ends after the end of the disk!

Run TestDisk, Analyse, Quick Search, Stop (if available), use 'a' to manually add an NTFS partition starting at CHS 63 221 31.
Set this partition as *(bootable) and the others (if any) as D(eleted).
On next screen, choose Write and confirm.
In Advanced, select the NTFS partition, choose Boot, RebuildBS, List. If you can see your files, choose Write, confirm, Quit
Restart your computer.

Buheal
Posts: 2
Joined: 25 Jul 2019, 20:52

Re: Error 0x8000FFFF

#3 Post by Buheal »

Thank you! It worked.

Locked