Use the Guest Customization wizard to save Windows guest operating system settings in a specification that you can apply when cloning virtual machines or deploying from templates.

Note

The default administrator password is not preserved for Windows Server 2008 after customization. During customization, the Windows Sysprep utility deletes and recreates the administrator account on Windows Server 2008. You must reset the administrator password when the virtual machine starts the first time after customization.

Ensure that all requirements for customization are met. See Guest Operating System Customization Requirements.

1

From the vSphere Client Home inventory page, select Rules and Profiles > Customization Specification Manager.

2

Click the Create a new specification icon to open the New VM Guest Customization Spec wizard.

3

Select Windows from the Target VM Operating System drop-down menu, and enter a name and optional description for the specification and click Next.

4

On the Set Registration Information page, type the virtual machine owner’s name and organization and click Next.

5

Enter the guest operating system's computer name.

The operating system uses this name to identify itself on the network. On Linux systems, it is called the host name.

Option

Action

Enter a name

a

Type a name.

The name can contain alphanumeric characters and the hyphen (-) character. It cannot contain periods (.) or blank spaces and cannot be made up of digits only. Names are not case-sensitive.

b

(Optional) To ensure that the name is unique, select Append a numeric value to ensure uniqueness. This action appends a hyphen followed by a numeric value to the virtual machine name. The name is truncated if it exceeds 63 characters when combined with the numeric value.

Use the virtual machine name

The computer name that vCenter Server creates is identical to the name of the virtual machine on which the guest operating system is running. If the name exceeds 63 characters, it is truncated.

Enter a name in the Clone/Deploy wizard

The vSphere Client prompts you to enter a name after the cloning or deployment is complete.

Generate a name using the custom application configured with vCenter Server

Enter a parameter that can be passed to the custom application.

6

Provide licensing information for the Windows operating system and click Next.

Option

Action

For nonserver operating systems

Type the Windows product key for the new guest operating system.

For server operating systems

a

Type the Windows product key for the new guest operating system.

b

Select Include Server License Information.

c

Select either Per seat or Per server.

d

If you selectPer server, enter the maximum number of simultaneous connections for the server to accept.

7

Configure the administrator password for the virtual machine and click Next.

a

Type a password for the administrator account and confirm the password by typing it again.

Note

You can change the administrator password only if the administrator password on the source Windows virtual machine is blank. If the source Windows virtual machine or template already has a password, the administrator password does not change.

b

(Optional) To log users into the guest operating system as Administrator, select the check box, and select the number of times to log in automatically.

8

Select the time zone for the virtual machine and click Next.

9

(Optional) On the Run Once page, specify commands to run the first time a user logs into the guest operating system and click Next.

See the Microsoft Sysprep documentation for information about RunOnce commands.

10

Select the type of network settings to apply to the guest operating system.

Option

Action

Standard settings

Select Use standard network settings and click Next.

vCenter Server configures all network interfaces from a DHCP server using default settings.

Custom settings

a

Select Manually select custom settings.

b

For each network interface in the virtual machine, click the pencil icon.

c

Enter IP address and other network settings and click OK.

d

When all network interfaces are configured, click Next.

11

Select how the virtual machine will participate in the network and click Next.

Option

Action

Workgroup

Type a workgroup name. For example, MSHOME.

Windows Server Domain

a

Type the domain name.

b

Type the user name and password for a user account that has permission to add a computer to the specified domain.

12

(Optional) Select Generate New Security ID (SID) and click Next.

A Windows Security ID (SID) is used in some Windows operating systems to uniquely identify systems and users. If you do not select this option, the new virtual machine has the same SID as the virtual machine or template from which it was cloned or deployed.

Duplicate SIDs do not cause problems when the computers are part of a domain and only domain user accounts are used. However, if the computers are part of a Workgroup or local user accounts are used, duplicate SIDs can compromise file access controls. For more information, see the documentation for your Microsoft Windows operating system.

13

Click Finish to save your changes.

The customization specification that you created is listed in the Customization Specification Manager. You can use the specification to customize virtual machine guest operating systems.