A custom sysprep answer file is a file that stores a number of customization settings such as computer name, licensing information, and workgroup or domain settings. You can supply a custom sysprep answer file as an alternative to specifying many of the settings in the Guest Customization wizard.
Windows 2000, Windows Server 2003, and Windows XP use a text file called sysprep.inf. Windows Server 2008, Windows Vista, and Windows 7 use an XML file called sysprep.xml. You can create these files using a text editor, or use the Microsoft Setup Manager utility to generate them. For more information about how to create a custom sysprep answer file, see the documentation for the relevant operating system.
Ensure that all requirements for customization are met. See Guest Operating System Customization Requirements.
- From the vSphere Client Home page, select Customization Specifications Manager.
- Click the Create New Specification icon.
- In the Guest Customization wizard, select Windows from the Target Virtual Machine OS menu.
- (Optional) Select Use Custom Sysprep Answer File.
- Under Customization Specification Information, enter a name for the specification and an optional description and click Next.
- Select the option to import or create a sysprep answer file and click Next.
Option Description Import a Sysprep answer file Click Browse and browse to the file. Create a Sysprep answer file Type the contents of the file in the text box.
- Select the type of network settings to apply to the guest operating system.
Option Action Typical settings
Select Typical settings and click Next.
vCenter Server configures all network interfaces from a DHCP server using default settings.
- Select Custom settings and click Next.
- For each network interface in the virtual machine, click the ellipsis button (...) .
- Enter IP address and other network settings and click OK.
- When all network interfaces are configured, click Next.
- (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.
- 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.