Virtualization Rename Checkpoint for Hyper-V Virtual Machine in Windows 11


  • Staff
Hyper-V_manager_banner.png

This tutorial will show you how to rename a checkpoint for a Hyper-V virtual machine in Windows 10 and Windows 11.

Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems can be used and managed just as if they were physical computer systems, however they exist in virtualized and isolated environment. Special software called a hypervisor manages access between the virtual systems and the physical hardware resources. Virtualization enables quick deployment of computer systems, a way to quickly restore systems to a previously known good state, and the ability to migrate systems between physical hosts.

One of the great benefits to virtualization is the ability to easily save the state of a virtual machine. In Hyper-V this is done through the use of virtual machine checkpoints when enabled. You may want to create a virtual machine checkpoint before making software configuration changes, applying a software update, or installing new software. If a system change were to cause an issue, the virtual machine can be reverted to the state at which it was when then checkpoint was taken.

Hyper-V includes two types of checkpoints:
  • Standard Checkpoints: takes a snapshot of the virtual machine and virtual machine memory state at the time the checkpoint is initiated. A snapshot is not a full backup and can cause data consistency issues with systems that replicate data between different nodes such as Active Directory. Hyper-V only offered standard checkpoints (formerly called snapshots) prior to Windows 10.
  • Production Checkpoints: uses Volume Shadow Copy Service or File System Freeze on a Linux virtual machine to create a data-consistent backup of the virtual machine. No snapshot of the virtual machine memory state is taken.
If you also enable automatic checkpoints for a virtual machine, Hyper-V creates a checkpoint when the VM starts (if no existing checkpoint exists) and deletes it when the VM shuts down cleanly.

When you enable checkpoints for a virtual machine, you can also manually create a checkpoint for the virtual machine on demand as needed.

By default, the name of a checkpoint is the name of the virtual machine combined with the date and time the checkpoint was taken. This is the standard format:

virtual_machine_name (MM/DD/YYY -hh:mm:ss AM\PM)

Renaming checkpoints allows you to give them an identifiable name that makes it easier to remember details for why the checkpoint was created.

Reference:

You must be signed in as an administrator to rename a checkpoint for a Hyper-V virtual machine.



Contents

  • Option One: Rename Checkpoint for Hyper-V Virtual Machine in Hyper-V Manager
  • Option Two: Rename Checkpoint for Hyper-V Virtual Machine in PowerShell




Option One

Rename Checkpoint for Hyper-V Virtual Machine in Hyper-V Manager


1 Open Hyper-V Manager (virtmgmt.msc).

2 Select the virtual machine (ex: "Windows 11 Home") in the middle pane you want to rename a checkpoint for. (see screenshot below step 4)

3 Select an existing checkpoint in the middle pane you want to rename. (see screenshot below step 4)

4 Perform one of the following actions below to rename the checkpoint: (see screenshot below)
  • Click/tap on Rename in the right "Actions" pane.
  • Click/tap on Action on the menu bar, and click/tap on Rename.
  • Right click on the checkpoint in the middle pane, and click/tap on Rename.
rename_checkpoint_Hyper-V_Manager-1.png

5 Type a new name you want for this checkpoint, and press Enter. (see screenshot below)

Checkpoint names are limited to 100 characters, and the name cannot be blank.


rename_checkpoint_Hyper-V_Manager-2.png

6 You can now close Hyper-V Manager if you like.




Option Two

Rename Checkpoint for Hyper-V Virtual Machine in PowerShell


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Type the command below into Windows Terminal (Admin), and press Enter to see a list of all available checkpoints for a virtual machine. (see screenshot below step 3)

Get-VMCheckpoint -VMName "<VM Name>"

Substitute <VM Name> in the command above with the actual virtual machine name (ex: "Windows 11 Home") you want to rename a checkpoint for.

For example: Get-VMCheckpoint -VMName "Windows 11 Home"


3 Make note of the current checkpoint name (ex: "Windows 11 Home - (6/1/2024 - 8:05:58 AM)") you want to rename for this virtual machine. (see screenshot below)

list_checkpoints_PowerShell.png

4 Type the command below into Windows Terminal (Admin), and press Enter. (see screenshot below)

Rename-VMCheckpoint -VMName "<VM Name>" -Name "<Checkpoint Name>" -NewName "<New Checkpoint Name>"

Substitute <VM Name> in the command above with the actual virtual machine name (ex: "Windows 11 Home") you want to rename a checkpoint for.

Substitute <Checkpoint Name> in the command above with the actual current checkpoint name (ex: "Windows 11 Home - (6/1/2024 - 8:05:58 AM)") from step 3 you want to rename for its virtual machine.

Substitute <New Checkpoint Name> in the command above with the actual new name you want for this checkpoint. Checkpoint names are limited to 100 characters, and the name cannot be blank.

For example: Rename-VMCheckpoint -VMName "Windows 11 Home" -Name "Windows 11 Home - (6/1/2024 - 8:05:58 AM)" -NewName "Before update"


rename_checkpoint_PowerShell.png

5 You can now close Windows Terminal (Admin) if you like.


That's it,
Shawn Brink


 
Last edited:

Latest Support Threads

Back
Top Bottom