Assign computernames based on their entry in the MDT database with SerialNumber and OSDComputerName

Proposed Assign computernames based on their entry in the MDT database with SerialNumber and OSDComputerName

  • Thursday, October 25, 2012 5:24 PM
     
     

    I'm trying to assign computernames based on their entry in the MDT database but I'm having trouble --what am I missing? 

    I'm using MDT 2012 integrated with SCCM 2012. I have MDT set up with SQL server, and I have run the 'configure database rules' wizard to configure a customsettings.ini, with all settings selected. I then copied this customsettings.ini file to my MDT Toolkit package that was created when I went through the 'create MDT Task Sequence' wizard. 

    * I'm pre-populating the MDT database with computers, and I want to use the SerialNumber field to identify each one; so for each computer object in the MDT database, I have only the SerialNumber and OSDComputername set. 

    In my SCCM task sequence, I have:

    - Use toolkit package
    - Gather
    - Set Task Sequence Variable: OSDComputerName=%OSDComputername%
    - Apply Windows Settings

    Many Many Thanks!

All Replies

  • Thursday, October 25, 2012 5:56 PM
     
     Proposed
    Your customsettings.ini file should be in your "settings" package not in the MDT Toolkit package.
  • Friday, October 26, 2012 4:24 AM
     
     

    Yes, I do have my customsettings.ini in my Settings package in SCCM. 

    Going through the logs, it looks like it is getting the name, but then reverting back to the MININT-*** name by the end of the task sequence. 


  • Friday, October 26, 2012 5:45 AM
     
     

    Can you post your ztigather.log file?

  • Thursday, November 01, 2012 12:28 PM
     
     

    We've got the exact same problem. Everything looks dandy in the BDD.log but in the end it applies the wrong computername.

    This is what ZTIGather.log looks like (removed all sections with Records returned from SQL = 0)

    Microsoft Deployment Toolkit version: 6.1.2369.0]<time="16:04:13." 
    The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]<time="16:04:13." 
    ------------------------- Object Initialization -------------------------]<time="16:04:13." 
    ------------------------- Initialization -------------------------]<time="16:04:13." 
    Synchronizing the environments.]<time="16:04:13." 
    Finished synchronizing the environments.]<time="16:04:13." 
    Getting OS info]<time="16:04:13." 
    Property OSCurrentVersion is now = 6.1.7600]<time="16:04:13." 
    Property OSCurrentBuild is now = 7600]<time="16:04:13." 
    Property OSVersion is now = WinPE]<time="16:04:13." 
    Property IsServerOS is now = False]<time="16:04:13." 
    Property IsServerCoreOS is now = False]<time="16:04:13." 
    Finished getting OS info]<time="16:04:13." 
    Getting HAL information]<time="16:04:13." 
    Property HALName is now = acpiapic
    Finished getting HAL information
    Getting network info
    Checking network adapter: [00000000] Realtek PCIe GBE Family Controller
    MAC address = AC:16:2D:46:69:EE
    IP Address = 192.168.135.26
    IP Address = fe80::8df9:7e6a:ea6a:8a5c
    Default Gateway = 192.168.135.1
    Property IPAddress001 is now = 192.168.135.26
    Property IPAddress002 is now = fe80::8df9:7e6a:ea6a:8a5c
    Property MacAddress001 is now = AC:16:2D:46:69:EE
    Property DefaultGateway001 is now = 192.168.135.1
    Finished getting network info
    Getting DP info
    ConfigMgr distribution point = G-AS-017.local.companyx.se
    Property SMSDP is now = G-AS-017.local.companyx.se
    Finished getting DP info
    Getting WDS server info
    Unable to determine WDS server name, probably not booted from WDS.
    Finished getting WDS server info
    Property HostName is now = MININT-CE1LS3O
    Getting asset info
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 0]<time="16:04:16." 
    RUN: regsvr32.exe /s "D:\_SMSTaskSequence\WDPackage\Tools\x86\Microsoft.BDD.Utility.dll"]<time="16:04:16." 
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 0]<time="16:04:16." 
    RUN: regsvr32.exe /s "D:\_SMSTaskSequence\WDPackage\Tools\x64\Microsoft.BDD.Utility.dll"]<time="16:04:16." 
    Property AssetTag is now = Chassis Asset Tag]<time="16:04:19." 
    Property SerialNumber is now = CND214NSX2]<time="16:04:19." 
    Property Make is now = Hewlett-Packard]<time="16:04:19." 
    Property Model is now = HP Folio 13 - 2000 Notebook PC]<time="16:04:19." 
    Property Product is now = 1899]<time="16:04:19." 
    Property UUID is now = 86D9E90D-9B74-E111-9517-AC162D4669EE]<time="16:04:19." 
    Property Memory is now = 4041]<time="16:04:19." 
    Property Architecture is now = X86]<time="16:04:19." 
    Property ProcessorSpeed is now = 1601]<time="16:04:19." 
    Property CapableArchitecture is now = AMD64 X64 X86]<time="16:04:19." 
    Property IsLaptop is now = True]<time="16:04:19." 
    Property IsDesktop is now = False]<time="16:04:19." 
    Property IsServer is now = False]<time="16:04:19." 
    Property IsUEFI is now = False]<time="16:04:19." 
    Property IsOnBattery is now = False]<time="16:04:19." 
    Property SupportsX86 is now = True]<time="16:04:19." 
    Property SupportsX64 is now = True]<time="16:04:19." 
    Property SupportsSLAT is now = False]<time="16:04:19." 
    Finished getting asset info]<time="16:04:19." 
    Getting OS SKU info]<time="16:04:19." 
    Unable to determine Windows SKU while in Windows PE.]<time="16:04:19." 
    Determining the Disk and Partition Number from the Logical Drive X:\WINDOWS]<time="16:04:19." 
    Property OriginalArchitecture is now = ]<time="16:04:19." 
    Property OriginalArchitecture is now = X64]<time="16:04:20." 
    Getting virtualization info]<time="16:04:20." 
    Property IsHypervisorRunning is now = False]<time="16:04:20." 
    Property SupportsVT is now = True]<time="16:04:20." 
    Property SupportsNX is now = True]<time="16:04:20." 
    Property Supports64Bit is now = True]<time="16:04:20." 
    Property SupportsHyperVRole is now = True]<time="16:04:20." 
    This computer does not appear to be a virtual machine (BIOS is 'HPQOEM - 1').]<time="16:04:20." 
    Property IsVM is now = False]<time="16:04:20." 
    Finished getting virtualization info]<time="16:04:20." 
    Connection succeeded to MicrosoftVolumeEncryption]<time="16:04:20." 
    There are no encrypted drives]<time="16:04:20." 
    Property IsBDE is now = False]<time="16:04:20." 
    Processing the  phase.]<time="16:04:20." 
    Determining the INI file to use.]<time="16:04:20." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:04:20." 
    Finished determining the INI file to use.]<time="16:04:20." 
    Added new custom property MODELOS]<time="16:04:20." 
    Using from [Settings]: Rule Priority = SETMODELOS, CAPPS, CADMINS, LOCATIONS, LAPPS, LADMINS, MMAPPS, MMADMINS, MMROLES, RSETTINGS, RAPPS, RADMINS, CPACKAGES, CROLES, LSETTINGS, LPACKAGES, LROLES, MMSETTINGS, MMPACKAGES, RPACKAGES, CSETTINGS, DEFAULT]<time="16:04:21." 

    ------ Processing the [SETMODELOS] section ------]<time="16:04:21." 
    Property MODELOS is now = HP Folio 13 - 2000 Notebook PC-Win7x64]<time="16:04:21." 
    Using from [SETMODELOS]: MODELOS = HP Folio 13 - 2000 Notebook PC-Win7x64]<time="16:04:21." 

    ------ Processing the [CSETTINGS] section ------]<time="16:05:00." 
    Determining the INI file to use.]<time="16:05:00." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:05:00." 
    Finished determining the INI file to use.]<time="16:05:00." 
    Using specified INI file = CustomSettings.ini]<time="16:05:00." 
    CHECKING the [CSETTINGS] section]<time="16:05:00." 
    Using from [CSETTINGS]: SQLServer = G-DB-006]<time="16:05:00." 
    Instance key not defined in the section [CSETTINGS]]<time="16:05:00." 
    Port key not defined in the section [CSETTINGS]]<time="16:05:00." 
    Using from [CSETTINGS]: Database = MDT_DEPLOY]<time="16:05:00." 
    Using from [CSETTINGS]: Netlib = DBNMPNTW]<time="16:05:00." 
    Using from [CSETTINGS]: Table = ComputerSettings]<time="16:05:00." 
    StoredProcedure key not defined in the section [CSETTINGS]]<time="16:05:00." 
    DBID key not defined in the section [CSETTINGS]]<time="16:05:00." 
    DBPwd key not defined in the section [CSETTINGS]]<time="16:05:00." 
    Using from [CSETTINGS]: SQLShare = DeploymentShare$]<time="16:05:00." 
    Using from [CSETTINGS]: ParameterCondition = OR]<time="16:05:00." 
    Validating connection to \\G-DB-006\DeploymentShare$]<time="16:05:00." 
    Already connected to server G-DB-006]<time="16:05:00." 
    OPENING TRUSTED SQL CONNECTION to server G-DB-006.]<time="16:05:00." 
    Connecting to SQL Server using connect string: Provider=SQLOLEDB;OLE DB Services=0;Data Source=G-DB-006;Initial Catalog=MDT_DEPLOY;Network Library=DBNMPNTW;Integrated Security=SSPI]<time="16:05:00." 
    Successfully opened connection to database.]<time="16:05:00." 
    About to issue SQL statement: SELECT * FROM ComputerSettings WHERE UUID = '86D9E90D-9B74-E111-9517-AC162D4669EE' OR ASSETTAG = 'Chassis Asset Tag' OR SERIALNUMBER = 'CND214NSX2' OR MACADDRESS IN ('AC:16:2D:46:69:EE')]<time="16:05:00." 
    Successfully queried the database.]<time="16:05:00." 
    Records returned from SQL = 1]<time="16:05:00." 
    Property COMPUTERNAME is now = XY-B2525]<time="16:05:00." 
    Obtained COMPUTERNAME value from SQL:  COMPUTERNAME = XY-B2525]<time="16:05:00." 
    Property OSDINSTALLSILENT is now = ]<time="16:05:00." 
    Obtained OSDINSTALLSILENT value from SQL:  OSDINSTALLSILENT = ]<time="16:05:00." 

    ------ Processing the [DEFAULT] section ------]<time="16:05:01." 
    Property SLSHARE is now = \\G-AS-017\DeployLogs$]<time="16:05:01." 
    Using from [DEFAULT]: SLSHARE = \\G-AS-017\DeployLogs$]<time="16:05:01." 
    Property SLSHAREDYNAMICLOGGING is now = \\G-AS-017\DeployLogs$]<time="16:05:01." 
    Using from [DEFAULT]: SLSHAREDYNAMICLOGGING = \\G-AS-017\DeployLogs$]<time="16:05:01." 
    Property USERDATALOCATION is now = NONE]<time="16:05:01." 
    Using from [DEFAULT]: USERDATALOCATION = NONE]<time="16:05:01." 
    Property KEYBOARDLOCALEPE is now = 041d:0000041d]<time="16:05:01." 
    Using from [DEFAULT]: KEYBOARDLOCALEPE = 041d:0000041d]<time="16:05:02." 
    Property SKIPCAPTURE is now = YES]<time="16:05:02." 
    Using from [DEFAULT]: SKIPCAPTURE = YES]<time="16:05:02." 
    <Message containing password has been suppressed>]<time="16:05:02." 
    <Message containing password has been suppressed>]<time="16:05:02." 
    Property SKIPPRODUCTKEY is now = YES]<time="16:05:02." 
    Using from [DEFAULT]: SKIPPRODUCTKEY = YES]<time="16:05:02." 
    ------ Done processing CustomSettings.ini ------]<time="16:05:02." 
    Property OSDComputerName is now = MININT-CE1LS3O]<time="16:05:02." 
    Remapping variables.]<time="16:05:02." 
    Property TaskSequenceID is now = ]<time="16:05:02." 
    Property DeploymentType is now = NEWCOMPUTER]<time="16:05:02." 
    Finished remapping variables.]<time="16:05:02." 
    ZTIGather processing completed successfully.]<time="16:05:02." 
    Microsoft Deployment Toolkit version: 6.1.2369.0]<time="16:18:08." 
    The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]<time="16:18:08." 
    Write all logging text to \\G-AS-017\DeployLogs$]<time="16:18:08." 
    Validating connection to \\G-AS-017\DeployLogs$]<time="16:18:08." 
    Property UserDomain is now = COMPANYX]<time="16:18:08." 
    Property UserID is now = SCCM-DEPLOY-CLIENT]<time="16:18:08." 
    <Message containing password has been suppressed>]<time="16:18:09." 
    Found Existing UNC Path Y:  = \\G-AS-017\DeployLogs$]<time="16:18:09." 
    Found Existing UNC Path Y:  = \\G-AS-017\DeployLogs$]<time="16:18:09." 
    Successfully established connection using supplied credentials.]<time="16:18:09." 
    ------------------------- Object Initialization -------------------------]<time="16:18:09." 
    ------------------------- Initialization -------------------------]<time="16:18:09." 
    Synchronizing the environments.]<time="16:18:09." 
    Finished synchronizing the environments.]<time="16:18:09." 
    Getting OS info]<time="16:18:09." 
    Property OSCurrentVersion is now = 6.1.7600]<time="16:18:09." 
    Property OSCurrentBuild is now = 7600]<time="16:18:09." 
    Property OSVersion is now = WinPE]<time="16:18:09." 
    Property IsServerOS is now = False]<time="16:18:09." 
    Property IsServerCoreOS is now = False]<time="16:18:09." 
    Finished getting OS info]<time="16:18:09." 
    Getting HAL information]<time="16:18:09." 
    Property HALName is now = acpiapic]<time="16:18:10." 
    Finished getting HAL information]<time="16:18:10." 
    Getting network info]<time="16:18:10." 
    Checking network adapter: [00000000] Realtek PCIe GBE Family Controller]<time="16:18:10." 
    MAC address = AC:16:2D:46:69:EE]<time="16:18:10." 
    IP Address = 192.168.135.26]<time="16:18:10." 
    IP Address = fe80::8df9:7e6a:ea6a:8a5c]<time="16:18:10." 
    Default Gateway = 192.168.135.1]<time="16:18:10." 
    Property IPAddress001 is now = 192.168.135.26]<time="16:18:10." 
    Property IPAddress002 is now = fe80::8df9:7e6a:ea6a:8a5c]<time="16:18:10." 
    Property MacAddress001 is now = AC:16:2D:46:69:EE]<time="16:18:10." 
    Property DefaultGateway001 is now = 192.168.135.1]<time="16:18:10." 
    Finished getting network info]<time="16:18:10." 
    Getting DP info]<time="16:18:10." 
    ConfigMgr distribution point = G-AS-017.local.companyx.se]<time="16:18:10." 
    Property SMSDP is now = G-AS-017.local.companyx.se]<time="16:18:10." 
    Finished getting DP info]<time="16:18:10." 
    Getting WDS server info]<time="16:18:10." 
    Unable to determine WDS server name, probably not booted from WDS.]<time="16:18:11." 
    Finished getting WDS server info]<time="16:18:11." 
    Property HostName is now = MININT-CE1LS3O]<time="16:18:11." 
    Getting asset info]<time="16:18:11." 
    Property AssetTag is now = Chassis Asset Tag]<time="16:18:13." 
    Property SerialNumber is now = CND214NSX2]<time="16:18:13." 
    Property Make is now = Hewlett-Packard]<time="16:18:13." 
    Property Model is now = HP Folio 13 - 2000 Notebook PC]<time="16:18:13." 
    Property Product is now = 1899]<time="16:18:13." 
    Property UUID is now = 86D9E90D-9B74-E111-9517-AC162D4669EE]<time="16:18:13." 
    Property Memory is now = 4041]<time="16:18:13." 
    Property Architecture is now = X86]<time="16:18:13." 
    Property ProcessorSpeed is now = 1601]<time="16:18:13." 
    Property CapableArchitecture is now = AMD64 X64 X86]<time="16:18:13." 
    Property IsLaptop is now = True]<time="16:18:13." 
    Property IsDesktop is now = False]<time="16:18:13." 
    Property IsServer is now = False]<time="16:18:13." 
    Property IsUEFI is now = False]<time="16:18:13." 
    Property IsOnBattery is now = False]<time="16:18:13." 
    Property SupportsX86 is now = True]<time="16:18:13." 
    Property SupportsX64 is now = True]<time="16:18:14." 
    Property SupportsSLAT = False]<time="16:18:14." 
    Finished getting asset info]<time="16:18:14." 
    Getting OS SKU info]<time="16:18:14." 
    Unable to determine Windows SKU while in Windows PE.]<time="16:18:14." 
    Determining the Disk and Partition Number from the Logical Drive X:\WINDOWS]<time="16:18:14." 
    Getting virtualization info]<time="16:18:14." 
    Property IsHypervisorRunning is now = False]<time="16:18:14." 
    Property SupportsVT is now = True]<time="16:18:14." 
    Property SupportsNX is now = True]<time="16:18:14." 
    Property Supports64Bit is now = True]<time="16:18:14." 
    Property SupportsHyperVRole is now = True]<time="16:18:14." 
    This computer does not appear to be a virtual machine (BIOS is 'HPQOEM - 1').]<time="16:18:14." 
    Property IsVM is now = False]<time="16:18:14." 
    Finished getting virtualization info]<time="16:18:14." 
    Connection succeeded to MicrosoftVolumeEncryption]<time="16:18:14." 
    There are no encrypted drives]<time="16:18:14." 
    Property IsBDE is now = False]<time="16:18:14." 
    Processing the  phase.]<time="16:18:14." 
    Determining the INI file to use.]<time="16:18:14." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:18:14." 
    Finished determining the INI file to use.]<time="16:18:14." 
    Added new custom property MODELOS]<time="16:18:15." 
    Using from [Settings]: Rule Priority = SETMODELOS, CAPPS, CADMINS, LOCATIONS, LAPPS, LADMINS, MMAPPS, MMADMINS, MMROLES, RSETTINGS, RAPPS, RADMINS, CPACKAGES, CROLES, LSETTINGS, LPACKAGES, LROLES, MMSETTINGS, MMPACKAGES, RPACKAGES, CSETTINGS, DEFAULT]<time="16:18:15." 
     
    ------ Processing the [RSETTINGS] section ------]<time="16:18:26." 
    Determining the INI file to use.]<time="16:18:26." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:18:26." 
    Finished determining the INI file to use.]<time="16:18:26." 
    Using specified INI file = CustomSettings.ini]<time="16:18:26." 
    CHECKING the [RSETTINGS] section]<time="16:18:26." 
    Using from [RSETTINGS]: SQLServer = G-DB-006]<time="16:18:26." 
    Instance key not defined in the section [RSETTINGS]]<time="16:18:26." 
    Port key not defined in the section [RSETTINGS]]<time="16:18:26." 
    Using from [RSETTINGS]: Database = MDT_DEPLOY]<time="16:18:26." 
    Using from [RSETTINGS]: Netlib = DBNMPNTW]<time="16:18:26." 
    Using from [RSETTINGS]: Table = RoleSettings]<time="16:18:26." 
    StoredProcedure key not defined in the section [RSETTINGS]]<time="16:18:26." 
    DBID key not defined in the section [RSETTINGS]]<time="16:18:26." 
    DBPwd key not defined in the section [RSETTINGS]]<time="16:18:26." 
    Using from [RSETTINGS]: SQLShare = DeploymentShare$]<time="16:18:26." 
    ParameterCondition key not defined in the section [RSETTINGS]]<time="16:18:26." 
    Default ParameterCondition 'AND' will be used for building queries with multiple parameters.]<time="16:18:26." 
    Validating connection to \\G-DB-006\DeploymentShare$]<time="16:18:26." 
    Already connected to server G-DB-006]<time="16:18:27." 
    OPENING TRUSTED SQL CONNECTION to server G-DB-006.]<time="16:18:27." 
    Connecting to SQL Server using connect string: Provider=SQLOLEDB;OLE DB Services=0;Data Source=G-DB-006;Initial Catalog=MDT_DEPLOY;Network Library=DBNMPNTW;Integrated Security=SSPI]<time="16:18:27." 
    Successfully opened connection to database.]<time="16:18:27." 
    About to issue SQL statement: SELECT * FROM RoleSettings WHERE ROLE IN ('BASE-Win7x64','ADM-Win7x64')]<time="16:18:27." 
    Successfully queried the database.]<time="16:18:27." 
    Records returned from SQL = 1]<time="16:18:27." 
     
    ------ Processing the [CSETTINGS] section ------]<time="16:18:55." 
    Determining the INI file to use.]<time="16:18:55." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:18:55." 
    Finished determining the INI file to use.]<time="16:18:55." 
    Using specified INI file = CustomSettings.ini]<time="16:18:56." 
    CHECKING the [CSETTINGS] section]<time="16:18:56." 
    Using from [CSETTINGS]: SQLServer = G-DB-006]<time="16:18:56." 
    Instance key not defined in the section [CSETTINGS]]<time="16:18:56." 
    Port key not defined in the section [CSETTINGS]]<time="16:18:56." 
    Using from [CSETTINGS]: Database = MDT_DEPLOY]<time="16:18:56." 
    Using from [CSETTINGS]: Netlib = DBNMPNTW]<time="16:18:56." 
    Using from [CSETTINGS]: Table = ComputerSettings]<time="16:18:56." 
    StoredProcedure key not defined in the section [CSETTINGS]]<time="16:18:56." 
    DBID key not defined in the section [CSETTINGS]]<time="16:18:56." 
    DBPwd key not defined in the section [CSETTINGS]]<time="16:18:56." 
    Using from [CSETTINGS]: SQLShare = DeploymentShare$]<time="16:18:56." 
    Using from [CSETTINGS]: ParameterCondition = OR]<time="16:18:56." 
    Validating connection to \\G-DB-006\DeploymentShare$]<time="16:18:56." 
    Already connected to server G-DB-006]<time="16:18:57." 
    OPENING TRUSTED SQL CONNECTION to server G-DB-006.]<time="16:18:57." 
    Connecting to SQL Server using connect string: Provider=SQLOLEDB;OLE DB Services=0;Data Source=G-DB-006;Initial Catalog=MDT_DEPLOY;Network Library=DBNMPNTW;Integrated Security=SSPI]<time="16:18:57." 
    Successfully opened connection to database.]<time="16:18:57." 
    About to issue SQL statement: SELECT * FROM ComputerSettings WHERE UUID = '86D9E90D-9B74-E111-9517-AC162D4669EE' OR ASSETTAG = 'Chassis Asset Tag' OR SERIALNUMBER = 'CND214NSX2' OR MACADDRESS IN ('AC:16:2D:46:69:EE')]<time="16:18:57." 
    Successfully queried the database.]<time="16:18:57." 
    Records returned from SQL = 1]<time="16:18:57." 
    Property OSDINSTALLSILENT is now = ]<time="16:18:57." 
    Obtained OSDINSTALLSILENT value from SQL:  OSDINSTALLSILENT = ]<time="16:18:57." 
    ------ Processing the [DEFAULT] section ------]<time="16:18:58." 
    ------ Done processing CustomSettings.ini ------]<time="16:18:59." 
    Remapping variables.]<time="16:18:59." 
    Property TaskSequenceID is now = ]<time="16:18:59." 
    Property DeploymentType is now = NEWCOMPUTER]<time="16:18:59." 
    Finished remapping variables.]<time="16:18:59." 
    ZTIGather processing completed successfully.]<time="16:18:59." 
    Microsoft Deployment Toolkit version: 6.1.2369.0]<time="16:34:11." 
    The task sequencer log is located at C:\WINDOWS\CCM\Logs\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]<time="16:34:11." 
    Write all logging text to \\G-AS-017\DeployLogs$]<time="16:34:11." 
    Validating connection to \\G-AS-017\DeployLogs$]<time="16:34:11." 
    Property UserDomain is now = COMPANYX]<time="16:34:11." 
    Property UserID is now = SCCM-DEPLOY-CLIENT]<time="16:34:11." 
    <Message containing password has been suppressed>]<time="16:34:11." 
    Found Existing UNC Path Z:  = \\G-AS-017\DeployLogs$]<time="16:34:11." 
    Found Existing UNC Path Z:  = \\G-AS-017\DeployLogs$]<time="16:34:11." 
    Successfully established connection using supplied credentials.]<time="16:34:11." 
    ------------------------- Object Initialization -------------------------]<time="16:34:11." 
    ------------------------- Initialization -------------------------]<time="16:34:11." 
    Synchronizing the environments.]<time="16:34:11." 
    Finished synchronizing the environments.]<time="16:34:11." 
    Getting OS info]<time="16:34:11." 
    Property OSCurrentVersion is now = 6.1.7601]<time="16:34:11." 
    Property OSCurrentBuild is now = 7601]<time="16:34:11." 
    Property OSVersion is now = Win7Client]<time="16:34:11." 
    Property IsServerOS is now = False]<time="16:34:11." 
    Property IsServerCoreOS is now = False]<time="16:34:11." 
    Finished getting OS info]<time="16:34:11." 
    Getting HAL information]<time="16:34:11." 
    Property HALName is now = acpiapic]<time="16:34:11." 
    Finished getting HAL information]<time="16:34:11." 
    Getting network info]<time="16:34:11." 
    Checking network adapter: [00000009] Realtek PCIe GBE Family Controller]<time="16:34:11." 
    MAC address = AC:16:2D:46:69:EE]<time="16:34:11." 
    IP Address = 192.168.135.26]<time="16:34:11." 
    IP Address = fe80::5c9f:9b24:c6ae:285c]<time="16:34:12." 
    Default Gateway = 192.168.135.1]<time="16:34:12." 
    Property IPAddress001 is now = 192.168.135.26]<time="16:34:12." 
    Property IPAddress002 is now = fe80::5c9f:9b24:c6ae:285c]<time="16:34:12." 
    Property MacAddress001 is now = AC:16:2D:46:69:EE]<time="16:34:12." 
    Property DefaultGateway001 is now = 192.168.135.1]<time="16:34:12." 
    Finished getting network info]<time="16:34:12." 
    Getting DP info]<time="16:34:12." 
    ConfigMgr distribution point = G-AS-017.local.companyx.se]<time="16:34:12." 
    Property SMSDP is now = G-AS-017.local.companyx.se]<time="16:34:12." 
    Finished getting DP info]<time="16:34:12." 
    Getting WDS server info]<time="16:34:12." 
    Unable to determine WDS server name, probably not booted from WDS.]<time="16:34:12." 
    Finished getting WDS server info]<time="16:34:12." 
    Property HostName is now = MININT-CE1LS3O]<time="16:34:12." 
    Getting asset info]<time="16:34:12." 
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 0]<time="16:34:13." 
    RUN: regsvr32.exe /s "C:\_SMSTaskSequence\WDPackage\Tools\x86\Microsoft.BDD.Utility.dll"]<time="16:34:13." 
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 0]<time="16:34:13." 
    RUN: regsvr32.exe /s "C:\_SMSTaskSequence\WDPackage\Tools\x64\Microsoft.BDD.Utility.dll"]<time="16:34:13." 
    Property AssetTag is now = Chassis Asset Tag]<time="16:34:14." 
    Property SerialNumber is now = CND214NSX2]<time="16:34:14." 
    Property Make is now = Hewlett-Packard]<time="16:34:14." 
    Property Model is now = HP Folio 13 - 2000 Notebook PC]<time="16:34:14." 
    Property Product is now = 1899]<time="16:34:14." 
    Property UUID is now = 86D9E90D-9B74-E111-9517-AC162D4669EE]<time="16:34:14." 
    Property Memory is now = 4041]<time="16:34:14." 
    Property Architecture is now = X64]<time="16:34:14." 
    Property ProcessorSpeed is now = 1601]<time="16:34:14." 
    Property CapableArchitecture is now = AMD64 X64 X86]<time="16:34:14." 
    Property IsLaptop is now = True]<time="16:34:14." 
    Property IsDesktop is now = False]<time="16:34:14." 
    Property IsServer is now = False]<time="16:34:14." 
    Property IsUEFI is now = False]<time="16:34:14." 
    Property IsOnBattery is now = False]<time="16:34:14." 
    Property SupportsX86 is now = True]<time="16:34:14." 
    Property SupportsX64 is now = True]<time="16:34:14." 
    Property SupportsSLAT = False]<time="16:34:14." 
    Finished getting asset info]<time="16:34:14." 
    Getting OS SKU info]<time="16:34:14." 
    Property OSSKU is now = PROFESSIONAL]<time="16:34:14." 
    Finished getting OS info]<time="16:34:14." 
    Determining the Disk and Partition Number from the Logical Drive C:\WINDOWS]<time="16:34:14." 
    Getting virtualization info]<time="16:34:14." 
    Property IsHypervisorRunning is now = False]<time="16:34:14." 
    Property SupportsVT is now = True]<time="16:34:14." 
    Property SupportsNX is now = True]<time="16:34:14." 
    Property Supports64Bit is now = True]<time="16:34:14." 
    Property SupportsHyperVRole is now = True]<time="16:34:14." 
    This computer does not appear to be a virtual machine (BIOS is 'HPQOEM - 1').]<time="16:34:14." 
    Property IsVM is now = False]<time="16:34:14." 
    Finished getting virtualization info]<time="16:34:14." 
    Connection succeeded to MicrosoftVolumeEncryption]<time="16:34:14." 
    There are no encrypted drives]<time="16:34:14." 
    Property IsBDE is now = False]<time="16:34:14." 
    Processing the  phase.]<time="16:34:14." 
    Only gathering local settings (no rules processing).]<time="16:34:14." 
    Determining the INI file to use.]<time="16:34:14." 
    Using COMMAND LINE ARG: Ini file = CustomSettings.ini]<time="16:34:14." 
    Finished determining the INI file to use.]<time="16:34:14." 
    Skipping rules processing.]<time="16:34:14." 
    Remapping variables.]<time="16:34:15." 
    Property TaskSequenceID is now = ]<time="16:34:15." 
    Property DeploymentType is now = NEWCOMPUTER]<time="16:34:15." 
    Finished remapping variables.]<time="16:34:15." 
    ZTIGather processing completed successfully.]<time="16:34:15." 

  • Thursday, November 01, 2012 1:35 PM
     
     
    Try to change: Set Task Sequence Variable: OSDComputerName=%OSDComputername% to Set Task Sequence Variable: OSDComputerName=%Computername%
  • Thursday, November 01, 2012 2:40 PM
     
     

    Thanks for the tip Henrik!

    I'll try that but the funny thing is that even if I in the MDT database set the OSDComputerName I still get the same result. What's even more funny is that it behaves diffrently depending on which hardware I try to deploy. I've got five different hardware types and it works on two of them but not the rest. I use the exact samt TS and settings files on all of them. Drivers doesn't seem to be the problem... as far as I can tell.