# Residual Hyper-V checkpoints remaining after differential disk merge

## Issue

> Residual virtual machine checkpoints remain visible in **Hyper-V Manager** after differential disk files (**.avhdx**) have been merged, and they cannot be removed using standard tools such as **Hyper-V Manager** or **PowerShell**.

***

## Cause&#x20;

Residual checkpoints after **.avhdx** consolidation are typically caused by metadata desynchronization between the disk files and **Hyper-V** configuration. This can happen, for example, when differential disks are manually merged using **PowerShell** while **Hyper-V Manager** is still open — in this case, the **.avhdx** files are correctly merged into the base **.vhdx** file, **but the checkpoint metadata is not removed**. Other scenarios can also lead to the same issue, but this is one of the most common.

***

## Resolution

{% hint style="danger" %}
Before attempting manual checkpoint removal, **ensure that incremental (.avhdx) disks have been successfully merged into the main virtual disk**. In the VM’s settings, confirm that the virtual hard disk path points to a **.vhdx** file, not an **.avhdx**.
{% endhint %}

1. First, for the integrity of the operation, power off the virtual machine (<mark style="color:red;">**before making any changes**</mark>).
2. **Open PowerShell as administrator** and use the following command (replace `[VirtualMachineName]` with the actual name of the virtual machine as displayed in **Hyper-V Manager**):

```powershell
Get-VMSnapshot -VMName [VirtualMachineName] | Select-Object Name, Id
```

3. The command will return the names and IDs of all snapshots associated with the VM.

<figure><img src="/files/RVodKIsa4jr6h0XM9Xgt" alt=""><figcaption></figcaption></figure>

4. For more detailed information, you can execute the following command:

```powershell
Get-VMSnapshot -VMName [VirtualMachineName] | Format-List
```

5. In the VM settings (**Hyper-V Manager** > **Settings** > **Checkpoints** > **Checkpoint file location**), identify the path where snapshots are stored and navigate to this directory in **File Explorer**. You will find folders and files named according to the snapshot identifiers returned earlier. **Do not delete them yet, as they are still locked by the Hyper-V service.**
6. Open the services console (**services.msc**) and stop the service named **Hyper-V Virtual Machine Management Service** (**VMMS**). Alternatively, you can use a **PowerShell** command:

```powershell
Stop-Service vmms
```

7. Once the service is stopped, delete all folders and files corresponding to the problematic snapshot identifiers.
8. Restart the previously stopped service using the following command:

```powershell
Start-Service vmms
```

9. Reopen **Hyper-V Manager** and confirm that the previously persistent checkpoints no longer appear in the list of snapshots.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/common-issues/virtual-machines/hyper-v/residual-hyper-v-checkpoints-remaining-after-differential-disk-merge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
