Zero Touch Installation Deployment Feature Team Guide

Appendix A: Sample Customsettings.ini Files

Published: August 27, 2005

The common scenarios for applying configuration settings by using Customsettings.ini include:

All workstation-based configuration settings in Customsettings.ini only.

All workstation-based configuration settings in the AdminDB database only.

Workstation-based configuration settings in both Customsettings.ini and the AdminDB database.

On This Page
Settings in Customsettings.ini OnlySettings in Customsettings.ini Only
Workstation Settings in AdminDB Database OnlyWorkstation Settings in AdminDB Database Only
Workstation Settings in AdminDB Database and Customsettings.iniWorkstation Settings in AdminDB Database and Customsettings.ini

Settings in Customsettings.ini Only

This sample Customsettings.ini file assumes that all the configuration settings are stored in the Customsettings.ini file. For examples that store configuration settings in the AdminDB database, see Workstations Settings in AdminDB Database Only and Workstation Settings in AdminDB database and Customsettings.ini later in this guide.

In this example, as illustrated in Listing 33, there is no SQL keyword in the Priority attribute and all the workstation-based configuration settings are in the [xx:xx:xx:xx:xx:xx] sections (where xx:xx:xx:xx:xx:xx is the MAC address of the workstation.

Note Some parts of the following code snippet have been displayed in multiple lines only for better readability. These should be entered in a single line.

[Settings]
Priority= MACADDRESS, DefaultGateway, Default
CustomKeysUserData=UDShare,UDDir,UDProfiles,SLShare,
OSInstall,Packages(*),Administrators(*)
CustomKeysSysprep=ComputerName,TimeZone,JoinDomain,
MachineObjectOU
OSDVariableKeys=OSDINSTALLSILENT,OSDINSTALLPACKAGE,
OSDINSTALLPROGRAM,OSDNEWMACHINENAME
ScanStateArgs=/i:miguser.inf /i:migapp.inf /i:migsys.inf 
/i:sysfiles.inf /i:updateuser.inf /v:7 /x /s /f /o /c
LoadStateArgs=/v:7 /c
UserExit=ZTIUserExit.vbs
 
[Default]
UDShare=\\NYC-AM-FIL-01\MigData
SLShare=\\NYC-AM-FIL-01\Logs
UDProfiles=*\*
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00001
OSDINSTALLPROGRAM=InstallXP
TimeZone=010
JoinDomain=WOODGROVEBANK
MachineObjectOU= OU=Workstations,DC=americas,DC=corp,
DC=woodgrovebank,DC=com
ComputerName=%OSDNEWMACHINENAME%
UDDir=%OSDCOMPUTERNAME%
OSInstall=Y
 
[DefaultGateway]
172.16.0.3=NYC
172.16.111.3=DALLAS
172.16.116.3=WASHINGTON
 
[NYC]
UDShare=\\NYC-AM-FIL-01\MigData
SLShare=\\NYC-AM-FIL-01\Logs
Packages1=NYC00010-Install
Packages2=NYC00011-Install
Administrator1=WOODGROVEBANK\NYC Help Desk Staff
 
[DALLAS]
UDShare=\\DAL-AM-FIL-01\MigData
SLShare=\\DAL-AM-FIL-01\Logs
SQLDefault=DB_DAL
Administrator1=WOODGROVEBANK\DAL Help Desk Staff
 
[WASHINGTON]
UDShare=\\WSG-AM-FIL-01\MigData
SLShare=\\WSG-AM-FIL-01\Logs
Administrator1=WOODGROVEBANK\WSG Help Desk Staff
 
[00:03:FF:CB:4E:C2]
OSDNEWMACHINENAME=WasW2K
TimeZone=004
 
[00:0F:20:35:DE:AC]
OSDNEWMACHINENAME=HPD530-1
TimeZone=008
 
[00:03:FF:FE:FF:FF]
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=SpecialXP
OSDNEWMACHINENAME=BVMXP
 
[SysprepInfMapping]
ComputerName=UserData
TimeZone=GuiUnattended
JoinDomain=Identification
MachineObjectOU=Identification

Listing 33. Example where workstation settings are in Customsettings.ini only

Workstation Settings in AdminDB Database Only

This sample Customsettings.ini file assumes that all the workstation configuration settings are stored in the AdminDB database. For examples that store configuration settings in Customsettings.ini, see Workstations Settings in Customsettings.ini Only earlier in this guide and Workstation Settings in AdminDB Database and Customsettings.ini later in this guide.

In this example, as illustrated in Listing 34, the SQL keyword is listed in the Priority attribute and all the workstation-based configuration settings are stored in the AdminDB database referenced by the [DB_xxx] sections (where xxx is NYC, DAL, and WSG).

Note Some parts of the following code snippet have been displayed in multiple lines only for better readability. These should be entered in a single line.

[Settings]
Priority= DefaultGateway, SQL, Default
CustomKeysUserData=UDShare,UDDir,UDProfiles,SLShare,
OSInstall,JoinDomain
CustomKeysSysprep=ComputerName,TimeZone,JoinDomain,
MachineObjectOU
OSDVariableKeys=OSDINSTALLSILENT,OSDINSTALLPACKAGE,
OSDINSTALLPROGRAM,OSDNEWMACHINENAME
ScanStateArgs=/i:miguser.inf /i:migapp.inf /i:migsys.inf 
/i:sysfiles.inf /i:updateuser.inf /v:7 /x /s /f /o /c
LoadStateArgs=/v:7 /c
UserExit=ZTIUserExit.vbs
 
[Default]
UDShare=\\NYC-AM-FIL-01\MigData
SLShare=\\NYC-AM-FIL-01\Logs
UDProfiles=*\*
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00001
OSDINSTALLPROGRAM=InstallXP
TimeZone=010
JoinDomain=americas.corp.woodgrovebank.com
MachineObjectOU= OU=Workstations,DC=americas,DC=corp,
DC=woodgrovebank,DC=com
ComputerName=%OSDNEWMACHINENAME%
UDDir=%OSDCOMPUTERNAME%
OSInstall=Y
 
[DefaultGateway]
172.16.0.3=NYC
172.16.111.3=DALLAS
172.16.116.3=WASHINGTON
 
[NYC]
SQLDefault=DB_NYC
 
[DALLAS]
SQLDefault=DB_DAL
 
[WASHINGTON]
SQLDefaul=DB_WSG
 
[DB_NYC]
SQLServer=NYC-AM-SMS-01
Database=BDDAdminDB
Table=BDDAdminCore
Parameters=MacAddress
 
[DB_DAL]
SQLServer=DAL-AM-FIL-01
Database=BDDAdminDB
Table=BDDAdminCore
Parameters=MacAddress
 
[DB_WSG]
SQLServer=WSG-AM-DC-01
Database=BDDAdminDB
Table=BDDAdminCore
Parameters=MacAddress
 
[SMS]
SQLServer=NYC-AM-SMS-01
Database=SMS_NYC
Table=v_Program
Parameters=PackageID,ProgramName
 
[SysprepInfMapping]
ComputerName=UserData
TimeZone=GuiUnattended
JoinDomain=Identification
MachineObjectOU=Identification

Listing 34. Example where workstation settings are in AdminDB database only

Workstation Settings in AdminDB Database and Customsettings.ini

This sample Customsettings.ini file assumes that all the configuration settings are stored in the Customsettings.ini file. For examples that store configuration settings in SQL Server, see Workstations Settings in Customsettings.ini Only and Workstation Settings in SQL Server Only earlier in this guide.

In this example, as illustrated in Listing 35, there is a MACADDRESS and a SQL keyword in the Priority attribute. The workstation-based configuration settings are found in the [xx:xx:xx:xx:xx:xx] sections and in the AdminDB database (where xx:xx:xx:xx:xx:xx is the MAC address of the workstation. This is a mixture of the two previous methods.

[Settings]
Priority= DefaultGateway, MACADDRESS, SQL, Default
CustomKeysUserData=UDShare,UDDir,UDProfiles,SLShare,
OSInstall,JoinDomain
CustomKeysSysprep=ComputerName,TimeZone,JoinDomain,
MachineObjectOU
OSDVariableKeys=OSDINSTALLSILENT,OSDINSTALLPACKAGE,
OSDINSTALLPROGRAM,OSDNEWMACHINENAME
ScanStateArgs=/i:miguser.inf /i:migapp.inf /i:migsys.inf 
/i:sysfiles.inf /i:updateuser.inf /v:7 /x /s /f /o /c
LoadStateArgs=/v:7 /c
UserExit=ZTIUserExit.vbs
 
[Default]
UDShare=\\NYC-AM-FIL-01\MigData
SLShare=\\NYC-AM-FIL-01\Logs
UDProfiles=*\*
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00001
OSDINSTALLPROGRAM=InstallXP
TimeZone=010
JoinDomain=americas.corp.woodgrovebank.com
MachineObjectOU= OU=Workstations,DC=americas,DC=corp,
DC=woodgrovebank,DC=com
ComputerName=%OSDNEWMACHINENAME%
UDDir=%OSDCOMPUTERNAME%
OSInstall=Y
 
[DefaultGateway]
172.16.0.3=NYC
172.16.111.3=DALLAS
172.16.116.3=WASHINGTON
 
[NYC]
UDShare=\\NYC-AM-FIL-01\MigData
SLShare=\\NYC-AM-FIL-01\Logs
UDProfiles=*\*
JoinDomain=americas.corp.woodgrovebank.com
MachineObjectOU= OU=Workstations,DC=americas,DC=corp,
DC=woodgrovebank,DC=com
SQLDefault=DB_NYC
 
[DALLAS]
UDShare=\\DAL-AM-FIL-01\MigData
SLShare=\\DAL-AM-FIL-01\Logs
JoinDomain=americas.corp.woodgrovebank.com
UDProfiles=*\*
SQLDefault=DB_DAL
 
[WASHINGTON]
UDShare=\\WSG-AM-DC-01\MigData
SLShare=\\WSG-AM-DC-01\Logs
UDProfiles=*\*
JoinDomain=americas.corp.woodgrovebank.com
 
[02:12:01:03:01:01]
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00004
OSDINSTALLPROGRAM=NYC_VM
OSDNEWMACHINENAME=WasCL01
TimeZone=004
 
[00:0D:56:9B:44:9E]
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=NYC_GX270
OSDNEWMACHINENAME=WasCL02
TimeZone=004
 
[00:0D:56:9B:42:5E]
'All CL03 info located on the AdminDB
'OSDINSTALLSILENT=1
'OSDINSTALLPACKAGE=NYC00002
'OSDINSTALLPROGRAM=NYC_GX270
'OSDNEWMACHINENAME=WasCL03
'TimeZone=004
 
[00:0B:CD:73:0E:CB]
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00002
OSDINSTALLPROGRAM=NYC_GX270
OSDNEWMACHINENAME=WasCL04
TimeZone=004
 
[00:0F:1F:A0:7E:60]
'Replacement scenario from CLI-04 to CLI-06
'UDDir is in AdminDB
OSDINSTALLSILENT=1
OSDINSTALLPACKAGE=NYC00003
OSDINSTALLPROGRAM=NYC_D600
OSDNEWMACHINENAME=WasCL06
'UDDIR=NYC-AM-CLI-04
TimeZone=004
 
[DB_NYC]
SQLServer=NYC-AM-SMS-01
Database=BDDAdminDB
Table=BDDAdminCore
Parameters=MacAddress
 
[DB_DAL]
SQLServer=DAL-AM-SMS-01
Database=BDDAdminDB
Table=BDDAdminCore
Parameters=MacAddress
 
[SMS]
SQLServer=NYC-AM-SMS-01
Database=SMS_NYC
Table=v_Program
Parameters=PackageID,ProgramName
 
[SysprepInfMapping]
ComputerName=UserData
TimeZone=GuiUnattended
JoinDomain=Identification
MachineObjectOU=Identification

Listing 35. Example where workstation settings are in Customsettings.ini and AdminDB database


Top of pageTop of pagePrevious12 of 25Next
**
In This Article
**