With the exception of two make & models, all machines will get the same Task Sequence. I was trying to customize the CS.ini for those two system types (focusing on one at a time until I was confident I had it working right) and in doing that I broke something. Now when I run cscript //nologo D:\DeploymentShare\Scripts\ZTIGather.wsf /debug:true It seems to run fine up to a point then errors out:
PS H:\> cscript //nologo D:\DeploymentShare\Scripts\ZTIGather.wsf /debug:true 'debug' parameter was specified. Property debug is now = TRUE Microsoft Deployment Toolkit version: 6.0.2223.0 ------------------------- Object Initialization ------------------------- SUCCESS: 0: Create object: Set oScriptClass = New ZTIGather ------------------------- Initialization ------------------------- Update progress [ 1 ] : Initializing. Synchronizing the environments. Finished synchronizing the environments. Update progress [ 10 ] : Getting local computer information: Operating system Getting OS info Property OSCurrentVersion is now = 6.1.7601 Property OSCurrentBuild is now = 7601 Property OSVersion is now = 2008R2 Property IsServerOS is now = True Property IsServerCoreOS is now = False Finished getting OS info SUCCESS: 0: GetOSVersion for Gather process Update progress [ 15 ] : Getting local computer information: HAL Getting HAL information Property HALName is now = acpiapic Finished getting HAL information Update progress [ 20 ] : Getting local computer information: Networking Getting network info Checking network adapter: [00000007] Intel(R) PRO/1000 MT Network Connection MAC address = 00:00:00:00:00:00 IP Address = 192.168.105.112 IP Address = feee::111:999:1000:5555 Default Gateway = 192.168.105.1 Property IPAddress001 is now = 192.168.105.112 Property IPAddress002 is now = feee::111:999:1000:5555 Property MacAddress001 is now = 00:00:00:00:00:00 Property DefaultGateway001 is now = 192.168.105.1 Finished getting network info SUCCESS: 0: GetNetworkInfo for Gather process Update progress [ 25 ] : Getting local computer information: Distribution point Getting DP info Unable to determine ConfigMgr distribution point Finished getting DP info Update progress [ 30 ] : Getting local computer information: Windows Deployment ServicesGetting WDS server info Unable to determine WDS server name, probably not booted from WDS. Finished getting WDS server info Update progress [ 30 ] : Getting local computer information: Host name Property HostName is now = wds-mdt-server Update progress [ 30 ] : Getting local computer information: Asset information Getting asset info Property AssetTag is now = No Asset Tag Property SerialNumber is now = VMware-56 4d 49 ea 9a 30 be 22-a5 55 c1 10 36 3f 02 e4 Property Make is now = VMware, Inc. Property Model is now = VMware Virtual Platform Property Product is now = 440BX Desktop Reference Platform Property UUID is now = EA494D56-309A-22BE-A555-C110363F02E4 Property Memory is now = 6143 Property Architecture is now = X64 Property ProcessorSpeed is now = 2660 Property CapableArchitecture is now = AMD64 X64 X86 Property IsLaptop is now = False Property IsDesktop is now = False Property IsServer is now = False Property IsUEFI is now = False Property IsOnBattery is now = False Finished getting OS info SUCCESS: 0: GetAssetInfo for Gather process Update progress [ 35 ] : Getting local computer information: Operating system Getting OS SKU info Property OSSKU is now = SERVERSTANDARD Finished getting OS info SUCCESS: 0: GetOSSKU for Gather process Update progress [ 40 ] : Getting local computer information: Operating system Determining the Disk and Partition Number from the Logical Drive C:\Windows SUCCESS: 0: GetCurrentOSInfo for Gather process Update progress [ 45 ] : Getting local computer information: Virtualization Getting virtualization info Property IsHypervisorRunning is now = True Property SupportsVT is now = False Property SupportsNX is now = False Property Supports64Bit is now = True Property SupportsHyperVRole is now = False Property IsVM is now = True Property VMPlatform is now = VMware Finished getting virtualization info Processing the phase.Determining the INI file to use. FindFile: The file CustomSettings.ini could not be found in any standard locations. Finished determining the INI file to use. Update progress [ 100 ] : Gathering complete, but no INI file found. Unable to find rules INI file, rc = 1 ZTI ERROR - Non-zero return code by ZTIGather, rc = 8000
The CustomSettings.ini file exists in the Control directory, and I only have one. What gives?
Short of creating a new deployment share (or starting from scratch), I'm not sure what to do.
CustomSettings.ini Below
[Settings] Priority=Default, DefaultGateway, SysSerial, SysModel, ModelAlias, ComputerName, Final Properties=Site, DebugEcho, SysSerial, SysModel, ModelAlias [Default] DeployRoot=\\wds-mdt-server.f.q.d.n\DeploymentShare$ SLShare=\\wds-mdt-server.f.q.d.n\deploymentshare$\Logs SLShareDynamicLogging=\\wds-mdt-server.f.q.d.n\deploymentshare$\Logs EventService=http://wds-mdt-server.f.q.d.n:9800 OSInstall=YES SkipWizard=YES SkipFinalSummary=YES DeploymentType=NEWCOMPUTER SkipAdminPassword=YES AdminPassword=securep455w0rd! 'SkipDomainMembership=YES 'JoinDomain=DOMAIN 'DomainAdmin=AD-Admin 'DomainAdminDomain=DOMAIN 'DomainAdminPassword=@nOTh3Rsecurep455w0rd! SkipTaskSequence=YES 'Most workstations should be using this Task Sequence TaskSequenceID=APW7_002 KeyboardLocale=en-US UserLocale=en-US UILanguage=en-US TimeZone=035 TimeZoneName=Eastern Standard Time [DefaultGateway] 192.168.105.1=VLAN105 192.168.44.1=DC 192.168.43.1=DC 192.168.42.1=DC 192.168.41.1=DC 192.168.40.1=DC 192.168.39.1=DC 192.168.38.1=DC 192.168.37.1=DC 192.168.36.1=DC 192.168.35.1=DC 192.168.34.1=DC 192.168.33.1=DC 192.168.32.1=DC 192.168.31.1=DC 192.168.30.1=DC 192.168.29.1=DC 192.168.28.1=DC 192.168.27.1=DC 192.168.26.1=DC 192.168.25.1=DC 192.168.24.1=DC 192.168.23.1=DC 192.168.22.1=DC 192.168.21.1=DC 192.168.18.1=JPDESK [DC] DeployRoot=\\wds-mdt-server.f.q.d.n\DeploymentShare$ Site=DC _SMSTSOrgName=A&P %Site% Imaging (CS) [MYDESK] _SMSTSOrgName=A&P Workstation Architect Mode DeployRoot=\\wds-mdt-server.f.q.d.n\DeploymentShare$ OSInstall=Y SkipCapture=NO SkipAdminPassword=NO SkipProductKey=NO SkipComputerBackup=NO SkipBitLocker=NO SkipTaskSequence=NO '------------------BEGIN EDITS HERE Site=MYDSK OSDComputerName=%Site%-%SysModel%-%SysSerial% DebugEcho=True [VLAN105] DeployRoot=\\wds-mdt-server.f.q.d.n\DeploymentShare$ Site=VLAN105 _SMSTSOrgName=A&P %Site% WDS Imaging (CS) DebugEcho=True OSDComputerName=%Site%-%SysModel%-%SysSerial% [SysSerial] UserExit=SysSerial.vbs SysSerial=#SetSerial()# [SysModel] UserExit=SysModel.vbs SysModel=#SetSysModel()# [X20] SkipTaskSequence=YES 'Task Sequence unique to this system type TaskSequenceID=CITRIX-001 [ComputerName] ComputerName=%Site%-%SysModel%-%SysSerial% OSDComputerName=%Site%-%SysModel%-%SysSerial% [Final] '_SMSTSOrgName=A&P %Site% Imaging