我在Windows 2008 R2中创build了Windows部署服务服务器。 当我最初设置它时,我能够成功地使用MDT 2010来创build我的启动映像,并创build可以sysprep和捕获的任务序列,并部署我的自定义.wim文件。 一切都很完美。
大约一个月后,我启动Windows 7 x86映像并运行Windows更新以保持映像处于最新状态。 然后我去运行我的系统准备和捕获任务序列,我得到以下错误: 
我在网上search这个错误消息的原因,它似乎是一个拒绝types的错误消息的通用权限。 然后我决定彻底重build我的VM镜像,然后重试。 我仍然收到像以前一样的错误消息。 以下是我尝试解决此问题的方法:
故障排除:

我花了好几天的时间试图解决这个问题,但没有成功。 有任何想法吗?
编辑:
以下是根据要求从C:\ Windows \ Deploymentlogs \ BDD.log中的日志信息。
<![LOG[LTI Windows PE applied successfully]LOG]!><time="11:48:34.000+000" date="07-25-2012" component="LTIApply" context="" type="1" thread="" file="LTIApply"> <![LOG[LTIApply processing completed successfully.]LOG]!><time="11:48:34.000+000" date="07-25-2012" component="LTIApply" context="" type="1" thread="" file="LTIApply"> <![LOG[Microsoft Deployment Toolkit version: 6.0.2223.0]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[The task sequencer log is located at C:\Users\nicy\AppData\Local\Temp\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[Processing drivers for an X86 operating system.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[TargetOS is the current SystemDrive]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[Property DriverCleanup is now = DONE]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[Compare Image processor Type with Original [X86] = [X86].]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[Prepare machine for Sysprep.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[No driver actions can be taken for OS Images installed from *.wim files.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[ZTIDrivers processing completed successfully.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="ZTIDrivers" context="" type="1" thread="" file="ZTIDrivers"> <![LOG[Command completed, return code = -2147467259]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Litetouch deployment failed, Return Code = -2147467259 0x80004005]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="3" thread="" file="LiteTouch"> <![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Property RetVal is now = -2147467259]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Unable to copy log to the network as no SLShare value was specified.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[CleanStartItems Complete]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Unregistering TSCore.dll.]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[About to run command: wscript.exe "\\server\deploymentshare$\Scripts\LTICleanup.wsf"]LOG]!><time="11:48:35.000+000" date="07-25-2012" component="LiteTouch" context="" type="1" thread="" file="LiteTouch"> <![LOG[Microsoft Deployment Toolkit version: 6.0.2223.0]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Removing AutoAdminLogon registry entries]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[VSSMaxSize not specified using 5% of volume.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Logs contained 7 errors and 0 warnings.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Stripping BDD commands from unattend.xml template.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Modified unattend.xml saved to C:\windows\panther\unattend.xml]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Checking mapped network drive.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[testing drive Z: mapped to \\server\deploymentshare$]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Disconnecting drive Z: mapped to \\server\deploymentshare$]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Cleaning up C:\MININT directory.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup"> <![LOG[Cleaning up TOOLS, SCRIPTS, and PACKAGES directories.]LOG]!><time="11:48:36.000+000" date="07-25-2012" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
这个回应太多了,所以我不得不把这个作为一个答案,即使它没有解决你在OP中遇到的错误:你可以使用DISM离线更新你的图像,但是,你会必须下载所有你想安装的更新。
由于您使用的是MDT,因此可以通过导入所有更新作为包并在部署过程中运行适当的DISM脚本来完成此确切过程(再次,您必须手动下载所有更新),或者可以启用“Windows Update (预应用程序安装)“或”Windows Update(应用程序后安装)“项目,这些项目在标准客户端任务序列模板中默认处于禁用状态,以使系统在部署过程中运行Windows Update。 如果您的环境中安装了WSUS,则可以在部署期间从中获取更新。 这篇博客文章详细介绍了维护更新映像的所有这三种方法。
希望这可以帮助,
(披露签名)
大卫
Windows Outreach团队 – IT专业人员
首先,不需要启动您的映像来应用Windows补丁程序,而只需要Windows补丁程序(这就是为什么您希望您的部署映像尽可能瘦)
其次,看一下BDD日志(c:\ MININT \ SMSOSD \ OSDLOGS \ bdd.log)或(c:\ windows \ temp \ depoymentlogs \ bdd.log),告诉你它在哪里失败可以看看)
经过几个月的努力,终于find了解决我的问题的办法。 以下是我用来解决我的问题的步骤:
在Windows 7参考PC上,打开registry编辑器。 导航到HKLM\system\setup 。 查找名为CloneTag的多string值。 它可能不会在那里。
添加一个新的multi-string value ,将其命名为CloneTag 。 实际值并不重要。
导出HKLM\system\setup密钥并保存到.reg文件。
编辑.reg文件,并删除除CloneTag值之外的所有其他条目。
运行cscript启动任务序列select器。 select您的Sysprep和捕获任务序列。 input你的凭证,然后去。
当它到达正在执行sysprep的部分时,运行.reg文件以快速导入CloneTag多string值。 如果你看到它进入PE,那么你应该清楚。
login到您试图捕获映像的计算机,访问部署共享并运行LiteTouch.vbs – 在“脚本”文件夹下。