Hi
I have read most of the posts on Technet regarding this but havent found an answer...
I have a database setup using TCPIP (cant use named pipes in my envrionment). It is populated with my test PC (serial No, MAC, UUID and Description).
Here is my cs.ini:
[Settings]
Priority=CSettings, CPackages, CApps, CAdmins, CRoles, Locations, LSettings, LPackages, LApps, LAdmins, LRoles, MMSettings, MMPackages, MMApps, MMAdmins, MMRoles, RSettings, RPackages, RApps, RAdmins, Default
Properties=MyCustomProperty,ComputerName
EventService=http://MDTSERVER:9800
[Default]
_SMSTSORGNAME=Slaughter and May
OSInstall=Yes
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipUserData=Yes
SkipDomainMembership=Yes
SkipLocaleSelection=Yes
SkipComputerName=Yes
UILanguage=en-US
userLocale=en-GB
keyboardLocale=en-GB
SkipTimeZone=Yes
TimeZoneName=GMT Standard Time
SkipSummary=Yes
EventService=http://MDTSERVER:9800
ComputerName=%ComputerName%
OSDComputerName=%ComputerName%
[Computers]
SQLSERVER=SQLSERVER
Database=MDTDB
NetLib=DBMSSOCN
DBID=SQLUSER
DBPWD=SQLPASSWORD
Table=ComputerIdentity
Parameters=ID, Description, MacAddress, UUID
ParameterCondition=OR
[CSettings]
SQLServer=SQLSERVER
Database=MDTDB
Netlib=DBMSSOCN
SQLShare=DeploymentShare$
DBID=SQLUSER
DBPWD=SQLPASSWORD
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR
We only do Rebuilds here, no refreshes run from desktop. All of our images are triggered by PXE. I need a way to pull the computer name from the database, based on the UUID/MAC/Serial whatever, into the build. I have tried the above with my TS and it always
gets called MININT-XXXXX no matter what. I have also tried to set the task sequence variable OSDCOMPUTERNAME to %computername%, but this doesnt seem to work either.