How we can use custom iso file for deploying Virtual machine?

Nidhi Priya 531 Reputation points
2024-08-29T06:13:55.3966667+00:00

Hello experts,

can we create a Virtual machine, using the iso file from our local drive?

As I have to deploy one Windows 7 machine for testing a few things, I have an iso file for Windows 7, but I am not aware if we can use that file for Azure VM or not.

I'm looking forward to a quick reply.

Thanks!

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

1 answer

Sort by: Most helpful
  1. Lijitha B 515 Reputation points Moderator
    2024-08-29T11:55:04.4133333+00:00

    Hi Nidhi Priya,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Based on your question description we understand you want to create a VM from iso file.

    You cannot create an Azure VM from an ISO file. you can only create VMs from VHDs, Managed Disks or Managed Disk Images/Snapshots. If you want to use this ISO in Azure you would need to use something like Hyper-V on premises to create a VM and then export the VHD and upload to Azure.

    You may create and customize the virtual machine in your on-premises Hyper-V setup and then export the VHD. Upload the VHD to Azure and create the Virtual machine out of it. Following guide is helpful!

    Prepare a Windows VHD or VHDX to upload to Azure

    If it was helpful, please click "Upvote" on his post to let us know.

    Thank You.

    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.