| Previous | Next |
| ERROR_VID_INVALID_OBJECT_NAME | ERROR_VID_MESSAGE_QUEUE_NAME_TOO_LONG |
ERROR_VID_PARTITION_NAME_TOO_LONG
ERROR_VID_PARTITION_NAME_TOO_LONG is HRESULT 0xC0370006 in the VID partition naming limit area of the Windows virtualization stack. It applies to the internal name assigned to a VID partition during creation or lookup.
State and ownership model
The partition identifier exceeds the accepted limit after all prefixes, suffixes, or encoding conversions are applied. The visible VM name may be shorter than the final internal string.
Neighboring result: INVALID_OBJECT_NAME covers malformed syntax; PARTITION_NAME_TOO_LONG isolates length. MESSAGE_QUEUE_NAME_TOO_LONG applies to a different object and may have a different generated prefix.
Capture before changing anything
| Evidence | Why it changes the diagnosis |
|---|---|
| Final internal name | Record UTF-16 length after formatting, not only the UI display name. |
| Name components | Keep VM ID, worker suffix, namespace prefix, and separators individually. |
| Boundary test | Capture last successful and first failing lengths through the same code path. |
| Persistence link | Record whether configuration stores the display name, GUID, or generated partition name. |
Reduce the case safely
- Use stable GUID-based identity rather than concatenating unbounded labels.
- Validate length after encoding and all generated decorations.
- Test rename, import, and clone paths for cumulative suffixes.
- Do not truncate identifiers if that can create collisions.
What comparison can tell you
| Control | Interpretation | Hold constant |
|---|---|---|
| Fresh owned object | A clean lifecycle changing this result implicates duplicate initialization, leaked ownership, stale lookup, or incomplete rollback. | Preserve request flags and topology while changing only object instance. |
| Same request on a compatible host | If it follows one host, compare resource limits, topology, build, and inventory before altering VM data. | Use the same request and leave virtual disks unchanged in the result comparison. |
| One operation parameter | Change one count, name, identity, or state transition. If it moves, the selected condition is causal rather than the VM as a whole. | Keep host build, VM ID, and returning operation fixed. |
Do not erase the evidence
Closure criteria
The corrected naming scheme remains unique and stays within the limit for create, import, restart, and migration scenarios.
Technical references
- Microsoft Open Specifications: HRESULT values — used to interpret this result.
- Microsoft: Hyper-V architecture — used to interpret this result.
- Microsoft: Hyper-V TLFS — used to interpret this result.
- Microsoft: Hyper-V operational troubleshooting — used to interpret this result.
Looking for a different code? Search another status or error code.