Task Sequence only to join to domain
-
Wednesday, September 12, 2012 1:22 PM
Hi guys,
Could anyone please let me know how I can create a custom Task Sequence that would only join a PC to the domain? I would like to have the Wizard ask for credentials and chosen OU and simply run the script to join to domain. So far when I create a custom TS and add Recover from Domain step, the deployment wizard does not ask for anything and then simply fails when attempting to join...
If there is more info to provide, please let me know
thanks
Kuba
All Replies
-
Wednesday, September 12, 2012 1:47 PM
Hi Jakub,
there's a template that could help you, it's the "post os install" template, it does a little more than you want but you can always remove or disable the unwanted tasks.
to launch it, you only have to connect to the DS and launch litetouch.vbs
David Sebban | Nelite North America | My Blog | Follow me on twitter : @davidsebban
-
Wednesday, September 12, 2012 2:20 PM
HI Dave,
Thanks for answering. I created a TS using that template, but It still won't ask me for details regarding joining to the domain...it does ask for Restoring user files and enabling bit locker, but that is it. I would like to have a TS that is designed specifically for joining to domain in case the previous deployment failed at that stage and I would like it to run in Windows already, not from windows PE.
For example when I created a TS using a template Custon Task Sequence, I added option Install Applications and the wizard asks me what apps to install and launches it. I want the same thing to be in my TS for joining to domain.Appreciate any input.
Jakub
-
Wednesday, September 12, 2012 3:01 PM
Hi,
To control the wizards display, you must set the properties into your customsettings.ini (like SkipDomainMembershib=NO into a TS section for example). The list of the properties are described into the MDT chm.
Julien Darakdjian [Nelite] - Mon blog
Voir
le profil de Julien DARAKDJIAN

-
Wednesday, September 12, 2012 3:14 PM
Hi Julien,
Thanks for your reply. I actually have this thing set up in my customsettings.ini file. It looks like this:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=YES
SkipAppsOnUpgrade=YES
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipDomainMembership=NO
ComputerBackupLocation=NETWORK
BackupShare=\\SERVER\\DeploymentShare\Captures
BackupDir=%OSDComputerName%
JoinDomain=domain.com
DomainAdmin=serviceaccount
DomainAdminDomain=domain.com
DomainAdminPassword=PassAm I still missing something? I really want only one window in the wizard to allow me to specify the OU details, as I have many OUs and don't feel like moving Computers from the default OU everytime I add one to the domain.
Thanks
Jakub
-
Wednesday, September 12, 2012 3:43 PM
The conditions to execute the wizard you want are :
<Pane id="ComputerName" reference="DeployWiz_ComputerName.xml"> <Condition><![CDATA[UCase(Property("SkipDomainMembership"))<>"YES" or UCase(Property("SkipComputerName"))<>"YES"]]></Condition> <Condition><![CDATA[Property("DeploymentType")<>"REPLACE" and Property("DeploymentType")<>"CUSTOM" and Property("DeploymentType") <> "StateRestore" ]]></Condition> </Pane>You can see the initialized proprties into BDD.log file.
Hope that helps you.
Julien Darakdjian [Nelite] - Mon blog
Voir
le profil de Julien DARAKDJIAN

-
Thursday, September 13, 2012 2:27 PM
Julien,
I looked into the BDD.log file and I here's what I have:
<![LOG[Property SKIPDOMAINMEMBERSHIP is now = NO]LOG]!><time="10:13:43.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPDOMAINMEMBERSHIP = NO]LOG]!><time="10:13:43.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
Seems like even though I have it overridden to NO, it still won't ask me for details...
-
Thursday, September 13, 2012 3:43 PMpaste the entire bdd.log please
David Sebban | Nelite North America | My Blog | Follow me on twitter : @davidsebban
-
Thursday, September 13, 2012 4:07 PM
<![LOG[Property LogPath is now = C:\MININT\SMSOSD\OSDLOGS]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property Debug is now = FALSE]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[GetAllFixedDrives(False)]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[No task sequence is in progress.]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property SMSTSLocalDataDrive is now = C:]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property DeploymentMethod is now = UNC]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[DeploymentMethod = UNC]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property DeployRoot is now = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Validating connection to \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Already connected to server chathamfinancial.com as that is where this script is running from.]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[DeployRoot = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property DeployDrive is now = ]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[DeployDrive = ]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property PHASE is now = VALIDATION]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Phase = VALIDATION]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[About to run command: wscript.exe "\\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Scripts\ZTIGather.wsf" /inifile:Bootstrap.ini]LOG]!><time="11:59:57.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property inifile is now = Bootstrap.ini]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------------------------- Object Initialization -------------------------]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------------------------- Initialization -------------------------]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Synchronizing the environments.]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DeployRoot is now = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished synchronizing the environments.]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting OS info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSCurrentVersion is now = 6.1.7601]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSCurrentBuild is now = 7601]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSVersion is now = Win7Client]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsServerOS is now = False]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsServerCoreOS is now = False]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting OS info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting HAL information]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property HALName is now = acpiapic]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting HAL information]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting network info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Checking network adapter: [00000007] Intel(R) 82579LM Gigabit Network Connection]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[MAC address = 18:03:73:D9:80:A7]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[IP Address = 192.168.27.52]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[IP Address = fe80::64b3:4895:6a:4388]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Default Gateway = 192.168.27.254]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IPAddress001 is now = 192.168.27.52]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IPAddress002 is now = fe80::64b3:4895:6a:4388]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property MacAddress001 is now = 18:03:73:D9:80:A7]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DefaultGateway001 is now = 192.168.27.254]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting network info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting DP info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[SMS distribution Share = chathamfinancial.com]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SMSDP is now = chathamfinancial.com]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting DP info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting WDS server info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Unable to determine WDS server name, probably not booted from WDS.]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting WDS server info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property HostName is now = B1D044]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting asset info]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Unable to determine asset tag via WMI.]LOG]!><time="11:59:58.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x86\Microsoft.BDD.Utility.dll"]LOG]!><time="11:59:59.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll"]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[FAILURE (Err): 70: CreateObject(Microsoft.BDD.Utility) - Permission denied]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="2" thread="" file="ZTIGather"> <![LOG[Property AssetTag is now = ]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SerialNumber is now = 7N7TJS1]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property Make is now = Dell Inc.]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property Model is now = Precision T1600]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property Product is now = 06NWYK]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property UUID is now = 4C4C4544-004E-3710-8054-B7C04F4A5331]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property Memory is now = 8148]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property Architecture is now = X64]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property ProcessorSpeed is now = 3101]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property CapableArchitecture is now = AMD64 X64 X86]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsLaptop is now = False]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsDesktop is now = True]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsServer is now = False]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property IsUEFI is now = False]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting OS info]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting OS SKU info]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSSKU is now = ENTERPRISE]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished getting OS info]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Determining the Disk and Partition Number from the Logical Drive C:\Windows]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OriginalArchitecture is now = X64]LOG]!><time="12:00:00.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OriginalDiskIndex is now = 0]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OriginalDiskPartition is now = 1]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[The logical drive was found on Disk and Partition ]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OriginalWindir is now = C:\Windows]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Note: OriginalWindir May change in the new OS, use OriginalDiskIndex and OriginalDiskPartition to determine real drive]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Getting virtualization info]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x86\Microsoft.BDD.Utility.dll"]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll"]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[FAILURE (Err): 70: CreateObject(Microsoft.BDD.Utility) - Permission denied]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="2" thread="" file="ZTIGather"> <![LOG[FAILURE (Err): 424: GetVirtualizationInfo for Gather process - Object required]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="2" thread="" file="ZTIGather"> <![LOG[Processing the VALIDATION phase.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Determining the INI file to use.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished determining the INI file to use.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [Settings]: Rule Priority = DEFAULT]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------ Processing the [DEFAULT] section ------]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DEPLOYROOT is now = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: DEPLOYROOT = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property USERID is now = svc-mdtbuild-p]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: USERID = svc-mdtbuild-p]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property USERDOMAIN is now = chathamfinancial.com]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: USERDOMAIN = chathamfinancial.com]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property KEYBOARDLOCALE is now = en-US]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: KEYBOARDLOCALE = en-US]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SKIPBDDWELCOME is now = YES]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPBDDWELCOME = YES]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------ Done processing \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Control\Bootstrap.ini ------]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Remapping variables.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property TaskSequenceID is now = ]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DeploymentType is now = ]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished remapping variables.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[ZTIGather processing completed successfully.]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Validating connection to \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="12:00:01.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Already connected to server chathamfinancial.com as that is where this script is running from.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x86\Microsoft.BDD.Utility.dll"]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[RUN: regsvr32.exe /s "C:\Users\jfuczek\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll"]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[FAILURE (Err): 70: CreateObject(Microsoft.BDD.Utility) - Permission denied]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="LiteTouch" context="" type="2" thread="" file="LiteTouch"> <![LOG[About to run command: wscript.exe "\\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Scripts\ZTIGather.wsf" /nolocalonly]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property nolocalonly is now = ]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------------------------- Object Initialization -------------------------]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------------------------- Initialization -------------------------]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Synchronizing the environments.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DeployRoot is now = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished synchronizing the environments.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Skipping local settings gathering because it has already been done.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Processing the VALIDATION phase.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Determining the INI file to use.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using DEFAULT VALUE: Ini file = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Control\CustomSettings.ini]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished determining the INI file to use.]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Added new custom property MYCUSTOMPROPERTY]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [Settings]: Rule Priority = DEFAULT]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------ Processing the [DEFAULT] section ------]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSINSTALL is now = YES]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: OSINSTALL = YES]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property JOINDOMAIN is now = chathamfinancial.com]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: JOINDOMAIN = chathamfinancial.com]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DOMAINADMIN is now = svc-mdtjoin-p]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: DOMAINADMIN = svc-mdtjoin-p]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DOMAINADMINDOMAIN is now = chathamfinancial.com]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: DOMAINADMINDOMAIN = chathamfinancial.com]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property COMPUTERBACKUPLOCATION is now = NETWORK]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: COMPUTERBACKUPLOCATION = NETWORK]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property BACKUPSHARE is now = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Captures]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: BACKUPSHARE = \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Captures]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property BACKUPDIR is now = %OSDComputerName%]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: BACKUPDIR = %OSDComputerName%]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SKIPCAPTURE is now = NO]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPCAPTURE = NO]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SKIPAPPSONUPGRADE is now = YES]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPAPPSONUPGRADE = YES]LOG]!><time="12:00:02.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SKIPDOMAINMEMBERSHIP is now = NO]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPDOMAINMEMBERSHIP = NO]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property SKIPPRODUCTKEY is now = YES]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Using from [DEFAULT]: SKIPPRODUCTKEY = YES]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[------ Done processing \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Control\CustomSettings.ini ------]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Remapping variables.]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property TaskSequenceID is now = ]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property DeploymentType is now = ]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSDNetworkJoinType is now = 0]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSDDomainName is now = chathamfinancial.com]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Property OSDJoinAccount is now = chathamfinancial.com\svc-mdtjoin-p]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[<Message containing password has been suppressed>]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Finished remapping variables.]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[ZTIGather processing completed successfully.]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="ZTIGather" context="" type="1" thread="" file="ZTIGather"> <![LOG[Validating connection to \\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Already connected to server chathamfinancial.com as that is where this script is running from.]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[About to run command: MSHTA.exe "\\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Scripts\Wizard.hta" /definition:DeployWiz_Definition_ENU.xml]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property definition is now = DeployWiz_Definition_ENU.xml]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Not Wizard = False]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property WizardComplete is now = N]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[ Open Control File: TaskSequences]LOG]!><time="12:00:03.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[ERROR: Invalid OS GUID {70197aea-bf5c-4c6b-a2b3-cc2b5ca0af82} specified for task sequence KSQ]LOG]!><time="12:00:04.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property TaskSequenceID is now = JOINTODOMAIN]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence Item: //step[@type='BDD_InstallOS']]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence step of type //step[@type='BDD_InstallOS'] = ]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Task Sequence does not contain an OS and does not contain a LTIApply.wsf step, possibly a Custom Step or a Client Replace.]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[DeploymentType = CUSTOM]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property ImageProcessor is now = ]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property OSGUID is now = ]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property TaskSequenceName is now = Join to Domain]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Property TaskSequenceVersion is now = 1.0]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence Item: //step[@type='BDD_InstallOS']]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence step of type //step[@type='BDD_InstallOS'] = ]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[ Open Control File: Applications]LOG]!><time="12:00:06.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence Item: //step[@type='BDD_InstallApplication' and ./defaultVarList/variable[@name='ApplicationGUID'] and ./defaultVarList[variable='']]]LOG]!><time="12:00:07.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[Found Task Sequence step of type //step[@type='BDD_InstallApplication' and ./defaultVarList/variable[@name='ApplicationGUID'] and ./defaultVarList[variable='']] = ]LOG]!><time="12:00:07.000+000" date="09-13-2012" component="Wizard" context="" type="1" thread="" file="Wizard"> <![LOG[CleanStartItems Complete]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[TSCore.dll not found, not unregistering.]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[About to run command: wscript.exe "\\chathamfinancial.com\dfsroot\applications\images\hardware\mdt\DeploymentShare\Scripts\LTICleanup.wsf"]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Property DestinationDisk is now = 0]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Property DestinationPartition is now = 1]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Property DestinationLogicalDrive is now = C:]LOG]!><time="12:00:16.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Removing AutoAdminLogon registry entries]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[No Windows PE image to delete.]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Checking mapped network drive.]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[testing drive H: mapped to \\chathamfinancial.com\home\krakow\store0\jfuczek\private]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[testing drive N: mapped to \\chathamfinancial.com\dfsroot]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[testing drive P: mapped to \\chathamfinancial.com\home]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Cleaning up C:\MININT directory.]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Cleaning up TOOLS, SCRIPTS, and PACKAGES directories.]LOG]!><time="12:00:17.000+000" date="09-13-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">as requested -
Thursday, September 13, 2012 5:44 PM
The wizard is behaving as expected. In Julien's post you will notice the conditions on the Join Domain wizard pane. It is not presented if the DeploymentType is REPLACE, CUSTOM or STATERESTORE. The log file that you posted says DeploymentType=CUSTOM, so the pane will not be displayed.
You would have to play around with the conditions to get it to display when you want it to.
-
Thursday, September 13, 2012 5:54 PM
Hi,
I didn't say it's not behaving as expected, I assume it just needs a little tweak to display it. I know you are right, but could you please direct me which file should I modify to make the deployment wizard receive the DeploymentType with value that would allow for those options to be presented?Thanks
Jakub
-
Thursday, September 13, 2012 7:28 PM
what you could do is try to invoke the wizard inside your TS with something like
mshta.exe DeployWiz_ComputerName.xml
David Sebban | Nelite North America | My Blog | Follow me on twitter : @davidsebban
-
Friday, September 14, 2012 3:38 PM
David's suggestion could work. Invoking the wizard within the task sequence might display what you are looking for. The syntax would be:
mshta.exe "%SCRIPTROOT%\Wizard.hta" /definition:DeployWiz_ComputerName.xml
I just wonder if it will pop up behind the task sequence progress bar.
You may have to use a custom script to close the progress bar and launch the wizard. The following should work. Save it in the scripts directory as LaunchWizardPane.wsf and call it from the task sequence.
<job id="LaunchWizardPane"> <script language="VBScript" src="..\..\scripts\ZTIUtility.vbs"/> <script language="VBScript" src="..\..\scripts\ZTIDataAccess.vbs"/> <script language="VBScript"> '//---------------------------------------------------------------------------- '// Solution: Hydration '// Purpose: run a specific MDT Wizard Pane '// Usage: cscript LaunchWizardPane.wsf [/debug:true] '// '//---------------------------------------------------------------------------- '//---------------------------------------------------------------------------- '// Global constant and variable declarations '//---------------------------------------------------------------------------- Dim iRetVal '//---------------------------------------------------------------------------- '// End declarations '//---------------------------------------------------------------------------- '//---------------------------------------------------------------------------- '// Main routine '//---------------------------------------------------------------------------- On Error Resume Next iRetVal = ZTIProcess ProcessResults iRetVal On Error Goto 0 '//--------------------------------------------------------------------------- '// '// Function: ZTIProcess() '// '// Input: None '// '// Return: Success - 0 '// Failure - non-zero '// '// Purpose: Perform main ZTI processing '// '//--------------------------------------------------------------------------- Function ZTIProcess() sWizardPaneFile = "DeployWiz_ComputerName.xml" Set TsProgressUI = CreateObject("Microsoft.SMS.TsProgressUI") TsProgressUI.CloseProgressDialog oShell.Run "mshta.exe """ & oEnvironment.Item("ScriptRoot") & "\Wizard.hta"" /definition:" & sWizardPaneFile, 1, True ZTIProcess = Success End Function </script> </job>

