none
MDT 2013, D: Wim not applying after update from MDT 2010 to 2013 RRS feed

  • Question

  • Updated MDT from MDT 2010 Update 1 to MDT 2012 Update 1, uninstalled WAIK, Installed MDT 2013, and then ADK, Upgraded all Deployment shares along the way, and now the extra drive (D:) Wim will not apply to Drive, i have tried two different ways to handle the said action, the first was using the Unattend.xml, adding the  DataImage Action, the other was using an Imagex command from the MDT task sequence. neither is applying the Wim, before the upgrade this worked. has any one else had this issue? 

    Thank you, 

    Dane Zittritsch

    Thinix Support Manager

    Friday, April 11, 2014 5:46 PM

Answers

All replies

  • Debes actualizar tu ADK 8.1 para MDT 2013 aquí el link http://www.microsoft.com/es-mx/download/details.aspx?id=39982 en caso de que utilices un sistema operativo update, recuerda que tienes que desinstalar le adk antiguo e instalar el nuevo

    saludos y espero y te sirva


    Freelance-IT http://www.freelance-it.com.mx

    Friday, April 11, 2014 6:24 PM
  • Jesús - Please post in English only.


    Keith Garner - keithga.wordpress.com

    Tuesday, April 15, 2014 7:10 AM
    Moderator
  • HOw do you know it didn't work? Do you have any logs from the operation? and/or any relevant sections from the ts.xml file? How are you applying it?

    Keith Garner - keithga.wordpress.com

    Tuesday, April 15, 2014 7:11 AM
    Moderator
  • I moved from MDT 2010 to MDT 2013 and its just not working, i have tried a few different methods, the old way we used the Unattend.xml and placed a install order and that always worked, but now i am trying to use Imagex and its not applying the wim, when i get in the image the D:\ (Second Drive) is missing files.  Now here is the weird part, if i re-run the task sequence the D WIM is applied, but that's counter productive. i will apply my TS.xml information. 

    Ts.xml

    <?xml version="1.0"?>
       -<sequence description="A complete task sequence for deploying a client operating system" name="Standard Client Task Sequence" version="3.00"> -<globalVarList> <variable name="OSGUID" property="OSGUID">{52bb4035-96e5-46f3-9d17-3d2a363895c3}</variable>

          <variable name="DestinationDisk" property="DestinationDisk">0</variable>

          <variable name="DestinationPartition" property="DestinationPartition">2</variable>

         <variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable>

         <variable name="DestinationOSRefresh" property="DestinationOSRefresh"/>

         <variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"/>

         <variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByDiskPartition</variable>

    </globalVarList>

    -<group description="Initialize the TS environment" name="Initialization" expand="true" continueOnError="false" disable="false">

    - <step description="" name="Gather local only" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Gather"> -<defaultVarList> <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable> <variable name="RulesFile" property="RulesFile"/> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action> </step> </group> -<group description="Test" name="Validation" expand="true" continueOnError="false" disable="false"> -<condition> -<operator type="or"> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">VALIDATION</variable> </expression> </operator> </condition> -<step description="" name="Validate" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Validate"> -<defaultVarList> <variable name="ImageSize" property="ImageSize">0</variable> <variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable> <variable name="ImageMemory" property="ImageMemory">768</variable> <variable name="VerifyOS" property="VerifyOS">CLIENT</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIValidate.wsf"</action> </step> -<step description="" name="Check BIOS" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIBIOSCheck.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Next Phase" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="State Capture" expand="true" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">STATECAPTURE</variable> </expression> </condition> -<step description="" name="Next Phase" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="Preinstall" expand="true" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">PREINSTALL</variable> </expression> </condition> -<step description="" name="Gather local only" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Gather"> -<defaultVarList> <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable> <variable name="RulesFile" property="RulesFile"/> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action> </step> -<group description="" name="New Computer only" expand="true" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">DeploymentType</variable> <variable name="Operator">equals</variable> <variable name="Value">NEWCOMPUTER</variable> </expression> </condition> -<step description="" name="Validate" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Validate"> -<defaultVarList> <variable name="ImageSize" property="ImageSize">0</variable> <variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable> <variable name="ImageMemory" property="ImageMemory">768</variable> <variable name="VerifyOS" property="VerifyOS">CLIENT</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIValidate.wsf"</action> </step> -<step description="" name="Format and Partition Disk" continueOnError="false" disable="true" successCodeList="0 3010" type="SMS_TaskSequence_PartitionDiskAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="OSDDiskIndex" property="DiskIndex">0</variable> <variable name="DONotCreateExtraPartition" property="DONotCreateExtraPartition"/> <variable name="OSDPartitions0Type" property="Partitions0Type">Primary</variable> <variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable> <variable name="OSDPartitions0Bootable" property="Partitions0Bootable">True</variable> <variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">True</variable> <variable name="OSDPartitions0VolumeName" property="Partitions0VolumeName">OSDisk</variable> <variable name="OSDPartitions0Size" property="Partitions0Size">100</variable> <variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable> <variable name="OSDPartitions0VolumeLetterVariable" property="Partitions0VolumeLetterVariable">OSDisk</variable> <variable name="OSDPartitions" property="Partitions">1</variable> <variable name="OSDPartitionStyle" property="PartitionStyle">MBR</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIDiskpart.wsf"</action> </step> -<step description="You can change the size of the partition(s) in the \Scripts\WinRE\DiskConfig.txt file. Make sure your partition is large enough to hold the recovery image if you install alot of software. Current configuration is 160GB for recovery, 60 for OS, 10 for scratch" name="Format and Partition Disk [Custom]" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010 BETA\Configure-HDD.cmd"</action> </step> -<step description="" name="Copy scripts" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<step description="" name="Configure" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Inject Drivers" continueOnError="false" disable="false" successCodeList="0 3010" type="BDD_InjectDrivers" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="DriverSelectionProfile" property="DriverSelectionProfile">Dell OptiPlex 790</variable> <variable name="DriverInjectionMode" property="DriverInjectionMode">ALL</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action> </step> -<step description="" name="Apply Patches" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_InstallUpdatesOffline"> <action>cscript.exe "%SCRIPTROOT%\ZTIPatches.wsf"</action> -<defaultVarList> <variable name="PackageSelectionProfile" property="PackageSelectionProfile">All Packages</variable> </defaultVarList> </step> -<step description="" name="Next Phase" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="Install" expand="true" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">INSTALL</variable> </expression> </condition> -<step description="" name="[Custom] Apply D Wim " continueOnError="false" disable="true" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\DWim.exe"</action> </step> -<step description="" name="Install Operating System" continueOnError="false" disable="false" successCodeList="0 3010" type="BDD_InstallOS" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="OSGUID" property="OSGUID">{52bb4035-96e5-46f3-9d17-3d2a363895c3}</variable> <variable name="DestinationDisk" property="DestinationDisk">0</variable> <variable name="DestinationPartition" property="DestinationPartition">2</variable> <variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"/> <variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable> <variable name="DestinationOSRefresh" property="DestinationOSRefresh"/> <variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByDiskPartition</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf"</action> </step> -<step description="" name="Restart computer" continueOnError="false" disable="false" successCodeList="0 3010" type="SMS_TaskSequence_RebootAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="SMSRebootMessage" property="Message"/> <variable name="SMSRebootTimeout" property="MessageTimeout">60</variable> <variable name="SMSRebootTarget" property="Target"/> </defaultVarList> <action>smsboot.exe /target:WinPE</action> </step> -<step description="" name="Next Phase" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="Postinstall" expand="true" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">POSTINSTALL</variable> </expression> </condition> -<step description="" name="Copy Scripts" continueOnError="false" disable="true" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Configure" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="Applies the D: wim to System " name="Apply Scratch Drive" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"\\thinix-dev1\navyImage$\Tools\x86\imagex.exe" /apply "\\thinix-dev1\navyImage$\Operating Systems\navycnic-gen_20131226100000\navycnic-gen_20131226100000_ddrive.wim" 1 D:\</action> </step> -<step description="" name="Inject Drivers" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIdrivers.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<group description="" name="Custom Tasks" expand="true" continueOnError="false" disable="false"> -<step description="Makes sure there is no Boot Config files on C drive and changes them to R drive:" name="Recovery Partition" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\Re-assign DriveLetter.cmd"</action> </step> -<step description="" name="[Custom] Apply D Wim " continueOnError="false" disable="true" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\DWim.exe"</action> </step> -<step description="" name="[Custom] TDRBCD" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\TDRBCD.exe"</action> </step> -<step description="" name="[Custom] Apply D Wim " continueOnError="false" disable="true" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="PackageID" property="PackageID"/> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\DWim.exe"</action> </step> </group> -<step description="" name="Next Phase" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Set Phase" continueOnError="false" disable="false" successCodeList="0 3010" type="SMS_TaskSequence_SetVariableAction"> -<defaultVarList> <variable name="VariableName" property="VariableName">PHASE</variable> <variable name="VariableValue" property="VariableValue">STATERESTORE</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action> </step> </group> -<group description="" name="State Restore" expand="false" continueOnError="false" disable="true"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">PHASE</variable> <variable name="Operator">equals</variable> <variable name="Value">STATERESTORE</variable> </expression> </condition> -<step description="" name="Gather local only" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Gather"> -<defaultVarList> <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable> <variable name="RulesFile" property="RulesFile"/> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action> </step> -<step description="" name="Post-Apply Cleanup" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Recover From Domain " continueOnError="false" disable="false" successCodeList="0 3010" type="BDD_RecoverDomainJoin" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="DomainErrorRecovery" property="DomainErrorRecovery">Auto</variable> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIDomainJoin.wsf" </action> </step> -<step description="" name="Tattoo" continueOnError="true" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTITatoo.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Opt In to CEIP and WER" continueOnError="true" disable="true" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIOptIn.wsf" /CEIP:YES /WER:YES</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Windows Update (Pre-Application Installation)" continueOnError="true" disable="true" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Install Applications" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_InstallApplication"> <action>cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"</action> -<defaultVarList> <variable name="ApplicationGUID" property="ApplicationGUID"/> <variable name="ApplicationSuccessCodes" property="ApplicationSuccessCodes">0 3010</variable> </defaultVarList> </step> -<step description="" name="Windows Update (Post-Application Installation)" continueOnError="true" disable="true" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> <group description="" name="Custom Tasks" expand="true" continueOnError="false" disable="false"/> -<step description="" name="Enable BitLocker" continueOnError="true" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_EnableBitLockerAction"> <action>cscript.exe "%SCRIPTROOT%\ZTIBde.wsf"</action> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">BdeInstallSuppress</variable> <variable name="Operator">notEquals</variable> <variable name="Value">YES</variable> </expression> </condition> -<defaultVarList> <variable name="OSDBitLockerTargetDrive" property="BdeTargetDriveLetter"/> <variable name="OSDBitLockerMode" property="BdeInstall">TPM</variable> <variable name="OSDBitLockerStartupKeyDrive" property="BdeKeyLocation"/> <variable name="OSDBitLockerCreateRecoveryPassword" property="BdeRecoveryPassword">AD</variable> <variable name="OSDBitLockerWaitForEncryption" property="WaitForEncryption">false</variable> </defaultVarList> </step> -<step description="" name="Restore User State" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Restore Groups" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Apply Local GPO Package" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIApplyGPOPack.wsf"</action> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">ApplyGPOPack</variable> <variable name="Operator">notEquals</variable> <variable name="Value">NO</variable> </expression> </condition> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<group description="" name="Imaging" expand="false" continueOnError="false" disable="false"> <action/> -<group description="" name="Prepare Only" expand="false" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">DoCapture</variable> <variable name="Operator">equals</variable> <variable name="Value">PREPARE</variable> </expression> </condition> -<step description="" name="Copy Sysprep files" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="Sysprep Only" expand="false" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">DoCapture</variable> <variable name="Operator">equals</variable> <variable name="Value">SYSPREP</variable> </expression> </condition> -<step description="" name="Add mass storage drivers to sysprep.inf for XP and 2003" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Execute Sysprep" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> -<group description="" name="Capture Image" expand="false" continueOnError="false" disable="false"> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">DoCapture</variable> <variable name="Operator">equals</variable> <variable name="Value">YES</variable> </expression> </condition> -<step description="" name="Apply Windows PE" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE /STAGE</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Add mass storage drivers to sysprep.inf for XP and 2003" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Execute Sysprep" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Apply Windows PE (BCD)" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%_SMSTSMDataPath%\Scripts\LTIApply.wsf" /PE /BCD</action> -<condition> -<expression type="SMS_TaskSequence_VariableConditionExpression"> <variable name="Variable">ImageBuild</variable> <variable name="Operator">greaterEqual</variable> <variable name="Value">6</variable> </expression> </condition> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> -<step description="" name="Restart computer" continueOnError="false" disable="false" successCodeList="0 3010" type="SMS_TaskSequence_RebootAction" runIn="WinPEandFullOS"> -<defaultVarList> <variable name="Message" property="Message"/> <variable name="MessageTimeout" property="MessageTimeout">60</variable> <variable name="Target" property="Target"/> </defaultVarList> <action>smsboot.exe /target:WinPE</action> </step> -<step description="" name="Gather local only" continueOnError="false" disable="false" startIn="" successCodeList="0 3010" type="BDD_Gather"> -<defaultVarList> <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable> <variable name="RulesFile" property="RulesFile"/> </defaultVarList> <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action> </step> -<step description="" name="Create WIM" continueOnError="false" disable="false" startIn="" successCodeList="0 3010"> <action>cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"</action> -<defaultVarList> <variable name="RunAsUser" property="RunAsUser">false</variable> <variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"/> <variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"/> <variable name="LoadProfile" property="LoadProfile">false</variable> </defaultVarList> </step> </group> </group> </group> </sequence>


    Thursday, April 17, 2014 2:04 PM
  • I asked for the "relevant *sections* from the ts.xml file", yet you sent the whole ts.xml file unformatted, which is difficult to read.

    Architecturally, this does not make sense to me.

    First of all I don't see how you are creating the "D" drive. Is it being handled in the "%SCRIPTROOT%\Dell_Optiplex_7010 BETA\Configure-HDD.cmd" script? why do you need to configure the HDD here, ZTIDiskPart.wsf should do most partitioning operations.

    Secondly, I can see this step in the TS:

    <step description="" name="[Custom] Apply D Wim " continueOnError="false" disable="true" startIn="" successCodeList="0 3010" type="SMS_TaskSequence_RunCommandLineAction" runIn="WinPEandFullOS"> <defaultVarList> <!-- Blah -->
    </defaultVarList> <action>"%SCRIPTROOT%\Dell_Optiplex_7010\DWim.exe"</action> </step>

    However, I have never heard of DWim.exe, I assume that it is designed to apply the associated wim file to the D: drive?  Note that when you put this command in the WinPE phases of the Task Sequence (like Pre-Install, Install, and Post Install), there is not guarantee that the drive letters will match what the full OS will use. (In fact even with the full OS, you might get non-deterministic drive letter assignments for non-OS partition volumes.

    Instead I would put the command to apply the wim file to the D: partition in the State Restore phase of the OS installation, I would also ensure that the command to write the partition do not make the assumption of drive letters, instead they write out to the 2nd non-OS volume.

    -k


    Keith Garner - keithga.wordpress.com

    Thursday, April 17, 2014 3:56 PM
    Moderator