locked
IVdsVolumeMF2::FormatEx fails for new discs RRS feed

  • Question

  • IVdsVolumeMF2::FormatEx() always fails for new discs.

    If once formatted using format.com, then further format using IVdsVolumeMF2::FormatEx() is success.

    ErrorCode: 0x80042917

    Wednesday, May 9, 2018 9:01 AM

All replies

  • IVdsVolumeMF2::FormatEx() always fails for new discs.

    If once formatted using format.com, then further format using IVdsVolumeMF2::FormatEx() is success.

    ErrorCode: 0x80042917

    IVdsVolumeMF::GetFileSystemProperties() returns VDS_FST_UNKNOWN for new discs(Fresh)
    Wednesday, May 9, 2018 9:37 AM
  • Hi,

    thanks for posting here.

    >>IVdsVolumeMF2::FormatEx fails for new discs

    Please provide more information about you rnew discs. Is it encrypted by BitLocker?

    If the volume is encrypted by BitLocker, the type member of the VDS_FILE_SYSTEM_PROP structure will be set to VDS_FST_UNKNOWN on return.

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, May 10, 2018 1:54 AM
  • It is a new disc. (just unboxed a new disc)

    Could you please provide steps to determine whether it is encrypted??

    Thursday, May 10, 2018 12:39 PM
  • >>Could you please provide steps to determine whether it is encrypted??

    For this case, you could use GetProtectionStatus method to indicate whether the volume and its encryption key (if any) are secured.

    Besides, beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.

    Best Regards,

    Baron Bi



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Baron Bi Wednesday, May 16, 2018 8:29 AM
    Friday, May 11, 2018 8:32 AM