Is it possible for hyper-v checkpoint to apply on its own?

Ethan Davani 100 Reputation points
2024-03-05T16:30:48.21+00:00

Lets say there’s a checkpoint made of a virtual machine on Hyper-V, can that checkpoint be applied, through any means other than manually initiating it. Are there any possible bugs or scenarios that could cause this checkpoint to be applied without doing it manually?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,689 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,680 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 36,071 Reputation points Microsoft Vendor
    2024-03-06T07:39:11.2333333+00:00

    Hi Ethan,

    Hope you're doing well.

    As far as I know, in a typical Hyper-V environment, checkpoints (formerly known as snapshots) are created and applied manually by administrators. However, there are a few scenarios or bugs that might lead to unintended or automatic application of checkpoints:

    1. Hyper-V has a feature called "Automatic Checkpoints" that can be enabled for virtual machines. When this feature is turned on, Hyper-V creates checkpoints at regular intervals or when specific events occur, such as during Windows Update installations. If this feature is enabled, unexpected checkpoints might be created and potentially applied.
    2. Some backup solutions use Hyper-V checkpoints as part of the backup process. If you are using a third-party backup solution that leverages Hyper-V checkpoints, there is a possibility that a backup job could apply a checkpoint as part of its restore process.
    3. Integration Services facilitate communication between the host and virtual machines. If there are issues with Integration Services, it might lead to unexpected behavior, including the automatic application of checkpoints.

    It's crucial to regularly monitor and review the Hyper-V environment, check the configuration settings, and audit activities to identify any unexpected changes. Implementing proper access controls and permissions can also help prevent unauthorized actions.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Marcin Policht 21,360 Reputation points MVP
    2024-03-05T19:20:18.6766667+00:00

    You can script it by using PowerShell and invoke the script through Windows Event Viewer functionality - https://learn.microsoft.com/en-us/powershell/module/hyper-v/checkpoint-vm?view=windowsserver2022-ps and https://www.linkedin.com/advice/1/how-do-you-create-use-event-log-tasks-alerts


    hth

    Marcin


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.