Files
Infra-LAB/projects/MDT/Control/DEPL-W11-25H2-00/ts.xml
T

984 lines
66 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0"?>
<sequence version="3.00" name="Standard Client Task Sequence" description="A complete task sequence for deploying a client operating system">
<globalVarList>
<variable name="OSGUID" property="OSGUID">{4c947da3-6698-4848-9444-f9bafa9f9d0d}</variable>
<variable name="DestinationDisk" property="DestinationDisk">0</variable>
<variable name="DestinationPartition" property="DestinationPartition">1</variable>
<variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable>
<variable name="DestinationOSRefresh" property="DestinationOSRefresh"></variable>
<variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"></variable>
<variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByVariable</variable>
<variable name="OSGUID" property="OSGUID">{4c947da3-6698-4848-9444-f9bafa9f9d0d}</variable>
</globalVarList>
<group name="Initialization" disable="false" continueOnError="false" description="Initialize the TS environment" expand="false">
<step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<defaultVarList>
<variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
<variable name="RulesFile" property="RulesFile"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="BGInfo STEP_01 - Start Validation" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>"%DEPLOYROOT%\Tools\%ARCHITECTURE%\BGInfo64.exe" "%DEPLOYROOT%\Tools\%ARCHITECTURE%\STEP_01.bgi" /nolicprompt /silent /timer:0</action>
</step>
</group>
<group name="Validation" disable="false" continueOnError="false" description="Test" expand="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 type="BDD_Validate" name="Validate" successCodeList="0 3010" description="" startIn="" disable="false" continueOnError="false">
<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 name="Check BIOS" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIBIOSCheck.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<group name="State Capture" description="" disable="false" continueOnError="false" expand="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 type="SMS_TaskSequence_RunCommandLineAction" name="Generate Application Migration File" description="" disable="false" continueOnError="false" successCodeList="0 3010" runIn="WinPEandFullOS" startIn="">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIAppXmlGen.wsf" /capture</action>
</step>
<step name="Capture User State" successCodeList="0 3010" description="" startIn="" disable="false" continueOnError="false">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">USMTOfflineMigration</variable>
<variable name="Operator">notEquals</variable>
<variable name="Value">TRUE</variable>
</expression>
</condition>
<action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /capture</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Capture Groups" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /capture</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Capture Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0 3010" disable="false" continueOnError="false">
<action>cscript.exe "%ScriptRoot%\ZTINicConfig.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group name="Refresh only" disable="false" continueOnError="false" description="" expand="false">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">DeploymentType</variable>
<variable name="Operator">equals</variable>
<variable name="Value">REFRESH</variable>
</expression>
</condition>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Disable BDE Protectors" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIDisableBDEProtectors.wsf"</action>
</step>
<step name="Apply Windows PE" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group name="Refresh only" disable="false" continueOnError="false" expand="false" description="">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">DeploymentType</variable>
<variable name="Operator">equals</variable>
<variable name="Value">REFRESH</variable>
</expression>
</condition>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="Message" property="Message"></variable>
<variable name="MessageTimeout" property="MessageTimeout">60</variable>
<variable name="Target" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
</group>
</group>
<group name="Preinstall" disable="false" continueOnError="false" description="" expand="false">
<condition>
<operator type="and" />
</condition>
<step type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<defaultVarList>
<variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
<variable name="RulesFile" property="RulesFile"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
</step>
<group name="New Computer only" disable="false" continueOnError="false" description="" expand="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 type="BDD_Validate" name="Validate" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<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 type="SMS_TaskSequence_PartitionDiskAction" name="Format and Partition Disk (BIOS)" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Operator">notEquals</variable>
<variable name="Value">True</variable>
<variable name="Variable">IsUEFI</variable>
</expression>
</condition>
<defaultVarList>
<variable name="OSDDiskIndex" property="DiskIndex">0</variable>
<variable name="OSDDiskPartitions1Type" property="OSDDiskPartitions1Type">Recovery</variable>
<variable name="DONotCreateExtraPartition" property="DONotCreateExtraPartition"></variable>
<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">Windows</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 type="SMS_TaskSequence_PartitionDiskAction" name="Format and Partition Disk (UEFI)" description="" runIn="WinPE" successCodeList="0" disable="false" continueOnError="false">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Operator">equals</variable>
<variable name="Value">True</variable>
<variable name="Variable">IsUEFI</variable>
</expression>
</condition>
<defaultVarList>
<variable name="OSDDiskIndex" property="DiskIndex">0</variable>
<variable name="OSDDiskPartitions1Type" property="OSDDiskPartitions1Type">Recovery</variable>
<variable name="DONotCreateExtraPartition" property="DONotCreateExtraPartition"></variable>
<variable name="OSDPartitions0Type" property="Partitions0Type">EFI</variable>
<variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">FAT32</variable>
<variable name="OSDPartitions0Bootable" property="Partitions0Bootable">True</variable>
<variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">True</variable>
<variable name="OSDPartitions0VolumeName" property="Partitions0VolumeName">Boot</variable>
<variable name="OSDPartitions0Size" property="Partitions0Size">499</variable>
<variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">MB</variable>
<variable name="OSDPartitions0VolumeLetterVariable" property="Partitions0VolumeLetterVariable"></variable>
<variable name="OSDPartitions1Type" property="Partitions1Type">MSR</variable>
<variable name="OSDPartitions1FileSystem" property="Partitions1FileSystem">NTFS</variable>
<variable name="OSDPartitions1Bootable" property="Partitions1Bootable">False</variable>
<variable name="OSDPartitions1QuickFormat" property="Partitions1QuickFormat">True</variable>
<variable name="OSDPartitions1VolumeName" property="Partitions1VolumeName"></variable>
<variable name="OSDPartitions1Size" property="Partitions1Size">128</variable>
<variable name="OSDPartitions1SizeUnits" property="Partitions1SizeUnits">MB</variable>
<variable name="OSDPartitions1VolumeLetterVariable" property="Partitions1VolumeLetterVariable"></variable>
<variable name="OSDPartitions2Type" property="Partitions2Type">Primary</variable>
<variable name="OSDPartitions2FileSystem" property="Partitions2FileSystem">NTFS</variable>
<variable name="OSDPartitions2Bootable" property="Partitions2Bootable">False</variable>
<variable name="OSDPartitions2QuickFormat" property="Partitions2QuickFormat">True</variable>
<variable name="OSDPartitions2VolumeName" property="Partitions2VolumeName">Windows</variable>
<variable name="OSDPartitions2Size" property="Partitions2Size">100</variable>
<variable name="OSDPartitions2SizeUnits" property="Partitions2SizeUnits">%</variable>
<variable name="OSDPartitions2VolumeLetterVariable" property="Partitions2VolumeLetterVariable">OSDisk</variable>
<variable name="OSDPartitions" property="Partitions">3</variable>
<variable name="OSDPartitionStyle" property="PartitionStyle">GPT</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIDiskpart.wsf"</action>
</step>
<step name="Copy scripts" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<group name="Offline User State Capture" disable="false" continueOnError="false" description="" expand="false">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">USMTOfflineMigration</variable>
<variable name="Operator">Equals</variable>
<variable name="Value">TRUE</variable>
</expression>
</condition>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Offline User State Capture" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /capture</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Unload USMT Hive" description="" disable="false" continueOnError="true" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<action>cmd /c REG UNLOAD HKLM\$DEST$SOFTWARE</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<group name="Refresh only" disable="false" continueOnError="false" description="" expand="false">
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">DeploymentType</variable>
<variable name="Operator">equals</variable>
<variable name="Value">REFRESH</variable>
</expression>
</condition>
<step name="Backup" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<step type="SMS_TaskSequence_RunCommandLineAction" name="BGInfo STEP_03 - Installing Drivers" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>"%DEPLOYROOT%\Tools\%ARCHITECTURE%\BGInfo64.exe" "%DEPLOYROOT%\Tools\%ARCHITECTURE%\STEP_03.bgi" /nolicprompt /silent /timer:0</action>
</step>
<step name="Configure" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Enable BitLocker (Offline)" description="" disable="false" continueOnError="true" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<action>cscript.exe "%SCRIPTROOT%\ZTIBDE.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="Set Drivergroup" description="" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">DriverGroup001</variable>
<variable name="VariableValue" property="VariableValue">Windows 11 x64\%make%\%model%</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<step type="BDD_InjectDrivers" name="Inject Drivers" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="DriverSelectionProfile" property="DriverSelectionProfile">Nothing</variable>
<variable name="DriverInjectionMode" property="DriverInjectionMode">ALL</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action>
</step>
<step type="BDD_InstallUpdatesOffline" name="Apply Patches" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIPatches.wsf"</action>
<defaultVarList>
<variable name="PackageSelectionProfile" property="PackageSelectionProfile">All Packages</variable>
</defaultVarList>
</step>
<step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<group name="Install" disable="false" continueOnError="false" description="" expand="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 type="SMS_TaskSequence_RunCommandLineAction" name="BGInfo STEP_04 - Installing Windows" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>"%DEPLOYROOT%\Tools\%ARCHITECTURE%\BGInfo64.exe" "%DEPLOYROOT%\Tools\%ARCHITECTURE%\STEP_04.bgi" /nolicprompt /silent /timer:0</action>
</step>
<step type="BDD_InstallOS" name="Install Operating System" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSGUID" property="OSGUID">{4c947da3-6698-4848-9444-f9bafa9f9d0d}</variable>
<variable name="DestinationDisk" property="DestinationDisk">0</variable>
<variable name="DestinationPartition" property="DestinationPartition">1</variable>
<variable name="DestinationOSDriveLetter" property="DestinationOSDriveLetter"></variable>
<variable name="DestinationOSVariable" property="DestinationOSVariable">OSDisk</variable>
<variable name="DestinationOSRefresh" property="DestinationOSRefresh"></variable>
<variable name="DestinationOSInstallType" property="DestinationOSInstallType">ByVariable</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="CopyOEM files" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\CopyOEM.wsf"</action>
</step>
<step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
<group name="Postinstall" disable="false" continueOnError="false" description="" expand="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 name="Copy Scripts" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\LTICopyScripts.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Configure" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Inject Drivers" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIdrivers.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step type="BDD_InstallUpdatesOffline" name="Apply Patches" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIPatches.wsf"</action>
<defaultVarList>
<variable name="PackageSelectionProfile" property="PackageSelectionProfile">All Packages</variable>
</defaultVarList>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Add Windows Recovery (WinRE)" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<action>cscript.exe "%SCRIPTROOT%\ZTIWinRE.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Next Phase" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTINextPhase.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group expand="false" name="Settings Only Bios Change Lenovo" description="" disable="true" continueOnError="true">
<action />
<step type="SMS_TaskSequence_RunCommandLineAction" name="Set Secure Boot and PXE (ThinkCentre)" description="" disable="false" continueOnError="false" startIn="%ScriptRoot%\BiosConfig\Lenovo\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c %ScriptRoot%\BiosConfig\Lenovo\ThinkBiosConfig.hta "file=ThinkCentreSecBootPXE.ini"</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Version LIKE 'ThinkCentre%'</variable>
</expression>
</condition>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Set Secure Boot and PXE (ThinkPad)" description="" disable="false" continueOnError="false" startIn="%ScriptRoot%\BiosConfig\Lenovo\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c %ScriptRoot%\BiosConfig\Lenovo\ThinkBiosConfig.hta "file=ThinkPadSecBootPXE.ini"</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Version LIKE 'ThinkPad%'</variable>
</expression>
</condition>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Clean Boot Drive" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>diskpart /s %ScriptRoot%\BIOSConfig\CleanBootDrive.txt</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Reboot from WinPE" description="" disable="true" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>Wpeutil Reboot</action>
</step>
<condition>
<operator type="or">
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\wmi</variable>
<variable name="Query">SELECT * FROM Lenovo_BiosSetting WHERE CurrentSetting Like 'Secure Boot,Disable%'</variable>
</expression>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\wmi</variable>
<variable name="Query">SELECT * FROM Lenovo_BiosSetting WHERE CurrentSetting Like 'SecureBoot,Disable%'</variable>
</expression>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\wmi</variable>
<variable name="Query">SELECT * FROM Lenovo_BiosSetting WHERE CurrentSetting Like 'Secure boot,Disable%'</variable>
</expression>
</operator>
</condition>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Set Boot Order to Hard Drive (ThinkPad)" description="" disable="false" continueOnError="false" startIn="%ScriptRoot%\BiosConfig\Lenovo" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c %ScriptRoot%\BiosConfig\Lenovo\ThinkBiosConfig.hta "file=ThinkPadHDD.ini"</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Version LIKE 'ThinkPad%'</variable>
</expression>
</condition>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Set Primary Boot Sequence to Hard Drive (ThinkCentre)" description="" disable="false" continueOnError="false" startIn="%ScriptRoot%\BiosConfig\Lenovo" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c %ScriptRoot%\BiosConfig\Lenovo\ThinkBiosConfig.hta "file=ThinkCentreHDD.ini"</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Version LIKE 'ThinkCentre%'</variable>
</expression>
</condition>
</step>
</group>
<step type="SMS_TaskSequence_SetVariableAction" name="BIOSPassword Initialisation" description="" disable="true" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">BIOSPassword</variable>
<variable name="VariableValue" property="VariableValue">crhdf</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Retrieve BIOS password securely" description="Load BIOS password from secure source and assign MDT variable" disable="true" continueOnError="false" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\SupportHDF\Set_BIOSPassword_FromDatabase.vbs"</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Name LIKE '%ThinkCentre%' OR Name LIKE '%neo 50s%'</variable>
</expression>
</condition>
</step>
<group expand="false" name="Configure BIOS Lenovo Full Settings" description="Apply complete BIOS settings for Lenovo ThinkCentre neo 50s" disable="true" continueOnError="true">
<action />
<step type="BDD_RunPowerShellAction" name="Configure BIOS Lenovo Full Settings" description="" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\ConfigureBIOSLenovo_TSIntegration.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1 -Bypass</variable>
<variable name="PackageID" property="PackageID"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
<condition>
<expression type="SMS_TaskSequence_WMIConditionExpression">
<variable name="Namespace">root\cimv2</variable>
<variable name="Query">SELECT * FROM Win32_ComputerSystemProduct WHERE Name LIKE '%ThinkCentre%' OR Name LIKE '%neo 50s%'</variable>
</expression>
</condition>
</step>
</group>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="Message" property="Message"></variable>
<variable name="MessageTimeout" property="MessageTimeout">60</variable>
<variable name="Target" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
</group>
<group name="State Restore" disable="false" continueOnError="false" description="" expand="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 type="BDD_Gather" name="Gather local only" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<defaultVarList>
<variable name="GatherLocalOnly" property="GatherLocalOnly">true</variable>
<variable name="RulesFile" property="RulesFile"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
</step>
<step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="New Name NIC" description="" disable="false" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSDAdapterCount" property="NumAdapters">1</variable>
<variable name="OSDAdapter0DNSServerList" property="Adapters0DNSServerList"></variable>
<variable name="OSDAdapter0EnableDHCP" property="Adapters0EnableDHCP">True</variable>
<variable name="OSDAdapter0EnableDNSRegistration" property="Adapters0EnableDNSRegistration">False</variable>
<variable name="OSDAdapter0EnableFullDNSRegistration" property="Adapters0EnableFullDNSRegistration">True</variable>
<variable name="OSDAdapter0EnableTCPIPFiltering" property="Adapters0EnableTCPIPFiltering">False</variable>
<variable name="OSDAdapter0EnableLMHOSTS" property="Adapters0EnableLMHOSTS">False</variable>
<variable name="OSDAdapter0EnableWINS" property="Adapters0EnableWINS">False</variable>
<variable name="OSDAdapter0GatewayCostMetric" property="Adapters0GatewayCostMetric"></variable>
<variable name="OSDAdapter0Gateways" property="Adapters0Gateways"></variable>
<variable name="OSDAdapter0IPAddressList" property="Adapters0IPAddressList"></variable>
<variable name="OSDAdapter0Name" property="Adapters0Name">LAN_Peda</variable>
<variable name="OSDAdapter0MacAddress" property="Adapters0MacAddress"></variable>
<variable name="OSDAdapter0SubnetMask" property="Adapters0SubnetMask"></variable>
<variable name="OSDAdapter0DNSSuffix" property="Adapters0DNSSuffix"></variable>
<variable name="OSDAdapter0TcpipNetbiosOptions" property="Adapters0TcpipNetbiosOptions">0</variable>
<variable name="OSDAdapter0WINSServerList" property="Adapters0WINSServerList"></variable>
<variable name="OSDAdapter0TCPFilterPortList" property="Adapters0TCPFilterPortList"></variable>
<variable name="OSDAdapter0UDPFilterPortList" property="Adapters0UDPFilterPortList"></variable>
<variable name="OSDAdapter0IPProtocolFilterList" property="Adapters0IPProtocolFilterList"></variable>
<variable name="OSDAdapter" property="Adapters">1</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTINICConfig.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="UAC Off" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>regedit /s %SCRIPTROOT%\SupportHDF\reg\uacoff.reg</action>
</step>
<step type="BDD_RunPowerShellAction" name="Power Config" description="" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\powercfg.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="PackageID" property="PackageID" />
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Activation VerrNum" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>regedit /s %SCRIPTROOT%\SupportHDF\reg\EnableVerrNum.reg</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Centre-d'intéret Off" description="" disable="false" continueOnError="true" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>regedit /s %SCRIPTROOT%\SupportHDF\reg\Disable_News_and_Interests_on_taskbar_feature_for_all_users.reg</action>
</step>
<step name="Post-Apply Cleanup" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group expand="true" name="Dell Pro Slim QCS1250" description="Collège Baudelaire Dotation Mai 2026" disable="false" continueOnError="false">
<action />
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">Make</variable>
<variable name="Operator">equals</variable>
<variable name="Value">Dell Inc.</variable>
</expression>
</operator>
</condition>
<step type="BDD_RunPowerShellAction" name="Install Dell Command Update" description="" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\install_choco_dellcommandupdate.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="PackageID" property="PackageID" />
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<group expand="true" name="BIOS and Firmware" description="" disable="false" continueOnError="false">
<action />
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Scan for BIOS and Firmware Updates" description="On scan les péripériques avant de mettre à jour" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=bios,firmware</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Install BIOS and Firmware Updates" description="On installe les drivers" disable="false" continueOnError="true" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -autoSuspendBitLocker=enable</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">_SMSTSLastActionRetCode</variable>
<variable name="Operator">notEquals</variable>
<variable name="Value">500</variable>
</expression>
</operator>
</condition>
</group>
<group expand="true" name="Drivers and Applications" description="" disable="false" continueOnError="false">
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Scan for Driver and Application Updates" description="On scan à nouveau" disable="false" continueOnError="false" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=driver,application</action>
</step>
<action />
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Install Driver and Application Updates" description="On installe les derniers drivers disponibles" disable="false" continueOnError="true" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -updateType=driver,application</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">_SMSTSLastActionRetCode</variable>
<variable name="Operator">notEquals</variable>
<variable name="Value">500</variable>
</expression>
</operator>
</condition>
</group>
</group>
<step type="BDD_RecoverDomainJoin" name="Recover From Domain " description="" disable="true" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="DomainErrorRecovery" property="DomainErrorRecovery">Auto</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIDomainJoin.wsf" </action>
</step>
<step name="Tattoo" disable="false" continueOnError="true" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTITatoo.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Opt In to CEIP and WER" disable="true" continueOnError="true" successCodeList="0 3010" description="" startIn="">
<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>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Windows Update (Pre-Application Installation)" disable="true" continueOnError="true" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step type="BDD_InstallApplication" name="Install Applications" disable="true" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"</action>
<defaultVarList>
<variable name="ApplicationGUID" property="ApplicationGUID"></variable>
<variable name="ApplicationSuccessCodes" property="ApplicationSuccessCodes">0 3010</variable>
</defaultVarList>
</step>
<step type="BDD_RunPowerShellAction" name="Install Winget + Logiciels de base" description="7-Zip 26.01&#xD;&#xA;Audacity 3.7.7&#xD;&#xA;Google Chrome 149.0.7827.54&#xD;&#xA;LibreOffice 26.2.3.2&#xD;&#xA;Microsoft Edge 148.0.3967.96&#xD;&#xA;Notepad++ 8.9.6.4&#xD;&#xA;Python 3.14.5&#xD;&#xA;SumatraPDF 3.6.1&#xD;&#xA;VLC media player 3.0.23&#xD;&#xA;Xmind 26.3.4129&#xD;&#xA;Dépendances présentes&#xD;&#xA;Microsoft Visual C++ 2015-2022 Redistributable (x64) 14.51.36231.0" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\WingetRepo$\Prepare-Winget.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%WingetRepo$\</variable>
<variable name="PackageID" property="PackageID"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step type="BDD_RunPowerShellAction" name="Install Choco + Bureautique" description="" disable="true" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\install_choco_bureautique.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="PackageID" property="PackageID" />
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step type="BDD_RunPowerShellAction" name="Lenovo Bios Settings All PS1" description="Secure Boot Enabled" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\ConfigBiosLenovo.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="PackageID" property="PackageID" />
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<step type="BDD_RunPowerShellAction" name="Create Local User" description="" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\Users\LocalUsers.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\</variable>
<variable name="PackageID" property="PackageID" />
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step name="Windows Update (Post-Application Installation)" disable="false" continueOnError="true" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group name="Domain EDU.HDF" disable="false" continueOnError="false" expand="true" description="">
<step type="BDD_RunPowerShellAction" name="Join Domain EDU.HDF" description="" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\Join-Domain.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="PackageID" property="PackageID"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
</group>
<step type="SMS_TaskSequence_EnableBitLockerAction" name="Enable BitLocker" continueOnError="true" successCodeList="0 3010" description="" startIn="" disable="false">
<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>
<variable name="OSDBitLockerMode" property="BdeInstall">TPM</variable>
<variable name="OSDBitLockerStartupKeyDrive" property="BdeKeyLocation"></variable>
<variable name="OSDBitLockerCreateRecoveryPassword" property="BdeRecoveryPassword">AD</variable>
<variable name="OSDBitLockerWaitForEncryption" property="WaitForEncryption">false</variable>
</defaultVarList>
</step>
<step name="Restore User State" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIUserState.wsf" /restore</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Restore Groups" disable="false" continueOnError="false" successCodeList="0 3010" description="" startIn="">
<action>cscript.exe "%SCRIPTROOT%\ZTIGroups.wsf" /restore</action>
<defaultVarList>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Apply Local GPO Package" description="" disable="true" continueOnError="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>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
</group>
</sequence>