Share via


Preparing for Auto Configuration

Use SAConfig.exe to configure your Windows Powered server appliance with OEM-specified initial settings. SAConfig.exe can be found in the oemtools\saconfig\bin directory on your Server Appliance Kit 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 machine, SAConfig proceeds to use the oemconfigdll.dll file for generating a host name and administrator password.

The OEMConfigDLL.DLL file uses Windows Management Instrumentation (WMI) to read system parameters — for example, serial number and service tag — and uses those values to create a 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 will only change the host name and administrator password if they are still the same as the defaults that were set at the factory.

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.

    Saconfig.exe and OEMConfigDLL.DLL are found under the \oemtools\saconfig\bin directory in the Server Appliance Kit CD.

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

  3. Follow the instructions in Preparing the OS for Replication.

After running sysprep, each cloned image will then execute SAConfig.exe on first boot.

Customizing SAConfig

OEM-Provided DLL and Function

Command-Line Options for Saconfig.exe