A complete guide to creating and using checkpoints in Hyper-V: types, management, and best practices

Last update: 28/04/2025
Author Isaac
  • Hyper-V checkpoints allow you to save and restore the exact state of a virtual machine to facilitate both testing and recovery.
  • There are several types of checkpoints (standard, production, and ProductionOnly), each tailored to specific cases and with its own implications for data consistency.
  • Efficient management of checkpoints, both from the graphical interface and with PowerShell, is essential to avoid performance problems and ensure the integrity of the environment.

checkpoints in hyper-v

Virtualization has transformed how we manage servers and test environments, facilitating much more flexible and secure control over our virtual machines . When we talk about Hyper-V, one of the key tools that any administrator should master is the checkpoint functionality , which allows you to save the state of a VM at a specific moment and return to it if necessary. This feature is essential for sensitive changes, software testing, or even simple adjustments that could have unforeseen effects.

In this article, you'll discover in detail how checkpoints work in Hyper-V , the different types available, their uses (and limitations), and the recommended steps for creating, managing, restoring, and deleting them, both from the graphical environment and using PowerShell. We'll also cover practical considerations that can significantly improve the management of your virtualized infrastructure. We explain everything thoroughly, ensuring you have the most up-to-date and comprehensive information available.

What is a checkpoint in Hyper-V?

A checkpoint in Hyper-V is a feature that allows you to capture and store the exact state of a virtual machine (VM) at a specific point in time . This includes the configuration, the contents of RAM (depending on the type), virtual disks, and other data necessary to restore the VM to that same point if needed.

For example, before installing a major update or testing a configuration, you can create a checkpoint. If something goes wrong, simply apply that checkpoint to return the machine to exactly the way it was before the changes. This is a kind of extremely useful "safety net" in both production and testing environments.

However, it's crucial to understand that a checkpoint is not the same as a full backup. Checkpoints are not designed as a definitive backup solution and have significant limitations regarding data protection, as we'll discuss later.

Types of checkpoints in Hyper-V

In Hyper-V, you have several types of checkpoints, each with specific characteristics that you should know before using them:

  • Standard checkpoint (Standard Checkpoint): Captures both the state of the file system and the contents of the virtual machine's RAM. Thus, restoring this checkpoint returns the VM to the exact same state, with the application and service logs open as at the time of the capture.
  • Production control point (Production Checkpoint): In this case, RAM is not saved. Volume Shadow Copy Service (VSS) is used for systems Windows, or File System Freeze in Linux, with the goal of capturing a consistent state of the data (similar to a hot backup within the guest OS). Upon restoration, the VM boots as if it had been powered off and on, without saving the contents of volatile memory.
  • ProductionOnly Checkpoint: A variant of the production checkpoint, in which if the creation of a consistent checkpoint fails, a standard is not created (unlike the previous one). It further restricts the scenario to ensure application and data consistency.

By default, Hyper-V in Windows 10 and later versions uses production checkpoints, precisely because of their advantages in data consistency when used with applications such as databases , Exchange, or Active Directory.

The choice of one type or another should depend on the specific scenario. For example, if you're just looking for a "literal snapshot" of the disposable testing system (lab), you can use standard; but in critical environments, it's always safer to opt for production-grade.

Advantages and limitations of checkpoints

Checkpoints provide significant benefits in the daily management of virtualized environments:

  • They allow you to test changes without risk, since you can go back at any time if something goes wrong.
  • They are quick and easy tools to create and revert, both from the graphical interface and from PowerShell.
  • They facilitate testing, demonstration and troubleshooting environments where you need to experiment and repeat settings many times.
  • They allow you to easily export the state of a VM and deploy it to another host if necessary for recovery or migration purposes.
  The best way to delete different storage spaces on iPhone and iPad

However, there are a number of warnings and limitations to keep in mind:

  • They do not replace a traditional backup. Checkpoints are designed for specific short-term scenarios. If a serious failure occurs on the host or the storage, you could lose all checkpoints along with the virtual machines.
  • If too many checkpoints accumulate, server performance may suffer. and storage consumption can grow uncontrollably, since each checkpoint creates differentiation files (.avhdx) that increase disk usage.
  • In environments with data replication, databases, or critical services (Active Directory, Exchange, SQL), improper use of standard checkpoints can cause corruption or inconsistencies. Therefore, it is essential to prefer production ones in these cases.

When is it recommended to create a checkpoint?

There are clear situations where using checkpoints is the best option:

  • Before installing sensitive updates or operating system patches, to ensure a quick roll-back if something goes wrong.
  • Before changing important settings or installing complex software, especially in testing or development environments.
  • During maintenance or troubleshooting periods, when you need to capture the previous state before running tests that might leave the VM unstable.
  • To create temporary clones of machine states by exporting a checkpoint.

It should not be used as a substitute for traditional backups for long-term data protection or disaster recovery. It is simply a fast and flexible mechanism for change management.

How to create and manage checkpoints in Hyper-V (graphical interface)

hyper-v

The checkpoint management process in Hyper-V is quite accessible and visual. In fact, you can perform all common operations from Hyper-V Manager without any complications.

How to create a checkpoint from Hyper-V Manager

  • Open Hyper-V Manager and locate the virtual machine where you want to set the checkpoint.
  • Right click on the VM and select the option Check Point (may appear as Checkpoint depending on version and language).
  • In a few seconds, the checkpoint will be generated and appear in the corresponding section under the virtual machine.
hyper-v
Related articles:
How to Create and Configure Your First Virtual Machine with Hyper-V: A Complete Step-by-Step Guide

Apply (restore) a checkpoint

  • In Hyper-V Manager, select the virtual machine and expand the list of associated checkpoints.
  • Right-click on the checkpoint you want to restore and choose Apply (o Restore). A window will open where you can choose to take a screenshot before applying the point (optional, to avoid losing the current state in case of errors).
  • Confirm and wait for the procedure to complete. The VM will return to the exact moment captured.

After applying a standard checkpoint, even open applications and documents will remain as they were at the original time; in the case of a production checkpoint, the VM will start as if it had been powered off and on, without the contents of RAM.

Delete a checkpoint

  • Select the VM and checkpoint to delete; right click and Delete checkpoint (or Delete Checkpoint).
  • The system will automatically merge the differencing disks and return resources to the primary disk.

You should not directly delete .avhdx files from the file system . Always use Hyper-V Manager to avoid corruption issues.

Rename a checkpoint

  • Right click on the checkpoint and choose Rename (Rename).
  • Enter a descriptive name based on the reason for the checkpoint (for example, “Pre-Critical Update”).

The name can be up to 100 characters long and should never be left blank.

Export a checkpoint

  • Right click on the control point and select Export (Export).
  • Choose the location to save the export. Hyper-V will package the VM state, including the necessary files and settings, so it can be imported to another Hyper-V host.

This is especially useful for migrations, testing in alternative environments, or disaster recovery scenarios.

Configure the location of checkpoint files

  • In Hyper-V Manager, right-click on the VM and select Configuration.
  • Within the administration menu, go to Checkpoints or “Checkpoint file location.”
  • Enter the desired path and confirm the changes.

The default location is usually %systemroot%\ProgramData\Microsoft\Windows\Hyper-V\Snapshots , although you can customize it if you need to spread the load across different disks.

Managing Checkpoints in Hyper-V from PowerShell

powershell

PowerShell provides much more advanced and automatable control over checkpoints, ideal for environments with many VMs or for administrators who prefer to optimize tasks from the console.

  How can one save emails to PC

Query and change the checkpoint type

To modify the type of checkpoint used by a VM, you can use the following commands :

  • Set-VM -Name «VMName» -CheckpointType Standard (sets the standard type)
  • Set-VM -Name «VMName» -CheckpointType Production (establishes the type of production)
  • Set-VM -Name «VMName» -CheckpointType ProductionOnly (production only, no fallback)

This is how you modify the behavior of a VM to adapt it to the needs of the environment or the application it hosts.

Create a checkpoint with PowerShell

To create checkpoints from the console, use:

# Checkpoint-VM -Name "VMName"

Optionally, you can specify the type:

# Checkpoint-VM -Name "VMName" -CheckpointType Standard
# Checkpoint-VM -Name "VMName" -CheckpointType Production
# Checkpoint-VM -Name "VMName" -CheckpointType ProductionOnly

To list all checkpoints for a VM:

# Get-VMCheckpoint -VMName "VMName"

Rename a checkpoint from PowerShell

# Rename-VMCheckpoint -VMName "VMName" -Name "CurrentName" -NewName "NewName"

This helps maintain an organized inventory, especially on VMs with multiple checkpoints for frequent operations.

Restore a checkpoint with PowerShell

# Restore-VMCheckpoint -Name "CheckpointName" -VMName "VMName" -Confirm:$false

The -Confirm:$false option allows you to automate the procedure without having to respond to interactive prompts.

Export and delete checkpoints via console

To export:

# Export-VMCheckpoint -VMName "VMName" -Name "CheckpointName" -Path "C:\TargetPath"

And to delete:

# Remove-VMCheckpoint -VMName "VMName" -Name "CheckpointName"

Repeat the check of the remaining checkpoints after deletion:

# Get-VMCheckpoint -VMName "VMName"

Checkpoint Management: Recommended Best Practices

To get the most out of your checkpoints and avoid unnecessary problems, follow these recommendations:

  • Do not hold checkpoints for long periods, Unless it's absolutely necessary for a specific reason, delete any that are no longer useful to prevent storage overload.
  • Avoid creating checkpoints on critical production VMs with sensitive applications (such as AD, SQL, Exchange, etc.) unless you are sure you are using the “Production” type and understand its implications.
  • Always rename checkpoints according to the reason for their creation, especially if you manage them on shared computers or with multiple administrators.
  • Monitors disk space and cleans up old checkpoints, since each point creates an additional .avhdx file which can consume a lot of storage with There.
  • Do not use checkpoints as a substitute for traditional backups. Use native backup solutions, such as those that integrate VSS, replication, storage-level snapshots, third-party tools like NAKIVO Backup & Replication, among others). Some of these applications also allow automatic verification of data integrity, programming of differential or incremental copies, and disaster recovery strategies adapted to the size and complexity of the environment.
  • If you perform checkpoint exports, plan carefully for the required space. since the generated packages take up as much space as the original VM. Also, don't overuse this feature except in justified situations.

How to enable or disable checkpoints in Hyper-V

There may be scenarios where you want to prevent checkpoint creation on a specific virtual machine (due to application requirements or internal regulations) or ensure they are enabled for ease of management:

  • Open the Hyper-V Manager, right click on the VM and select Configuration.
  • Inside the section Administration, Select Checkpoints.
  • Check or uncheck the box Enable checkpoints as appropriate.
  • Apply and confirm the changes.

Location of checkpoint files and their impact

For each checkpoint, .avhdx files are generated on the VM's storage, containing the differential changes since the capture. By default, these are stored alongside the primary .vhdx disks, but you can define different paths depending on your storage topology and performance requirements.

When you delete a checkpoint, Hyper-V automatically merges the resulting .avhdx and .vhdx files, returning the consumed storage to the base disk.

We insist: never manually delete these files from the explorer or through commands external to the Hyper-V manager , as this can leave the VM in an inconsistent or unusable state.

Exporting checkpoints: what they are for and how to use them

The checkpoint export feature is very useful when you need to move a VM to another host, perform lab testing, prepare disaster recovery scenarios, or even clone states for training. The procedure always packages the system state at the exact instant of the checkpoint, including disk, configuration, and other files necessary for immediate deployment.

Once the export is complete, you simply need to import that VM into another Hyper-V and define the necessary network and storage paths.

Automatic checkpoints and their configuration

Hyper-V also allows you to enable automatic checkpoints , which generate checkpoints every time a VM starts and delete them when it stops. This is useful, for example, in development, script testing, or training environments, where the state of the machine can vary greatly between uses and it's desirable to always have a clean starting point.

  Methods to rename files and folders in Windows 11

You can configure this option from the graphical interface, in the VM's advanced properties, or with PowerShell:

# Set-VM -Name "VMName" -AutomaticCheckpointsEnabled $true

Restoring a VM's state: differences between standard and production checkpoints

One of the most frequently asked questions is what difference you'll notice when reverting a VM with one type of checkpoint or another. Let's look at a practical example:

Suppose you have a Windows system open with several applications running, and you create a standard checkpoint. If you later delete files, close programs, or change settings, but then restore that checkpoint, the VM will return to exactly that moment: all documents and applications will be the same, even open windows. This is because the RAM state was also saved.

However, if the checkpoint is a production checkpoint and you repeat the process, restoring that checkpoint will result in the virtual machine being powered off, ready to boot, and all data on disk being the same as at the time of the capture; however, applications will not be running, nor will active session states (RAM) be preserved. This behavior is more similar to a system restore or forced reboot, but much safer for critical data and applications.

Android mobile copilot
Related articles:
How to control your Android phone from your PC using Microsoft Copilot

Checkpoints and backups: differences and caveats

It is crucial to emphasize that checkpoints are not a substitute for traditional backup mechanisms. While they offer some level of recovery from software failures or incorrect configuration changes, checkpoints rely on local storage and the Hyper-V host. In the event of a physical failure, accidental deletion of the datastore, or a ransomware attack, you could lose both the main .vhdx files and the .avhdx files associated with the checkpoints, leaving you unable to restore the VM.

Additionally, checkpoints can accumulate and consume large amounts of space if not managed properly, which can negatively impact server performance, replication operations, and backup tasks.

For this reason, best practices recommend combining checkpoints with professional backup solutions (e.g., those integrated with VSS, replication, storage-level snapshots, third-party tools such as NAKIVO Backup & Replication, among others). Some of these applications also allow for automatic verification of data integrity, scheduling of differential or incremental backups, and disaster recovery strategies tailored to the size and complexity of the environment.

Checkpoints in laboratory, development and testing scenarios

In testing, software development, or training environments, you can take full advantage of checkpoints. You can create milestones during the different steps of an experiment, allowing you to move forward and backward in the process as needed. For example:

  • Before and after installing new software, to check its operation and then leave the VM clean if something fails.
  • Before making advanced changes to the registry or system settings, ensuring the possibility of rolling back without reinstalling the system from scratch.
  • To demonstrate error sequences and their solutions, Ideal for workshops, public demonstrations or technical documentation.
Related articles:
A complete guide on how to enable/disable track changes in a Word document
Isaac

Isaac

Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.