Where are MDT log files stored?

Applies to: Microsoft Deployment Toolkit (MDT) 8456 and later
Last updated: May 2025


Problem

You need to review MDT logs to diagnose deployment issues but are unsure where to find them at each stage of the deployment.


Solution

MDT generates detailed logs throughout the deployment process. Their location changes depending on the deployment phase, so it’s important to know where to look at the right time.


Log Locations by Phase

PhasePathNotes
WinPE (Pre-OS Install)X:\MININT\SMSOSD\OSDLOGS\RAM disk, volatile—only available during WinPE session
During Deployment (Post-OS Install)C:\MININT\SMSOSD\OSDLOGS\Available until deployment completes
Post-Deployment (Finalized System)C:\Windows\Temp\DeploymentLogs\Final resting place for logs
Windows Setup LogsC:\Windows\Panther\UnattendGC\setupact.logUseful for domain join and OS installation errors
Domain Join LogsC:\Windows\Debug\NetSetup.logNative Windows log for AD join troubleshooting

Key MDT Log Files

Log FileDescription
BDD.logMaster log, merged from other ZTI logs
ZTIGather.logLogs rule processing and environment variable resolution
ZTIApplications.logLogs application install steps
ZTIDomainJoin.logLogs domain join attempt
ZTIPartition.logDisk partition and format operations
ZTIDrivers.logDriver injection steps
LiteTouch.logInitial process log for Lite Touch deployment

How to Read the Logs

  • Use CMTrace or Trace32 (part of Microsoft tools) to open .log files.
  • Errors are usually marked with ! or FAILURE.
  • Read from bottom to top to find the last action and failure cause.

Preserving Logs

By default, MDT deletes temporary log directories like C:\MININT after a successful deployment. To keep logs:

  • Modify LTICleanup.wsf or create a final Task Sequence step to:
    • Copy logs to a shared folder
    • Zip and email them
    • Store on a network location

Notes

  • Logs are critical for troubleshooting even minor deployment issues.
  • Always retrieve logs before rebooting or completing deployment if testing.
  • If you use MDT Monitoring, you can also view live deployment status from the console.

You may also like...