how to restore vm snapshot

Sadaqah Aid 20 Reputation points
2025-03-14T06:13:56.8533333+00:00

Hello,

I need some assistance on how to restore Azure VM snapshot please, as I am not able to RDP into my server.

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
{count} votes

Accepted answer
  1. Venkat V 2,545 Reputation points Microsoft External Staff Moderator
    2025-03-14T13:12:18.8033333+00:00

    Hi @Sadaqah Aid

    To restore an Azure VM snapshot and recover your server, follow the steps below.

    Note: This will help you only if the VM OS corruption situation not network related issues.

    • Navigate to the Azure Portal > "Snapshots" and find the snapshot of the VM that you want to restore.
    • Create a Managed Disk from the Snapshot
    • In the Azure portal, go to "Snapshots" and select the snapshot > Click on "Create Disk" > Click "Create" to generate a managed disk from the snapshot.

    Note: Create a new Disk in the same region/zone where the current VM is running

    If you suspect any network-related issues with the existing VM, do not swap the OS disk to the current VM, as it may cause the same issue again. It is better to create a new VM using the same disk

    1. Swap the OS disk

    If there are no network-related issues, you can simply swap the OS disk with the newly created disk."

    • Go to the Azure Portal and navigate to Virtual Machines.
    • Select the VM that you're unable to access.
    • Under Settings, click on Disks.
    • Select Swap OS disk and choose the newly created disk.

    enter image description here

    Reference: Change the OS disk used by an Azure VM using PowerShell

    Ways to troubleshoot RDP issues

    I hope this helps to resolve your query.


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

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.