| Previous | Next |
| ERROR_VMCOMPUTE_SYSTEM_ALREADY_EXISTS | ERROR_VMCOMPUTE_PROTOCOL_ERROR |
ERROR_VMCOMPUTE_SYSTEM_ALREADY_STOPPED
A stopped HCS compute system is effectively at the end of its usable lifetime
ERROR_VMCOMPUTE_SYSTEM_ALREADY_STOPPED is returned when an operation assumes a live compute system after it has already exited. This may be a harmless duplicate stop request, but it can also reveal that another controller, health policy or unexpected guest exit won the lifecycle race.
HCS cleans up stopped systems and retains only limited exit information. Repeated shutdown or terminate calls cannot bring the object back; a future run requires a newly created compute system.
Evidence and corrective action
- Determine which event or request stopped the system first and whether that stop was expected.
- Handle duplicate shutdown intent idempotently while still recording unexpected early exits.
- Stop using the old handle for start, modify or process-creation calls.
- Capture exit status and logs before higher-level cleanup removes remaining evidence.
- Create a new system only after the controller has reconciled persistent resources and identifiers.
References
- Microsoft: Host Compute System lifecycle
- Microsoft: HcsShutDownComputeSystem
- Microsoft: HcsTerminateComputeSystem
Looking for a different code? Search another status or error code.