Advertisement
OmegaMastodon

ts.xml

Jun 14th, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 26.00 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <sequence version="3.00" name="Standard Client Task Sequence" description="A complete task sequence for deploying a client operating system">
  3.   <globalVarList>
  4.     <variable name="OSGUID" property="OSGUID">{492d8a93-33eb-484f-8ab4-71fa4772b6a3}</variable>
  5.     <variable name="DestinationDisk" property="DestinationDisk">0</variable>
  6.     <variable name="DestinationPartition" property="DestinationPartition">1</variable>
  7.     <variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable>
  8.     <variable name="DestinationOSRefresh" property="DestinationOSRefresh"></variable>
  9.     <variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"></variable>
  10.     <variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByVariable</variable>
  11.   </globalVarList>
  12.   <group name="Initialization" disable="false" continueOnError="false" description="Initialize the TS environment" expand="false">
  13.     <step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  14.       <defaultVarList>
  15.         <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
  16.         <variable name="RulesFile" property="RulesFile"></variable>
  17.       </defaultVarList>
  18.       <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
  19.     </step>
  20.   </group>
  21.   <group name="Validation" disable="false" continueOnError="false" description="Test" expand="false">
  22.     <condition>
  23.       <operator type="or">
  24.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  25.           <variable name="Variable">PHASE</variable>
  26.           <variable name="Operator">equals</variable>
  27.           <variable name="Value">VALIDATION</variable>
  28.         </expression>
  29.       </operator>
  30.     </condition>
  31.     <step type="BDD_Validate" name="Validate" successCodeList="0 3010" description="" startIn="" disable="false" continueOnError="false">
  32.       <defaultVarList>
  33.         <variable name="ImageSize" property="ImageSize">0</variable>
  34.         <variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable>
  35.         <variable name="ImageMemory" property="ImageMemory">768</variable>
  36.         <variable name="VerifyOS" property="VerifyOS">CLIENT</variable>
  37.       </defaultVarList>
  38.       <action>cscript.exe "%SCRIPTROOT%\ZTIValidate.wsf"</action>
  39.     </step>
  40.     <step name="Check BIOS" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  41.       <action>cscript.exe "%SCRIPTROOT%\ZTIBIOSCheck.wsf"</action>
  42.     </step>
  43.     <step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  44.       <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
  45.     </step>
  46.   </group>
  47.   <group name="State Capture" description="" disable="false" continueOnError="false" expand="false">
  48.     <condition>
  49.       <expression type="SMS_TaskSequence_VariableConditionExpression">
  50.         <variable name="Variable">PHASE</variable>
  51.         <variable name="Operator">equals</variable>
  52.         <variable name="Value">STATECAPTURE</variable>
  53.       </expression>
  54.     </condition>
  55.       <step type="SMS_TaskSequence_RunCommandLineAction" name="Generate Application Migration File" description="" disable="false" continueOnError="false" successCodeList="0 3010" runIn="WinPEandFullOS" startIn="">
  56.         <defaultVarList>
  57.           <variable name="PackageID" property="PackageID"></variable>
  58.         </defaultVarList>
  59.         <action>cscript.exe "%SCRIPTROOT%\ZTIAppXmlGen.wsf" /capture</action>
  60.       </step>
  61.       <step name="Capture User State" successCodeList="0 3010" description="" startIn="" disable="false" continueOnError="false">
  62.         <condition>
  63.           <expression type="SMS_TaskSequence_VariableConditionExpression">
  64.             <variable name="Variable">USMTOfflineMigration</variable>
  65.             <variable name="Operator">notEquals</variable>
  66.             <variable name="Value">TRUE</variable>
  67.           </expression>
  68.         </condition>
  69.         <action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /capture</action>
  70.       </step>
  71.       <step name="Capture Groups" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  72.         <action>cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /capture</action>
  73.       </step>
  74.       <step name="Capture Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
  75.         <action>cscript.exe "%ScriptRoot%\ZTINicConfig.wsf"</action>
  76.       </step>
  77.     <group name="Refresh only" disable="false" continueOnError="false" description="" expand="false">
  78.       <condition>
  79.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  80.           <variable name="Variable">DeploymentType</variable>
  81.           <variable name="Operator">equals</variable>
  82.           <variable name="Value">REFRESH</variable>
  83.         </expression>
  84.       </condition>
  85.       <step type="SMS_TaskSequence_RunCommandLineAction" name="Disable BDE Protectors" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
  86.         <defaultVarList>
  87.           <variable name="PackageID" property="PackageID"></variable>
  88.         </defaultVarList>
  89.         <action>cscript.exe "%SCRIPTROOT%\ZTIDisableBDEProtectors.wsf"</action>
  90.       </step>
  91.       <step name="Apply Windows PE" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  92.         <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE</action>
  93.       </step>
  94.     </group>
  95.     <step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  96.       <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
  97.     </step>
  98.     <group name="Refresh only" disable="false" continueOnError="false" expand="true" description="">
  99.       <condition>
  100.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  101.           <variable name="Variable">DeploymentType</variable>
  102.           <variable name="Operator">equals</variable>
  103.           <variable name="Value">REFRESH</variable>
  104.         </expression>
  105.       </condition>
  106.       <step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  107.         <defaultVarList>
  108.           <variable name="Message" property="Message"></variable>
  109.           <variable name="MessageTimeout" property="MessageTimeout">60</variable>
  110.           <variable name="Target" property="Target"></variable>
  111.         </defaultVarList>
  112.         <action>smsboot.exe /target:WinPE</action>
  113.       </step>
  114.     </group>
  115.   </group>
  116.   <group name="Preinstall" disable="false" continueOnError="false" description="" expand="false">
  117.     <condition>
  118.       <expression type="SMS_TaskSequence_VariableConditionExpression">
  119.         <variable name="Variable">PHASE</variable>
  120.         <variable name="Operator">equals</variable>
  121.         <variable name="Value">PREINSTALL</variable>
  122.       </expression>
  123.     </condition>
  124.     <step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  125.       <defaultVarList>
  126.         <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
  127.         <variable name="RulesFile" property="RulesFile"></variable>
  128.       </defaultVarList>
  129.       <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
  130.     </step>
  131.     <group name="New Computer only" disable="false" continueOnError="false" description="" expand="false">
  132.       <condition>
  133.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  134.           <variable name="Variable">DeploymentType</variable>
  135.           <variable name="Operator">equals</variable>
  136.           <variable name="Value">NEWCOMPUTER</variable>
  137.         </expression>
  138.       </condition>
  139.       <step type="BDD_Validate" name="Validate" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  140.         <defaultVarList>
  141.           <variable name="ImageSize" property="ImageSize">0</variable>
  142.           <variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable>
  143.           <variable name="ImageMemory" property="ImageMemory">768</variable>
  144.           <variable name="VerifyOS" property="VerifyOS">CLIENT</variable>
  145.         </defaultVarList>
  146.         <action>cscript.exe "%SCRIPTROOT%\ZTIValidate.wsf"</action>
  147.       </step>
  148.       <step type="SMS_TaskSequence_PartitionDiskAction" name="Format and Partition Disk" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  149.         <defaultVarList>
  150.           <variable name="OSDDiskIndex" property="DiskIndex">0</variable>
  151.           <variable name="OSDPartitions0Type" property="Partitions0Type">Primary</variable>
  152.           <variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable>
  153.           <variable name="OSDPartitions0Bootable" property="Partitions0Bootable">True</variable>
  154.           <variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">True</variable>
  155.           <variable name="OSDPartitions0VolumeName" property="Partitions0VolumeName">OSDisk</variable>
  156.           <variable name="OSDPartitions0Size" property="Partitions0Size">100</variable>
  157.           <variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable>
  158.           <variable name="OSDPartitions0VolumeLetterVariable" property="Partitions0VolumeLetterVariable">OSDisk</variable>
  159.           <variable name="OSDPartitions" property="Partitions">1</variable>
  160.           <variable name="OSDPartitionStyle" property="PartitionStyle">MBR</variable>
  161.         </defaultVarList>
  162.         <action>cscript.exe "%SCRIPTROOT%\ZTIDiskpart.wsf"</action>
  163.       </step>
  164.       <step name="Copy scripts" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  165.         <action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action>
  166.       </step>
  167.     </group>
  168.     <group name="Offline User State Capture" disable="false" continueOnError="false" description="" expand="false">
  169.       <condition>
  170.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  171.           <variable name="Variable">USMTOfflineMigration</variable>
  172.           <variable name="Operator">Equals</variable>
  173.           <variable name="Value">TRUE</variable>
  174.         </expression>
  175.       </condition>
  176.       <step type="SMS_TaskSequence_RunCommandLineAction" name="Offline User State Capture" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
  177.         <action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /capture</action>
  178.       </step>
  179.       <step type="SMS_TaskSequence_RunCommandLineAction" name="Unload USMT Hive" description="" disable="false" continueOnError="true" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
  180.         <action>cmd /c REG UNLOAD HKLM\$DEST$SOFTWARE</action>
  181.       </step>
  182.     </group>
  183.     <group name="Refresh only" disable="false" continueOnError="false" description="" expand="false">
  184.       <condition>
  185.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  186.           <variable name="Variable">DeploymentType</variable>
  187.           <variable name="Operator">equals</variable>
  188.           <variable name="Value">REFRESH</variable>
  189.         </expression>
  190.       </condition>
  191.       <step name="Backup" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  192.         <action>cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"</action>
  193.       </step>
  194.     </group>
  195.     <step name="Configure" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  196.       <action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action>
  197.     </step>
  198.     <step type="SMS_TaskSequence_RunCommandLineAction" name="Enable BitLocker (Offline)" description="" disable="false" continueOnError="true" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
  199.       <action>cscript.exe "%SCRIPTROOT%\ZTIBDE.wsf"</action>
  200.     </step>
  201.     <step type="BDD_InjectDrivers" name="Inject Drivers" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  202.       <defaultVarList>
  203.         <variable name="DriverSelectionProfile" property="DriverSelectionProfile">All Drivers</variable>
  204.         <variable name="DriverInjectionMode" property="DriverInjectionMode">AUTO</variable>
  205.       </defaultVarList>
  206.       <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action>
  207.     </step>
  208.     <step type="BDD_InstallUpdatesOffline" name="Apply Patches" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  209.       <action>cscript.exe "%SCRIPTROOT%\ZTIPatches.wsf"</action>
  210.       <defaultVarList>
  211.         <variable name="PackageSelectionProfile" property="PackageSelectionProfile">All Packages</variable>
  212.       </defaultVarList>
  213.     </step>
  214.     <step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  215.       <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
  216.     </step>
  217.   </group>
  218.   <group name="Install" disable="false" continueOnError="false" description="" expand="false">
  219.     <condition>
  220.       <expression type="SMS_TaskSequence_VariableConditionExpression">
  221.         <variable name="Variable">PHASE</variable>
  222.         <variable name="Operator">equals</variable>
  223.         <variable name="Value">INSTALL</variable>
  224.       </expression>
  225.     </condition>
  226.     <step type="BDD_InstallOS" name="Install Operating System" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  227.       <defaultVarList>
  228.         <variable name="OSGUID" property="OSGUID">{492d8a93-33eb-484f-8ab4-71fa4772b6a3}</variable>
  229.         <variable name="DestinationDisk" property="DestinationDisk">0</variable>
  230.         <variable name="DestinationPartition" property="DestinationPartition">1</variable>
  231.         <variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"></variable>
  232.         <variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable>
  233.         <variable name="DestinationOSRefresh" property="DestinationOSRefresh"></variable>
  234.         <variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByVariable</variable>
  235.       </defaultVarList>
  236.       <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf"</action>
  237.     </step>
  238.     <step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  239.       <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
  240.     </step>
  241.   </group>
  242.   <group name="Postinstall" disable="false" continueOnError="false" description="" expand="false">
  243.     <condition>
  244.       <expression type="SMS_TaskSequence_VariableConditionExpression">
  245.         <variable name="Variable">PHASE</variable>
  246.         <variable name="Operator">equals</variable>
  247.         <variable name="Value">POSTINSTALL</variable>
  248.       </expression>
  249.     </condition>
  250.     <step name="Copy Scripts" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  251.       <action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action>
  252.     </step>
  253.     <step name="Configure" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  254.       <action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action>
  255.     </step>
  256.     <step name="Inject Drivers" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  257.       <action>cscript.exe "%SCRIPTROOT%\ZTIdrivers.wsf"</action>
  258.     </step>
  259.     <step type="SMS_TaskSequence_RunCommandLineAction" name="Add Windows Recovery (WinRE)" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
  260.       <action>cscript.exe "%SCRIPTROOT%\ZTIWinRE.wsf"</action>
  261.     </step>
  262.     <step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  263.       <action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
  264.     </step>
  265.     <step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  266.       <defaultVarList>
  267.         <variable name="Message" property="Message"></variable>
  268.         <variable name="MessageTimeout" property="MessageTimeout">60</variable>
  269.         <variable name="Target" property="Target"></variable>
  270.       </defaultVarList>
  271.       <action>smsboot.exe /target:WinPE</action>
  272.     </step>
  273.   </group>
  274.   <group name="State Restore" disable="false" continueOnError="false" description="" expand="true">
  275.     <condition>
  276.       <expression type="SMS_TaskSequence_VariableConditionExpression">
  277.         <variable name="Variable">PHASE</variable>
  278.         <variable name="Operator">equals</variable>
  279.         <variable name="Value">STATERESTORE</variable>
  280.       </expression>
  281.     </condition>
  282.     <step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  283.       <defaultVarList>
  284.         <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
  285.         <variable name="RulesFile" property="RulesFile"></variable>
  286.       </defaultVarList>
  287.       <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
  288.     </step>
  289.     <step name="Post-Apply Cleanup" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  290.       <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post</action>
  291.     </step>
  292.     <step type="BDD_RecoverDomainJoin" name="Recover From Domain " description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  293.       <defaultVarList>
  294.         <variable name="DomainErrorRecovery" property="DomainErrorRecovery">Auto</variable>
  295.       </defaultVarList>
  296.       <action>cscript.exe "%SCRIPTROOT%\ZTIDomainJoin.wsf" </action>
  297.     </step>
  298.     <step name="Tattoo" disable="false" continueOnError="true" successCodeList="0 3010" description="" startIn="">
  299.       <action>cscript.exe "%SCRIPTROOT%\ZTITatoo.wsf"</action>
  300.     </step>
  301.     <step name="Opt In to CEIP and WER" disable="true" continueOnError="true" successCodeList="0 3010" description="" startIn="">
  302.       <action>cscript.exe "%SCRIPTROOT%\ZTIOptIn.wsf" /CEIP:YES /WER:YES</action>
  303.     </step>
  304.     <step name="Windows Update (Pre-Application Installation)" disable="true" continueOnError="true" successCodeList="0 3010" description="" startIn="">
  305.       <action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action>
  306.     </step>
  307.     <step type="BDD_InstallApplication" name="Install Applications" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  308.       <action>cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"</action>
  309.       <defaultVarList>
  310.         <variable name="ApplicationGUID" property="ApplicationGUID"></variable>
  311.         <variable name="ApplicationSuccessCodes" property="ApplicationSuccessCodes">0 3010</variable>
  312.       </defaultVarList>
  313.     </step>
  314.     <step name="Windows Update (Post-Application Installation)" disable="true" continueOnError="true" successCodeList="0 3010" description="" startIn="">
  315.       <action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action>
  316.     </step>
  317.     <group name="Custom Tasks" disable="false" continueOnError="false" expand="true" description=""></group>
  318.     <step type="SMS_TaskSequence_EnableBitLockerAction" name="Enable BitLocker" continueOnError="true" successCodeList="0 3010" description="" startIn="">
  319.       <action>cscript.exe "%SCRIPTROOT%\ZTIBde.wsf"</action>
  320.       <condition>
  321.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  322.           <variable name="Variable">BdeInstallSuppress</variable>
  323.           <variable name="Operator">notEquals</variable>
  324.           <variable name="Value">YES</variable>
  325.         </expression>
  326.       </condition>
  327.       <defaultVarList>
  328.         <variable name="OSDBitLockerTargetDrive" property="BdeTargetDriveLetter"></variable>
  329.         <variable name="OSDBitLockerMode" property="BdeInstall">TPM</variable>
  330.         <variable name="OSDBitLockerStartupKeyDrive" property="BdeKeyLocation"></variable>
  331.         <variable name="OSDBitLockerCreateRecoveryPassword" property="BdeRecoveryPassword">AD</variable>
  332.         <variable name="OSDBitLockerWaitForEncryption" property="WaitForEncryption">false</variable>
  333.       </defaultVarList>
  334.     </step>
  335.     <step name="Restore User State" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  336.       <action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore</action>
  337.     </step>
  338.     <step name="Restore Groups" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  339.       <action>cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore</action>
  340.     </step>
  341.     <step name="Apply Local GPO Package" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010">
  342.       <action>cscript.exe "%SCRIPTROOT%\ZTIApplyGPOPack.wsf"</action>
  343.       <condition>
  344.         <expression type="SMS_TaskSequence_VariableConditionExpression">
  345.           <variable name="Variable">ApplyGPOPack</variable>
  346.           <variable name="Operator">notEquals</variable>
  347.           <variable name="Value">NO</variable>
  348.         </expression>
  349.       </condition>
  350.     </step>
  351.     <group expand="false" name="Imaging" description="" disable="false" continueOnError="false">
  352.       <action />
  353.       <group name="Prepare Only" disable="false" continueOnError="false" expand="true" description="">
  354.         <condition>
  355.           <expression type="SMS_TaskSequence_VariableConditionExpression">
  356.             <variable name="Variable">DoCapture</variable>
  357.             <variable name="Operator">equals</variable>
  358.             <variable name="Value">PREPARE</variable>
  359.           </expression>
  360.         </condition>
  361.         <step name="Copy Sysprep files" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  362.           <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action>
  363.         </step>
  364.       </group>
  365.       <group name="Sysprep Only" disable="false" continueOnError="false" expand="true" description="">
  366.         <condition>
  367.           <expression type="SMS_TaskSequence_VariableConditionExpression">
  368.             <variable name="Variable">DoCapture</variable>
  369.             <variable name="Operator">equals</variable>
  370.             <variable name="Value">SYSPREP</variable>
  371.           </expression>
  372.         </condition>
  373.         <step name="Add mass storage drivers to sysprep.inf for XP and 2003" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  374.           <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action>
  375.         </step>
  376.         <step name="Execute Sysprep" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  377.           <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action>
  378.         </step>
  379.       </group>
  380.       <group name="Capture Image" disable="false" continueOnError="false" expand="true" description="">
  381.         <condition>
  382.           <expression type="SMS_TaskSequence_VariableConditionExpression">
  383.             <variable name="Variable">DoCapture</variable>
  384.             <variable name="Operator">equals</variable>
  385.             <variable name="Value">YES</variable>
  386.           </expression>
  387.         </condition>
  388.         <step name="Apply Windows PE" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  389.           <action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE /STAGE</action>
  390.         </step>
  391.         <step name="Add mass storage drivers to sysprep.inf for XP and 2003" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  392.           <action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action>
  393.         </step>
  394.         <step name="Execute Sysprep" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  395.           <action>cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"</action>
  396.         </step>
  397.         <step name="Apply Windows PE (BCD)" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  398.           <action>cscript.exe "%_SMSTSMDataPath%\Scripts\LTIApply.wsf" /PE /BCD</action>
  399.           <condition>
  400.             <expression type="SMS_TaskSequence_VariableConditionExpression">
  401.               <variable name="Variable">ImageBuild</variable>
  402.               <variable name="Operator">greaterEqual</variable>
  403.               <variable name="Value">6</variable>
  404.             </expression>
  405.           </condition>
  406.         </step>
  407.         <step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
  408.           <defaultVarList>
  409.             <variable name="Message" property="Message"></variable>
  410.             <variable name="MessageTimeout" property="MessageTimeout">60</variable>
  411.             <variable name="Target" property="Target"></variable>
  412.           </defaultVarList>
  413.           <action>smsboot.exe /target:WinPE</action>
  414.         </step>
  415.         <step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  416.           <defaultVarList>
  417.             <variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
  418.             <variable name="RulesFile" property="RulesFile"></variable>
  419.           </defaultVarList>
  420.           <action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
  421.         </step>
  422.         <step name="Create WIM" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
  423.           <action>cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"</action>
  424.         </step>
  425.       </group>
  426.     </group>
  427.   </group>
  428. </sequence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement