OS Customization error deploying Server 2019 Core from Template

This post was originally published on this site

We are on 6.7.0, 16713306 running a VCSA with embedded PSC on HPe DL360 Gen10 hosts. We have created a windows Server 2019 template that has been working for a few deployment. Today when we try to deploy from the template selecting the Server 2019 Customization Profile we created and selecting power on after creation, the machine is cloned from the template, but no customization occurs. We get the following in the events for the VM:

Event Type Description:

The customization component failed to set the required parameters inside the guest operating system

Possible Causes:

On Windows, the user account under which the customization code runs has no read/write permissions for the registry keys used by the customization code. Customization code is usually run under the ‘Local System’ account but you can change this by selecting a different account for VMware Tools Service execution. Action: Determine which user account is selected for VMware Tools Service execution and confirm that this account has read/write permissions on registry keys used by the customization code

On Windows, the user account under which the customization code runs has no read/write permissions for the files and folders used by the customization code. Customization code is usually run under the ‘Local System’ account but you can change this by selecting a different account for VMware Tools Service execution. Action: Determine which user account is selected for VMware Tools Service execution and confirm that this account has read/write permissions on the files and folders used by the customization code

On Linux, an invalid or unsupported time zone is passed to the customization scripts and the time zone configuration failed as a result Action: Confirm that a supported time zone is passed in Customization Specification.

On Linux, the guest operating system ‘root’ account does not have read/write permissions for the configuration files that the customization scripts need to modify (‘/etc/hosts’) Action: Grant read/write permissions for the configuration files to the guest operating system ‘root’ account

To enable guest customization on Linux, in case open-vm-tools are used, you must also install the deployPkg plug-in. Action: Follow kb.vmware.com/kb/2075048 to install the open-vm-tools deployPkg plug-in.

Customization of the target guest operating system is not supported Action: Consult with VMware on when the specific Linux distribution will be supported. If the Linux distribution is already supported in a newer release, consider upgrading.

Related events:

There are no related events.

 

We look at the C:WindowsTempvmware-imcguestcust.log in the vm and find the following:

 

 

The ERROR] More data available. is not very helpful. We have confirmed that the Admin account is correct on both the Template and in the Customization profile. Has anyone encountered this before?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.