Virtual Machine Cloning

martin 60 Reputation points
2023-12-14T04:38:58.57+00:00

This is related to Azure VM cloning.
I see two options for VM cloning.

First option is to use VM image "capture". Before that, we need to run sys prep from windows OS.

Second option is to use VM snapshot and then need to take managed disk.
Should we need to do sysprep after powering on the cloned VM? And which method can I prefer?

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

Accepted answer
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
    2023-12-14T05:14:58.4533333+00:00

    Hi @martin ,

    Thanks for contacting Microsoft Q&A platform.
    The only difference between the specialized and generalized deployments are below.

    A specialized disk is a copy of a virtual hard disk (VHD) from an existing VM that contains all the user accounts, applications, and other state data from your original VM. After deploying a new VM from the specialized you need handle uniqueness within the VM, like setting a hostname, to avoid DNS conflicts on the same VNET.

    A generalized image is created by running Sysprep on the VM. Sysprep removes all your personal account information, retains OS and application specific information which prepares the machine to be used as an image and Once you set the VM to be generalized you can reuse the existing VM and this action is irreversible.

    Hope this helps!
    Kindly let us know if the above helps or you need further assistance on this issue.


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.