The geographic location of the target computers. A list of IP addresses that correspond to the default gateways defined for the computers within that location defines the Location property. An IP address for a default gateway can be associated with more than one location.

Typically, the value for the Location property is set by performing a database query on the database managed using Deployment Workbench. Deployment Workbench can assist in creating the locations, defining property settings associated with the locations, and then in configuring CustomSettings.ini to perform the database query for the Location property and the property settings associated with the locations.

For example, a LocationSettings section in CustomSettings.ini can query the LocationSettings view in the database for a list of locations that contain the value specified in the DefaultGateway property listed in the Parameters property. The query returns all settings associated with each default gateway.

Then the scripts parse each section that corresponds to the locations returned in the query. For example, the value [Springfield] and the section [Springfield-123 Oak Street-4th Floor] in CustomSettings.ini can represent the corresponding locations. This is an example of how one computer can belong to two locations. The [Springfield] section is for all computers in a larger geographic area (an entire city), and the [Springfield-123 Oak Street-4th Floor] section is for all computers on the fourth floor at 123 Oak Street, in Springfield.

 

Property configured by

 

 

Property applies to

 

BootStrap.ini

˜

 

LTI

˜

CustomSettings.ini

˜

 

 

 

MDT DB

˜

 

ZTI

˜

 

Value

Description

location1,

location2

The list of locations to be assigned to an individual computer or a group of computers

 

Example

[Settings]

Priority=LSettings, Default

 

[Default]

UserDataLocation=AUTO

DeployRoot=\\W2K3-SP1\Distribution$

OSInstall=YES

ScanStateArgs=/v:15 /o /c

LoadStateArgs=/v:7 /c

 

[LSettings]

SQLServer=w2k3-sp1

Instance=MDT2010

Database=MDTDB

Netlib=DBNMPNTW

SQLShare=SQL$

Table=LocationSettings

Parameters=DefaultGateway

 

[Springfield]

UDDir=%OSDComputerName%

UDShare=\\Springfield-FIL-01\UserData

 

[Springfield-123 Oak Street-4th Floor]

DeployRoot=\\Springfield-BDD-01\Distribution1$

 

Related Topics

Property Definition