For the last week my Azure Windows VM has unexpected shutdowns in the evenings

Lorenzo Capodiferro 0 Reputation points
2026-07-23T21:30:33.3833333+00:00

This is the issue below. How can this be fixed?

VM Availability

The Azure monitoring and diagnostics systems have identified that your VM Exports became unavailable at 2026-07-23 09:00:00 (UTC). During this time, RDP and SSH connections to the VM, or requests to any other services running inside the VM, could have failed.

Root Cause

This unexpected occurrence was caused by a crash in the guest operating system of your VM. To prevent memory and disk data corruption, the guest operating system stops execution when it detects a serious error condition. This condition can occur for many reasons, including the following:

  • A memory address that causes an access violation
  • An unexpected exception or trap
  • A faulty kernel mode driver
Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


3 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 18,496 Reputation points MVP Volunteer Moderator
    2026-07-25T04:42:45.26+00:00

    Hello @Lorenzo Capodiferro,

    Thank you for using Q & A forum.

    vTPM is configured as part of Trusted Launch.

    Trusted Launch overview: https://learn.microsoft.com/azure/virtual-machines/trusted-launch

    Deploy a VM with Trusted Launch enabled: https://learn.microsoft.com/azure/virtual-machines/trusted-launch-portal

    Enable vTPM on an existing Azure VM

    Stop/deallocate the VM.

    Open the VM in the Azure portal.

    Go to Security.

    Set Security type to Trusted Launch.

    Enable:

    vTPM

    Secure Boot (if supported by your OS/workload)

    Save and start the VM.


    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

    Was this answer helpful?

    0 comments No comments

  2. Lorenzo Capodiferro 0 Reputation points
    2026-07-24T23:43:09.62+00:00

    I found the problem. vTPM had an error and crashed the VM. I have disabled it for now.

    Where can I find instructions to set vTPM up ?

    Was this answer helpful?


  3. Christos Panagiotidis 3,546 Reputation points
    2026-07-24T16:15:51.18+00:00

    Azure’s diagnosis identifies a guest operating-system crash, so the next step is to capture evidence inside the VM rather than treating this as a host outage. Check Boot Diagnostics and Resource Health for each incident time, then review the Windows System event log for BugCheck, WHEA, disk, storage-filter, and unexpected-shutdown events. Confirm that Windows is configured to write a kernel or complete memory dump and that the page file and dump destination have sufficient space. Install supported Windows, VM-agent, storage, network, and security-driver updates, prioritizing anything introduced shortly before the crashes. Avoid repeated redeployments until a dump is collected, because they can restore availability without identifying the faulty driver or component. If another crash occurs, preserve the dump and exact UTC timestamp. Escalate to Microsoft support with the dump, Resource Health history, Boot Diagnostics, and recent-change timeline if the cause is not evident.

    Was this answer helpful?

    0 comments No comments

Your answer

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