How to delete .AVHDX, .AVHDX.mrt, .AVHDX.rct files without affecting the Running VMs?

Nav 0 Reputation points
2023-02-23T16:06:51.1833333+00:00

Hi!

I created the checkpoints to test failover, and now I noticed there are so many files been created inside the Virtual Hard Disks folder.
.AVHDX
.AVHDX.mrt
.AVHDX.rct

It's approx 16 files, everytime i created checkpoint and tested the failover, it was saving those files.

Now if i dont want those files, then it is possible to delete those files without affecting the Virtual Machine status. I heard VM can go into "Saved state". Is there any possible solution to get rid of those files?

I will appreciate for this help!

Thank you
Nav

User's image

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,781 Reputation points
    2023-02-24T14:14:43.7466667+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query

    According to this article https://www.altaro.com/hyper-v/clean-up-hyper-v-checkpoint/

    Try to make a new checkpoint and then delete it.

    Everyone has experienced a toilet that won't stop running. Sometimes you're lucky, and all you have to do is jiggle the handle to remind the mechanism to drop the flapper ALL the way over the hole. Technique 3 is a "jiggle the handle" type of correction. We just touch the checkpointing system on the shoulder to remind it what to do.

    Right-click on the virtual machine (not a checkpoint) in the Hyper-V Management interface and select Checkpoint:

    Right-click on the topmost checkpoint subtree at the root of all of the VM's checkpoints and choose Remove checkpoint subtree:

    If this option does not appear, our "jiggle the handle" solution will not work. If possible, try to erase the checkpoint you just created.

    Checkpoint-VM -VMName demovm is the equivalent PowerShell command, followed by Remove-VMCheckpoint -VMName demovm.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

  2. Limitless Technology 44,781 Reputation points
    2023-02-24T14:15:00.6766667+00:00

    Double post

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.