Menu

"Incorrect function" error when trying to encrypt partition

Dani
2017-10-21
2017-10-21
  • Dani

    Dani - 2017-10-21

    I'm a new Veracrypt user. I encrypted my system partition on my SSD and that worked fine. However I get the above error (see attachment) when trying to encrypt one of the two partition on my 1TB harddisk. Either one gives the above error. I've tried checking if there was any issue with the harddisk (HD Tune) but found none. I have not found any solution through Google. Does anyone know what the cause could be?

     

    Last edit: Dani 2017-10-21
  • Dani

    Dani - 2017-10-21

    Thanks for the repsonse. See below for output from both tools. I also added a picture of my partition layout in Windows. The partitions giving me problems are "G" and "M" which are dynamic. In the picture you can see that partition G is formed from two older partitions (I removed another partiition long time ago and extended the G partition). The GetDriveSizeInfo tool seems to give a fail notice for partition G.

    PS G:\DC\Downloads\GetDriveSizeInfo> .\GetDriveSizeInfo.exe G:
    
    Get drive size and alignment information
    Copyright Mounir IDRASSI (mounir@idrix.fr) 2015
    
    Disk Free Space = 0000005570772992 Bytes
    Disk Total Size = 0000463335321600 Bytes
    
    DeviceIoControl failed: 0x000000EA
    PS G:\DC\Downloads\GetDriveSizeInfo> .\GetDriveSizeInfo.exe M:
    
    Get drive size and alignment information
    Copyright Mounir IDRASSI (mounir@idrix.fr) 2015
    
    Disk Free Space = 0000006828474368 Bytes
    Disk Total Size = 0000536864616448 Bytes
    
    Disk Number = 1
    Disk Offset = 0000463338471424
    Disk Length = 0000536864620544
    Drive Serial = S246J90B816693
    Logical sector size = 512
    Physical sector size = 512
    Byte offset for alignment = 0
    
    List connected hard drives using SetupAPI. By Mounir IDRASSI (IDRIX)
    
    Running User Is Admin = FALSE
    
    \\?\PhysicalDrive1 :
    Layout Partition Style = PARTITION_STYLE_MBR
    Layout Parition Count = 4
    Layout MBR Signature = 0x1B961B95
      Partition 1: Type=0x42  StartOffset=32256  Length=1000203805184 - LDM - ERROR 0x00000002
    
    \\?\PhysicalDrive0 :
    Layout Partition Style = PARTITION_STYLE_MBR
    Layout Parition Count = 4
    Layout MBR Signature = 0x0F8600F0
      Partition 1: Type=0x07  StartOffset=1048576  Length=104857600 - IFS - OK
      Partition 2: Type=0x07  StartOffset=105906176  Length=127456509952 - IFS - OK
      Partition 3: Type=0x27  StartOffset=127562416128  Length=471859200 - Unknown (0x00000027) - OK
    
    Type ENTER to quit...
    
     
  • Dani

    Dani - 2017-10-24

    Bump. Any reply would be appreciated.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.