当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 用于故障排除的 MDT 日志文件 | SCCM OSD

作者:精品下载站 日期:2024-12-14 11:59:38 浏览:14 分类:玩电脑

用于故障排除的 MDT 日志文件 | SCCM OSD


在本文中,我将列出所有重要的 MDT 日志文件以及 MDT 日志的位置。 MDT 日志文件可帮助您排除操作系统部署故障。

Microsoft 部署工具包 (MDT) 提供了用于自动化桌面和服务器部署的统一工具、流程和指南集合。 MDT 需要 Windows ADK 和最新 Windows ADK 版本的Windows PE 插件

如果您使用的是 Configuration Manager,则可以安装 MDT 并将其与 SCCM 集成。请参阅以下文章了解如何将 MDT 与 ConfigMgr 集成。

如果您是 Microsoft 部署工具包的新手,我建议您阅读 Microsoft 的以下文章,了解 MDT 及其功能的入门知识。可供下载的最新 MDT 版本是 8456。

什么是 MDT 日志?

安装 MDT 时,每个 MDT 脚本在运行时会自动创建日志文件。这些 MDT 日志文件对于解决操作系统部署问题非常有用。

MDT 日志文件以 .log 扩展名结尾。您可以使用 CMTrace 或 ConfigMgr 日志文件查看器来读取 MDT 日志文件。

这些 MDT 日志文件的名称与脚本的名称匹配,例如,ZTIGather.wsf 创建一个名为 ZTIGather.log 的日志文件。

每个脚本还会更新一个公共主日志文件 (BDD.log),该文件聚合 MDT 脚本创建的日志文件的内容。

MDT 日志文件的位置?

在部署过程中,MDT 日志文件驻留在 C:\MININT\SMSOSD\OSDLOGS 中。 MDT 日志文件的位置会随着部署的进行而发生变化。

如果您使用 MDT 进行操作系统部署,则应该知道 MDT 日志文件的位置。本文列出了所有 MDT 日志文件及其位置。

可在三个位置查找 MDT 日志文件以进行故障排除:

MDT OSD Phase

MDT 日志文件的位置

Before the Image is applied to the machine

X:\MININT\SMSOSD\OSDLOGS

After the system drive is formatted

C:\MININT\SMSOSD\OSDLOGS

After the deployment is successful

%WINDIR%\SMSOSD 或 %WINDIR%\TEMP\SMSOSD

注意:对于精简版触摸安装 (LTI) 部署,日志从 C:\MININT\SMSOSD\OSDLogs 开始。当任务序列处理完成时,它们最终位于 %WINDIR%\TEMP\DeploymentLogs 中。

读取:SCCM OSD 期间 SMSTS.log 文件的位置

用于故障排除的 MDT 日志文件

下表列出了所有 MDT 日志文件以及可用于对 MDT OSD 问题进行故障排除的位置。

MDT Log File NameMDT Log File LocationDescriptionBDD.logC:\MININT\SMSOSD\OSDLOGS (Lite Touch running)
C:_SMSTaskSequence\Logs (ConfigMgr running)
C:\WINDOWS\Temp\DeploymentLogs (Lite Touch complete)This is the aggregated MDT log file that is copied to a network location at the end of the deployment if you specify the SLShare property in the Customsettings.ini file.LiteTouch.log%WINDIR%\TEMP\DeploymentLogsThis file is created during LTI deployments. It resides in %WINDIR%\TEMP\DeploymentLogs unless you specify the /debug:true option.Scriptname*.logLog file that is created by every MDT ScriptThis file is created by each MDT script. Scriptname represents the name of the script in question.SMSTS.log%TEMP%, %WINDIR%\System32\CCM\logs or C:_SMSTaskSequence, or C:\SMSTSLog.This file is created by the Task Sequencer and describes all Task Sequencer transactions. Depending on the deployment scenario.Wizard.logCreated by deployment wizardThe deployment wizards create and update this file.WPEinit.logCreated during WINPE StageThis file is created during the Windows PE initialization process and is useful for troubleshooting errors encountered while starting Windows PE.DeploymentWorkbench_id.logCreated in the %temp% folder when you specify a /debug when starting the Deployment Workbench.This log file is created in the %temp% folder when you specify a /debug when starting the Deployment Workbench.

在所有 MDT 日志中,以下部署日志至关重要:

  • BDD.log - 这是主 MDT 日志文件和所有其他部署日志的组合日志。
  • SMSTS.log - 如果您是 ConfigMgr 管理员,您就会知道 SMSTS.log 文件的重要性。此日志文件包含任务序列的日志,这是对 MDT 部署进行故障排除的重要日志文件。核心MDT日志文件是BDD.log。 MDT 会将其转储到正在映像的系统上的 Windows 临时文件夹。

[玩转系统] 用于故障排除的 MDT 日志文件 | SCCM OSD

在使用MDT+SCCM部署Windows操作系统时,您可以参考以下Windows日志:

  • Setupact.log - 此日志文件是在操作系统安装过程中创建的。这是诊断设置问题最重要的日志。
  • Setuperr.log - 此日志文件包含有关安装期间设置错误的信息。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯