我正在尝试使用和(Server 2012 R2)进行部署,Windows 7 x86
但是MDT 2013
失败WDS
了:
WDS 启动litetouch
WIM(32 位或 64 位),然后 Lite Touch 接管。我选择任务序列Windows 7 x86
,然后它进行格式化并应用安装映像(从 Windows 7 DVD 导入)。应用完映像后,安装立即失败,并显示以下内容:
####################################
## Disk(1) was not found. Unable to continue
## Possible Cause: Missing Storage Driver.
#################################
Failure (7711) Disk OSDiskIndex(1) can not be found!
No answer file could be found
No answer file could be found
No answer file could be found
Failure (Err): 53: Copy File C:\MININT\unattended.xml to C:\Windows\Panther\Unattend.xml - File Not Found
Failure (5627): 2: Run DISM.exe
Litetouch deployment failed, Return Code = -2147465259 0x80004005
Failed to save environment to (80070057)
Failed to run the action: Format Secondary Disk.
Unknown error (Error: 00001E1F; Source: Unkown)
The execution engine ignored the failure of the action (Format Secondary Disk) and continues execution
Failed to run the action: Install Operating System
The execution of the group (Install OS) has failed and the execution of task sequence failed.
Unknown error (Error: 000015FB; source: Unkown)
Task Sequence Engine failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005
我正在使用custom task sequence
从头开始构建的,它是这样的:
<?xml version="1.0"?>
<sequence version="3.00" name="Custom Task Sequence" description="Sample Custom Task Sequence">
<group expand="true" name="Initialization" description="Scans the system for compatibility and gathers users input." disable="false" continueOnError="false">
<action />
<step type="BDD_Gather" name="Gather" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<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="BDD_Validate" name="Validate" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="ImageMemory" property="ImageMemory">768</variable>
<variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable>
<variable name="ImageSize" property="ImageSize">0</variable>
<variable name="VerifyOS" property="VerifyOS"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIValidate.wsf"</action>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="Next Step" description="Used for Debugging" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">STEP</variable>
<variable name="VariableValue" property="VariableValue">PREP</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
</group>
<group expand="true" name="Install Prep" description="Formats the disk and other prep." disable="false" continueOnError="false">
<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>
<action />
<step type="SMS_TaskSequence_PartitionDiskAction" name="Format Primary Disk" description="Gets the primary disk ready for installation." disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSDDiskIndex" property="DiskIndex">0</variable>
<variable name="OSDDiskType" property="DiskType">BASIC</variable>
<variable name="DONotCreateExtraPartition" property="DONotCreateExtraPartition"></variable>
<variable name="OSDDiskPartDoNotRemoveOEMPartitions" property="OSDDiskPartDoNotRemoveOEMPartitions"></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">Sea Drive</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 Secondary Disk" description="Gets the secondary disk ready for use after installation." disable="false" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSDDiskIndex" property="DiskIndex">1</variable>
<variable name="OSDDiskType" property="DiskType">BASIC</variable>
<variable name="DONotCreateExtraPartition" property="DONotCreateExtraPartition">YES</variable>
<variable name="OSDDiskPartDoNotRemoveOEMPartitions" property="OSDDiskPartDoNotRemoveOEMPartitions"></variable>
<variable name="OSDPartitions0VolumeName" property="Partitions0VolumeName">Dhe Drive</variable>
<variable name="OSDPartitions0Type" property="Partitions0Type">Primary</variable>
<variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable>
<variable name="OSDPartitions0Size" property="Partitions0Size">100</variable>
<variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">%</variable>
<variable name="OSDPartitions0Bootable" property="Partitions0Bootable">False</variable>
<variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">True</variable>
<variable name="OSDPartitions0VolumeLetterVariable" property="Partitions0VolumeLetterVariable"></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_RunCommandLineAction" name="Configure" description="Configures Unattended.xml" 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%\ZTIConfigure.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Copy Scripts" 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%\LTICopyScripts.wsf"</action>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="Next Step" description="Used for Debuging" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">STEP</variable>
<variable name="VariableValue" property="VariableValue">INSTALL</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">STEP</variable>
<variable name="Operator">equals</variable>
<variable name="Value">PREP</variable>
</expression>
</condition>
</group>
<group expand="true" name="Install OS" description="Installs the operating system" disable="false" continueOnError="false">
<action />
<step type="BDD_InstallUpdatesOffline" name="Apply Packages" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="PackageSelectionProfile" property="PackageSelectionProfile">All Packages</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPatches.wsf"</action>
</step>
<step type="BDD_InstallOS" name="Install Operating System" description="Installs the operating system." disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSGUID" property="OSGUID">{9c29937d-e430-40d3-8077-cc8fa2d9cf6e}</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>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\LTIApply.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Copy Scripts" description="Copies scripts to the local drive" 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%\LTICopyScripts.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">All Drivers</variable>
<variable name="DriverInjectionMode" property="DriverInjectionMode">AUTO</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIDrivers.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Add WinRE" description="Adds windows recovery enviroment." 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%\ZTIWinRE.wsf"</action>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="Next Step" description="Used for Debugging" disable="false" continueOnError="false" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">STEP</variable>
<variable name="VariableValue" property="VariableValue">POST</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="Reboots the computer" 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>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">STEP</variable>
<variable name="Operator">equals</variable>
<variable name="Value">INSTALL</variable>
</expression>
</condition>
</group>
<globalVarList>
<variable name="OSGUID" property="OSGUID">{9c29937d-e430-40d3-8077-cc8fa2d9cf6e}</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>
</globalVarList>
<group expand="true" name="Post Install" description="Stuff done after install of OS" disable="false" continueOnError="false">
<action />
<step type="BDD_Gather" name="Gather" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<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="Post Apply Cleanup" 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%\LTIApply.wsf" /post</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Tattoo" description="Adds machine information to system" 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%\ZTITatoo.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Windows Updates" description="Installs updates before programs install." 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%\ZTIWindowsUpdate.wsf"</action>
</step>
<step type="BDD_InstallApplication" name="Install Programs" description="this installs all programs that are set to install." disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="ApplicationGUID" property="ApplicationGUID"></variable>
<variable name="ApplicationSuccessCodes" property="ApplicationSuccessCodes">0 3010</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIApplications.wsf"</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="Windows Updates" description="installs updates after applications install" 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%\ZTIWindowsUpdate.wsf"</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="Reboots the computer for good measure" 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>
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">STEP</variable>
<variable name="Operator">equals</variable>
<variable name="Value">POST</variable>
</expression>
</condition>
</group>
</sequence>
格式化辅助磁盘设置为如果失败则继续执行(以防客户端没有辅助磁盘)
有人能告诉我出了什么问题吗?
答案1
我已经明白了:
在任务序列文件夹 ( [deploymentsharename]
-> Control
-> [task id]
) 中没有 unattend.xml 文件。自定义任务序列在创建时未生成该文件。
我手动从我创建的客户端任务序列中获取一个,然后对其进行编辑以满足我的自定义需求。
磁盘错误是由于没有辅助磁盘。我将其设置为如果没有辅助磁盘可供准备,它将自动跳过该步骤并继续。