VM Template

when we need to create a VM template, do we need first to use a powered on VM , then "Clone to Template" ?
after the template has been created do we need to customize the VM so that it will have unique SID?

I might have posted similar question in the past, but since I have not used it, I forgot about the answer.

Thank you
jskfanAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
Template creation can be completed with the VM Power ON or Powered OFF.

using the Clone to Template feature.

When Deploying the TEMPLATE, if you want the VM to have a Unique SID, you will need to use the Customization Specification Option to "Sysprep" after deployment.

ALL Physical or Virtual Computers SHOULD HAVE Unique SIDs as recommended by Microsoft, when cloning a computer.
0
 
rajivkumar07Commented:
1 - Create a VM.

2 - Convert it to the template and shut it off since templates should not be turned on     anyways.

3 - Clone it from that template.

4 - Do not need to run sysprep if cloned from a template.


Sysprep is needed if cloned from a non-template.

Cloning is possible whether you are cloning from a VM that is turned off or on.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@rajivkumar07, if you used your method, wouldn't all your VMs have the same SID?
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
rajivkumar07Connect With a Mentor Commented:
You know I forgot to add something else. Here it is -

When the template is created, run the sysprep /generalize and shut it down!!! It will basically rip the Unique identifier.

After that, create a VM by cloning that particular template and at the boot time, that VM will generate its new SID so no need to run sysprep again.

This is what I have been doing in my organization and never got into an issue.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
This is what Customization Specification does automatically at Deployment with no interaction with the VM.
0
 
jskfanAuthor Commented:
Thank you
0
All Courses

From novice to tech pro — start learning today.