Preparing for Auto Configuration

Server Appliance Kit

Use the SAConfig utility (saconfig.exe) to configure your server appliance with OEM-specified initial settings. The saconfig.exe file is located in the oemtools\saconfig\bin directory on the Microsoft Server Appliance Kit 3.0 CD. You can also find sample registry information in the oemtools\saconfig\reg\SAConfigSample.reg file, and the sample oemconfigdll.dll in the oemtools\saconfig\bin directory. The saconfig.exe and oemconfigdll.dll files comprise the full executable file.

SAConfig checks the A drive to see if a disk is present, and then determines if the saconfig.inf file exists on the disk. If it finds the file, SAConfig uses the information in the saconfig.inf file to configure the appliance. If there is no configuration floppy or if the information file does not provide a host name and administrator password for the computer, SAConfig uses the oemconfigdll.dll file to generate a host name and administrator password.

The oemconfigdll.dll file provided with the Server Appliance Kit uses Windows Management Instrumentation (WMI) to read system parameters--for example, serial number and service tag--and uses those values to create the unique suffix for the host name and administrator password for the server appliance. SAConfig creates a unique host name and administrator password by concatenating a WMI object property value, for example, \\root\cimv2\Win32_Bios\SerialNumber, with a prefix that you set in the registry. SAConfig changes the host name and administrator password only if they are the same as the default values that were set when the server appliance master image was created.

To set up your server appliance for auto configuration

  1. Create a directory called SAConfig on the root directory of your system and copy saconfig.exe and oemconfigdll.dll to this directory.

    The saconfig.exe and oemconfigdll.dll files are found in the \oemtools\saconfig\bin folder on the Server Appliance Kit CD.

  2. Configure your custom registry settings on the target system. For more information, see Customizing SAConfig and the sample registry file on the Server Appliance Kit CD.

  3. Follow the instructions in Preparing the operating system for Replication.

After you follow these steps, each cloned image will execute saconfig.exe when started for the first time.

Related Topics

Page Graphic

Customizing SAConfig

Page Graphic

OEM-Provided DLL and Function