How Can I Change OS of my VM?

Hammad Nadeem 6 Reputation points
2022-02-09T02:31:04.043+00:00

How Can I Change OS of my VM?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,196 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Pradeep Kommaraju 2,546 Reputation points
    2022-02-09T05:55:30.677+00:00

    Hi @Hammad Nadeem

    Thanks for reaching out to Microsoft Q & A Platform .

    Regarding your question , Azure doesn't support the OS Type change osDisk.osType .

    Also you can make copies of OS disk and use them to swap with available backups in the DR situations

    Ref:
    https://azure.microsoft.com/en-us/blog/os-disk-swap-managed-disks/
    https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk?tabs=portal

    Thanks,
    Pradeep

    -----------------------------------------------------------------

    Please do consider Accepting the answer or Up-vote if this was helpful