Solved

Sysprepping templates SCVMM 2012R2 vs VMWare

Posted on 2015-01-24
12
489 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 81

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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hyper-V-server 2016 13 179
Hyper-V won't start Server 2003 as a guest OS 7 122
Planned failover 6 51
*** Windows Server 2012 Websites Set Up *** 17 29
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
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…

734 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