Create and Restore Hyper-V Checkpoints in Windows 11
Hyper-V checkpoints in Windows 11 Pro allow you to capture the exact state, data, and hardware configuration of a virtual machine (VM) at a specific point in time. This guide provides a straightforward walkthrough on how to create, apply (restore), and delete checkpoints using both the Hyper-V Manager graphical interface and PowerShell commands.
Types of Hyper-V Checkpoints
Before creating checkpoints, choose the type that best fits your workload:
- Production Checkpoints (Default): Uses Volume Shadow Copy Service (VSS) on Windows or File System Freeze on Linux to create data-consistent backups without saving the running memory state. Ideal for production environments.
- Standard Checkpoints: Captures the full state of the VM, including active memory and running applications. Ideal for development, testing, and troubleshooting.
To change checkpoint types: Open Hyper-V Manager, right-click your VM, select Settings, navigate to Checkpoints, and choose your preferred type.
How to Create a Checkpoint
Method 1: Using Hyper-V Manager
- Open the Start Menu, search for Hyper-V Manager, and launch it.
- Select your host computer from the left panel.
- In the Virtual Machines list, right-click the VM you want to capture.
- Click Checkpoint.
- Once complete, the new checkpoint appears under the Checkpoints pane at the bottom.
Method 2: Using PowerShell
- Right-click the Start Menu and select Terminal (Admin) or PowerShell (Admin).
- Run the following command (replace
"VMName"and"CheckpointName"with your values):
Checkpoint-VM -Name "VMName" -SnapshotName "CheckpointName"How to Restore (Apply) a Checkpoint
Restoring a checkpoint rolls the VM back to the exact configuration and data present when that checkpoint was created.
Method 1: Using Hyper-V Manager
- In Hyper-V Manager, select your VM.
- In the Checkpoints pane, right-click the specific checkpoint you want to revert to.
- Select Apply….
- Choose one of the following prompts:
- Create Checkpoint and Apply: Captures the current state of the VM before rolling back to the selected checkpoint.
- Apply: Reverts the VM immediately without saving the current state.
Method 2: Using PowerShell
- Open PowerShell (Admin).
- Run the following command to restore the VM:
Restore-VMCheckpoint -Name "CheckpointName" -VMName "VMName" -Confirm:$falseHow to Delete a Checkpoint
Deleting a checkpoint does not discard your data; instead, it merges
the .avhdx checkpoint file into the base .vhdx
virtual disk.
- Open Hyper-V Manager and select your VM.
- In the Checkpoints pane, right-click the checkpoint you wish to remove.
- Select Delete Checkpoint (or Delete Checkpoint Subtree to delete a branch of multiple checkpoints).
- Hyper-V will merge the disk files in the background without requiring VM downtime.