What does HRESULT 0x80042507 (VDS_E_VOLUME_INVALID_NAME) mean?

 
Previous Next
VDS_E_DRIVER_INTERNAL_ERROR VDS_E_CORRUPT_PARTITION_INFO

VDS_E_VOLUME_INVALID_NAME

VDS_E_VOLUME_INVALID_NAME means the provider rejected the supplied volume name. This differs from VDS_S_NAME_TRUNCATED, where a valid name is accepted after shortening. Invalid characters, empty input or provider-specific naming rules can cause rejection.

Validate and read back names explicitly

  • Log the exact Unicode name and length before passing it to VDS.
  • Check for empty strings, embedded control characters and provider-specific restrictions.
  • After a successful rename, query the volume properties to capture the stored name.

Do not silently sanitize the name and claim the original request succeeded; doing so makes later object matching ambiguous. If names are generated from user or external metadata, preserve a stable VDS identifier separately and show the normalized display name to the caller.

IVdsVolume · Volume properties · VDS portal


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