SCCM OSD Task Sequence Log (smsts.log) Locations

Log File Locations

Below are the locations the smsts.log file will be in depending on the stage you are at. The best tool to use to view the log files is the Configuration Manager Trace Log Tool (cmtrace.exe). It can be found on an SCCM Site Server under %SCCMInstallLocation%\tools\

During OS Deployment

C:\smstslog\
(Common location)

Before your hard drive is formatted and partitioned

X:\windows\temp\smstslog\

After your hard drive is partitioned formatted

X:\smstslog\ and then is in C:\_SMSTaskSequence\logs\smstslog\

Within Windows

Within Windows before the SCCM agent is installed:

C:\_SMSTaskSequence\logs\smstslog\

Within Windows after the SCCM agent installed:

C:\windows\ccm\logs\smstslog\
(Common location)

When the Task Sequence completes

C:\windows\ccm\logs\

How to access and review the log files

From within Windows

If you can boot into Windows, it is easy to locate the log files with Windows Explorer.

From within WinPE (during OS Deployment)

To gain access to the log files in WinPE, you need to use command line.

  1. To bring up a command prompt, press F8
    smstslogfilelocation1
  2. Map a network drive to copy the log to, for example
    1. net use s: \\Server\Share
    2. enter your username like Domain\username
    3. enter your password
  3. Change the current directory to the log file location
    1. cd x:\windows\temp\smstslog  (See possible log file locations above)
    2. Type dir and press Enter, ensure there is a file called smsts.log there
      smstslogfilelocation2
    3. If the folder or file does not exist, try another directory mentioned at the start of this document.
  4. Once the log has been found, copy it to the network drive location
    1. copy smsts.log s:

The log can then be reviewed with the Configuration Manager Trace Log Tool from your computer.