mk507e
Contributor
Contributor

SID Issue

Version 5.0

We are deploying VM through template and the SID of the Windows OS got changes automatically.

But now we are getting issue that SID of the OS is not changing when we deploy the VM from the template,we have to manually run sysprep on the VM.

Please let us know is there any KB article,Patch etc for this issue

0 Kudos
5 Replies

Hi, Are you observing below Symptoms

  • When attempting to customize the deployment of a virtual machine, the radio buttons are disabled (grayed out).
  • When a virtual machine is deployed from a template, the SID is always the same, despite the fact that you chose the option to generate a new SID during template deployment and guest operating system customization.
  • When attempting to create a new virtual machine from a template in vCenter Server, you see the error:
    Warning: Windows customization resources were not found on this server
  • In the guestcust.log file, you see the error:deploy doesn't contain known sysprep files
  • When you ignore the errors, the virtual machine deployment does not get customized


If yes then check this kb VMware KB:    Sysprep file locations and versions 

Please consider marking this answer "correct" or "helpful" if you found it useful.
0 Kudos
rickardnobel
Champion
Champion

Which guest operating system are you using? Do you actually select to do a guest customize when deploying from template?

My VMware blog: www.rickardnobel.se
0 Kudos
mk507e
Contributor
Contributor

Windows 2008 R-2...No

0 Kudos
BenLiebowitz
Expert
Expert

I recommend using Customization Specifications.  Not only will it change the SID for you by running Sysprep, but it will change the name of the VM, among many other things.

Here is a link to help get started.

Customizing Guest Operating Systems

vSphere Documentation Center

Keep in mind, certain permissions are required to use Customization Specifications, so if the people deploying the VMs do not have Administrator rights, they may not be able to use the customizations and may find the buttons grayed out. 

Good luck.

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos

If you need help how to do customization checkout below link.

http://www.vtexan.com/2011/09/17/vsphere-5how-to-deploy-from-template/

Please consider marking this answer "correct" or "helpful" if you found it useful.
0 Kudos