What does HRESULT 0x80042429 (VDS_E_BAD_LABEL) mean?

 
Previous Next
VDS_E_MEDIA_WRITE_PROTECTED VDS_E_CANT_QUICK_FORMAT

VDS_E_BAD_LABEL

VDS_E_BAD_LABEL means the file-system label supplied to VDS was rejected. In IVdsVolumeMF::Format, the label is the pwszLabel input, so this result identifies a parameter-level formatting problem rather than evidence that the disk or volume has failed.

Keep label validation separate from media diagnosis

VDS reports incompatible media, write protection, I/O failure, and invalid file-system type with different HRESULT values. If only the label is rejected, retain the intended file-system type and retry with a label that satisfies that file system’s rules. Do not reinitialize the disk or erase partitions to solve a naming error.

What to verify

  • Log the exact Unicode label string, including leading or trailing whitespace that a user interface may hide.
  • Confirm which VDS file-system type was requested because label rules belong to the selected format.
  • Test the corrected label on the same target volume so a simultaneous target-selection mistake does not become a destructive format of another volume.

References


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