Troubleshooting Task Sequences in System Center Configuration Manager
This article will give some guidance on how to start troubleshooting Task Sequences in System Center Configuration Manager 2007. Task sequences provide the mechanism for performing multiple steps or tasks on a client computer at the command-line level without requiring user intervention.
When you install an operating system using SCCM-OSD Task Sequences you don't see any output of the tasks which are running, so if an installation fails you have to start digging into what went wrong.
Fortunately SCCM 2007 uses a lot of log files, and when troubleshooting Task Sequences you will have to start looking for the smsts.log file.
In order to start troubleshooting you have to do a couple of things:
Step 1: Enable command prompt support on boot image
Right Click Boot Image and select Properties. In Windows PE Tab select "Enable command support (testing only)"

Step 2: Install trace32.exe on your working machine.
Trace32.exe is part of the System Center Configuration Manager 2007 Toolkit. And can be used to:
- To view the logfiles
Marks errors as yellow and critical errors as red

- To look up error codes

Note: doesn't work on 64-bit WindowsPE because of the fact that Windows PE 64-bit doesn't have Windows on Windows, and since trace32.exe is 32-bit only it won't work. Therefore if you want to troubleshoot 64-bit and 32-bit installations you will have to use trace32.exe on a remote machine.
If you only use 32-bit boot images and install 32-bit Operating Systems, you can integrate trace32.exe in your boot image en copy it to your OS while installing.
Step 3: Locate the smsts.log file
During installation the smsts.log file is located at different places:
a. System booted in Windows PE and the local harddisk not modified
You can find the smsts.log file in the x:\windows\temp\smstslog folder
b. System booted in Windows PE and the local harddisk partitioned and formatted
You can find the smsts.log file in the x:\smstslog folder and it will be copied to the c:\_SMSTaskSequence\Logs\Smstslog folder
c. System booted in Windows before the Configuration Manager is installed
You can find the smsts.log file in the c:\_SMSTaskSequence\Logs\Smstslog
d. System booted in Windows after Configuration Manager is installed
You can find the smsts.log file in the c:\windows\system32\ccm\logs\Smstslog folder (or in the c:\windows\SysWOW64\ccm\logs\Smstslog folder on x64 machines)
Everytime the machine is booted while under control of the Task Sequence the smsts.log file will be copied to a smsts-








