AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-216286

Elliot Labs LLC's questions

Martin Hope
Elliot Labs LLC
Asked: 2014-07-03 17:07:18 +0800 CST

MDT 安装不工作,失败

  • 0

我正在尝试Windows 7 x86使用MDT 2013and WDS(Server 2012 R2) 进行部署,但它失败了:

WDS 启动litetouchWIM(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>

格式化辅助磁盘设置为如果失败则继续执行(以防客户端没有辅助磁盘)

有人可以告诉我出了什么问题吗?

windows-7
  • 1 个回答
  • 15178 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve