Forum Discussion
Hyper-V recovery: is guest execution-state rollback excluded when checkpoints are disabled?
Your security concern is valid. The key distinction is between restarting a VM and restoring its previous execution state.
- VMMS failure: VMMS service recovery does not inherently imply restoration of an earlier guest memory state.
- vmwp.exe failure: The VM worker process manages VM execution. Its termination can cause the VM to stop or enter a failed state.
- Host restart: A VM may restart from its virtual disks, but that is different from restoring its previous CPU and RAM state.
- Checkpoints disabled: Removes checkpoint-based rollback, but does not establish a universal guarantee covering every recovery scenario.
Security recommendation
If replay prevention is a strict security requirement:
1. Keep checkpoints and automatic checkpoints disabled.
2. Prohibit saved-state restoration.
3. Maintain execution authorization and transaction state outside the VM.
4. Use external, durable transaction IDs and anti-replay counters.
5. Require fresh authorization after unexpected VM or host termination.
Most importantly: Given Microsoft's Support response, do not treat Hyper-V as providing a formally guaranteed anti-replay property across all failure scenarios.
You need an architectural safeguard outside Hyper-V rather than relying solely on its recovery behavior.