What does HRESULT 0x80042917 (VDS_E_FORMAT_NOT_SUPPORTED) mean?

 
Previous Next
VDS_E_FAT_FORMAT_NOT_SUPPORTED VDS_E_COMPRESSION_NOT_SUPPORTED

VDS_E_FORMAT_NOT_SUPPORTED

This HRESULT is broader than a file-system-specific rejection. It indicates that the volume itself is not a valid format target in the current VDS object/provider context. Querying file-system support is still useful, but an empty or unsuitable capability set should be interpreted together with the volume type and provider rather than forcing one of the known file-system names.

Why this state matters

Formatting is a destructive, asynchronous VDS operation with object-state and role restrictions. The caller should confirm that it selected the intended volume or partition management interface and that the object is a format-capable storage target. A different tool successfully formatting different media does not prove this VDS volume object is formattable.

Diagnostic focus

  • Capture the VDS volume ID, provider, volume type, status, and current file-system properties.
  • Query file-system format support and preserve the returned list even when the eventual format request is rejected.
  • Confirm that the caller is using the volume/partition interface appropriate to the selected object type.
  • Distinguish non-formattable media from critical-volume protection, read-only storage, and incompatible file-system errors.

Technical references

QueryFileSystemFormatSupport · VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP · IVdsVolumeMF::Format · IVdsVolumeMF3::FormatEx2 · MS-VDS error codes


Looking for a different code? Search another status or error code.