Solved

Sysprepping templates SCVMM 2012R2 vs VMWare

Posted on 2015-01-24
12
458 Views
Last Modified: 2015-01-30
When deploying VMWare templates with VMWare tools installed, sysprepping always happens when the new virtual machine is being deployed from the template. It looks to me that the process in SCVMM 2012 R2 is somewhat different. When creating a template in SCVMM 2012 R2 from a virtual machine, it gets destroyed and seems to be automatically sysprepped in the process(or so it seems judging by the result template and the messages given in the gui when performing this). When creating a template in SCVMM 2012 R2 from a virtual disk, it seems that I need to sysprep the OS on the virtual disk in advance. I can't find any sources that verifies this or the actual process regarding sysprep. Could anyone here comment on this and bring some sources or arguments that either backs this up or explains it differently?
0
Comment
Question by:itnifl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 80

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 20 total points
ID: 40569271
A template should always be a sysprepped image .. The two hypervisors enforce this differently.
0
 
LVL 2

Author Comment

by:itnifl
ID: 40569344
I know. I want to know if i have understood this correctly as I describe above. I can't find sources that verify this.
Summary:
1. VMWare syspreps automatically via VWare Tools when deploying from the template.
2. SCVMM syspreps the system disk automatically when converting a existing virtual machine to a template.
3. SCVMM does not sysprep the system disk automatically when creating a template from a disk in library.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 480 total points
ID: 40569896
1. VMWare syspreps automatically via VWare Tools when deploying from the template.

Wrong, VMware Tools has nothing to do with it.

VMware vSphere vCenter Server, if you specify the Customization Specification Option, with the Generate a New Identifier, causes a script to run at OS Boot, which launches the SYSPREP application, and injects the Answer File, that has been created through the  Customization Specification Option.

Customization Specification Option can use selected, on CLONE or Deploy from template.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 2

Author Comment

by:itnifl
ID: 40570501
OK - thanks for correcting :)
But how does the contents of the answer file end up in the guest OS?
0
 
LVL 120
ID: 40570605
Answer file is created based on the Questions asked in the Customization Guest OS Wizard, and it's read by the OS, when it's mounted in the VM.
0
 
LVL 2

Author Comment

by:itnifl
ID: 40572464
I can't find any documentation on this, but I would assume that there would be no way for vmware to tell the OS to read the information it needs and start sysprep unless vmware tools is installed. The OS will not do it by itself, and there is no communication between the OS and VMWare unless tools is installed.

It bewonders me why both VMWare and Microsoft seem to keep such details on this topic seemingly not available, at least from the the Google perspective of what I have been able to find.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 480 total points
ID: 40572494
it's a simple as connecting a floppy disk into the VM, at startup.
0
 
LVL 2

Author Comment

by:itnifl
ID: 40575022
OK I didn't think about that option.
Back to SCVMM, from the screenshot below it states that it is sysprepping the virtual machine I am converting to a template.
SCVMM sysprepping
Despite of this, I ended up with the same GUID on the operating systems of two virtual machines deployed from the same template made the same way as in the above screenshot. This did not happen when I deployed from a template where the virtual machine was sysprepped manually before I converted it to a template.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 480 total points
ID: 40575031
It would seem it's not creating a new SID, which is a different option, when Sysprep is run, manually.
0
 
LVL 2

Author Comment

by:itnifl
ID: 40575206
I used to think that the SID was very important to have unique for each VM. Is that true still?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 480 total points
ID: 40575354
That's debateable, Microsoft RECOMMENDS that ALL Windows CLONES are Sysprepped, and therefore SID changed!

BUT.....

have a read of this article

The Machine SID Duplication Myth (and Why Sysprep Matters)

Having duplicate SIDs is not an issue for Domain Machines.

WUS can have issues, because references are not changed in the registry, which is changed by the Sysprep, not because of the duplicate SID.
0
 
LVL 2

Author Closing Comment

by:itnifl
ID: 40579218
Thanks! That clarifies it.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question