Forum Discussion
tonj4940
Dec 01, 2026Copper Contributor
Hyper-V: definitive cancellation and resource closure of an asynchronous VM start operation
Dear Microsoft Hyper-V Engineering / Technical Support,
We are evaluating a security-sensitive execution architecture based on a pre-provisioned, powered-off, single-use Hyper-V virtual machine.
Our current evaluation platform is:
- Windows 11 Pro, 26H2, OS build 26300.9974
- Hyper-V management components: 10.0.26100.9949
- Generation 2 virtual machines
- GPU partitioning disabled
- Local VHDX storage
- Hyper-V WMI namespace: root\virtualization\v2
Our application requires an independently verified, complete termination of all job-related effects within an application-defined absolute deadline of 300 seconds.
We understand that this deadline is our own security requirement, not a documented Hyper-V guarantee.
We would appreciate clarification of the following technical questions:
- If an asynchronous Msvm_ComputerSystem.RequestStateChange start request has been submitted but the client loses the returned job reference, what supported mechanism can definitively identify and resolve the outstanding operation?
- Can Msvm_AffectedJobElement be used to establish a complete association between the VM identity and all pending start-related management jobs, including operations that have not yet published a visible job object?
- Do Hyper-V jobs of types 10, 11 and 12 support RequestStateChange with RequestedState = 4 (Terminate)? If so, does reaching JobState = 8 exclude all subsequent start effects originating from the terminated request?
- Is there a supported synchronization or lifecycle barrier that guarantees that no previously submitted start request can become effective after the barrier has completed?
- Which supported interfaces can independently confirm the completion of all VM-related host effects, including worker processes, virtual storage operations, outstanding I/O, file references, virtual networking and hypervisor resources?
- Are any conservative upper bounds documented for these operations under a defined fault model, including management service failures, communication loss, storage congestion and blocked I/O?
If no such guarantees or supported mechanisms exist, an explicit confirmation of that limitation would also be valuable for our architectural decision.
We are seeking supported, documented lifecycle semantics rather than a best-effort troubleshooting procedure or empirical timing estimate.
Kind regards
No RepliesBe the first to reply