What does HRESULT 0xC03A001B (ERROR_VHD_INVALID_TYPE) mean?

 
Could be also:
ConstantTypeOS
STATUS_VHD_INVALID_TYPENTSTATUSWindows
Previous Next
ERROR_VIRTUAL_DISK_LIMITATION ERROR_VHD_INVALID_STATE

ERROR_VHD_INVALID_TYPE

ERROR_VHD_INVALID_TYPE means the requested operation is not valid for the current virtual disk type. Fixed, dynamic, differencing, and shared virtual disks support different operations.

What to check for ERROR_VHD_INVALID_TYPE

  • Inspect VhdType before selecting a conversion, merge, compact, or resize operation.
  • Use merge operations only for a valid offline differencing chain.
  • Do not expect compaction to apply to fixed virtual disks.
Get-VHD -Path "D:\VMs\disk.vhdx" | Select Path,VhdType,Size,FileSize

Microsoft: Get-VHD

Microsoft: Merge-VHD

Microsoft: Optimize-VHD

Diagnostic discriminator: Compare the requested virtual-disk operation with the actual VHD/VHDX type. The same disk may be healthy yet reject an operation that its fixed, dynamic, differencing or shared type does not support.


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