I was having all kind of issues trying to setup a template in VMM 2008. I originally got the dreaded: Error (13206)Virtual Machine Manager cannot locate the boot or system volume on virtual machine.
I found a great article on the subject where it says you can’t create a virtual machine from a template that uses a blank or Non-Microsoft based OS! The reason for this is the VMM is smart and it can actually peak inside the VHD to see what OS is in it.
In order to setup a template you need to make at least one virtual machine prior to making a template. The virtual machine that you made will be used and DESTROYED to make a template. I will repeat this again. The virtual machine that will be used for creating the template will be DESTROYED!
What does this mean to you? You will need to create one virtual machine that will have nothing else installed on it. This walkthrough assumes you have VMM setup and you’ve deployed at least one VM that has the same OS of the template you are wanting to make.
I’ve already created a virtual machine called DC. It really isn’t a DC. I was originally planning on using it as one until I realized my newly created template did not work Looking back on things I would have called it something like “Lemming” or “Born2Die”.
You will need to click on the “Library” tab on the left side of the screen:
After you have done that you will need to click on “New Template” in the right hand column under “Library Actions”.
You will need to switch the default selection from “Use an existing template…” to “From an existing virtual machine that is deployed on a host”. Click “Browse”.
A new window called “Select template source” will open. You will select the VM that you will sacrifice to the Microsoft Gods. In my case it is “DC”. Click “OK” and then “Next” on the “select source” window.
Again you will be warned that the virtual machine that you selected will be used in a sacrifice for the greater good of easily creating VM’s with templates.
Fill out what you want to call the template.
You will need to leave these setting along. If you change the settings to something different from the virtual machine that was already made you will get a warning 10666 at the end of the procedure stating that the changes you made are not supported and were ignored.
Here I setup the “Password” and “Product Key” sections. You can also do things like telling the machine to join the domain etc.
After I have finished setting things up I don’t hit “Next”. Rather I “Save as” this custom profile so that I can use it again later.
Hit “ok” and now I hit “Next”. On the next screen you will need to select the VMM host server you are wanting to put the template on.
You will next be asked where you want to save the virtual machine. Browse for the path.
Select where you want to place the Template. I tend to put mine at the top level share. Hit “ok”.
You will be asked to confirm if everything is alright. If so hit “Create”.
After it is done I took a screenshot of the “Hosts” section. Remember I told you “DC” would be gone? Well here’s the proof!
You will now need to create a new virtual machine from a template. To do this you must click on “New Virtual Machine”.
You will need to click “Browse” and then select the template you just created. Click “OK” and then “Next”
Since I miss “DC” so much I am going to create her again.
Keep the hardware the same.
You will need to select the Windows 2008R2 Profile. The password and product key will be hidden from view.
Keep the default of “place the virtual machine on a host”.
Select the host where you want to put the VM.
Select where you want to save the virtual machines.
Specify the networks you will use.
Select what properties you want. Since this is a test environment I don’t want the VM to automatically start.
Review the config before saying yes to the dress.
You’re done! Let me know if this helped!