How to deploy a VM from a Template

In this tutorial we will deploy a VM from an existing VM VHDX.

Now let's deploy a VM based on template.

  1. In the Hyper-V Manager screen Click Newà Virtual Machine

  2. Select a name for the VM.

  3. Select the amount of memory for the server or Use Dynamic Memory for this virtual machine.

  4. Select the virtual switch for the virtual machine.



  5. Do not attach a disk. Select attach a virtual hard disk later.

  6. Press Finish

  7. Right click the VM and select Settings.

  8. Click IDE Controller 0 à Hard Drive à Add.

  9. Click New.

  10. Select the appropriate format. VHDX is the default format in Windows 2012/Hyper-V 2012.

  11. Select Differencing and press Next.

  12. Select the location and name for the new disk then press Next.

  13. Select the location for the Template VHDX.

  14. Press Finish.

  15. Press OK.

  16. Right Click on the VM and press Start, then Right Click the VM again and connect.

  17. The virtual machine will start and will go thru a mini setup for the VM. Your VM will be up and running in less time that installing the OS from DVD.

  18. By deploying the VM from Image your Lab will share a common set of binaries. You will save 10 – 12G for the OS deployment every time for every VM that share the template.

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

3 thoughts on “How to deploy a VM from a Template”

    • No,
      this is not a template but a minimal shared base (the parent) and you have several limits.

      1) if you use the same base for a few of vms the I/O and general performances go down because all the vms access to the common part
      2) you cannot touch the base. if you make it you destroy all the vms differenced
      3) you can use the differencing on a relation 1:1. If you want create a template of a server with three disk you must difference the first witj the first parent, the second with the second parent, the third with the third parent manually.
      4) if you want update by automatic update you must update every vm differenced one to one.

      if you want a real separate template create the base
      exporting it
      importing with the option to generate a full copy.

      good work


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: