Creating a Virtual Machine Template From an Existing VM in System Center Virtual Machine Manager 2012 R2
A virtual machine template is a master copy of a virtual machine used to create new virtual machines that have a consistent set of configuration settings. Virtual machine templates can be created from existing VMs, virtual disks and other templates. A virtual machine template is a library resource that contains following components associated with them:
- Hardware Profile. A hardware profile specify hardware specifications for cloud compatibility, CPU, memory and network and fiber channel adapter configuration
- Guest OS Profile. A collection of operating system configuration for virtual machine that you deploy to the virtual machine.
- Virtual hard disks. This can be a blank or a specially prepared virtual hard disk; for example, a virtual hard disk that has a Sysprepped version of Windows server 2012 R2 on it.
Please note that creating a template will destroy the source virtual machine. The virtual machine hard disks of the virtual machine will be generalized to create the new template and any user data on the virtual machine may be lost. To prevent this, you can clone it before you create a template.
To create a Virtual Machine Template, perform the following steps:
1. In the navigation pane, expand All Hosts, and then select the Host, KTM-HOST3. In the results pane, right click on virtual machine, KTM-WEBSRV, click Create, and then click Create VM Template. Note: VM must be shutdown.
2. On the Virtual Machine Manager Dialog box, click Yes to accept the warning message.
3. On the Create VM Template Identity page, provide a VM Template name and Description, and then click Next.
4. On the Configure Hardware page, configure the displayed hardware profile settings and then click Next.
5. On the Configure Operating System page, select a preconfigured profile, Windows Server 2012 R2, and then click Next.
6. On the Select Library Server for the virtual machine page, select Library Server and then click Next.
7. On the Select Path page, click Browse to specify the Virtual machine path, and then click Next.
8. On the Summary page, review the settings and Click Create.
9. On the Jobs windows opens. Observe the completed jobs, and then close the Jobs window.
10. In the VMM console, click the Library workspace. In the navigation pane, expand Templates, click VM Templates and verify that VM Templates is created.
Creating a virtual machine template from an existing virtual machine is a common task for VMM administrator. I hope this article will help during creating a virtual machine template from an existing virtual machine in SCVMM 2012 R2.
- Configuring Azure Traffic Manager using Performance Based Routing Method - January 20, 2018
- Configuring a Point-to-Site Connection to a VNet using Azure Portal - November 28, 2017
- Configuring a VNet-to-VNet VPN Gateway Connection Using the Azure Portal - October 27, 2017
- Configuring Azure VNet Peering by using the Azure Portal - October 19, 2017
- Using the Azure Portal to Create Virtual Networks, Add Subnets and Setting up a DNS Server Address - October 17, 2017
- Extend Azure Virtual Machine OS drive using Azure Portal - June 30, 2017
- Creating a Windows Virtual Machine and Availability Set at the same time using the Azure Portal - June 11, 2017
- Remove a Node from a Windows Server 2016 Hyper-V Cluster and Destroy a Cluster Procedure - May 14, 2017
- Best Practices on Setting up Hyper-V Cluster Networks in Windows Server 2016 - May 10, 2017
- Implementing Failover Clustering with Windows Server 2016 Hyper-V - May 6, 2017