SCCM 1806+ the location is %windir%\CCM\CMTrace.exe
On the Server you can find it in <SCCM installation directory>\Tools\CMTrace.exe
Merging
Merging is great when you want to take a look at 2+ logs at the same time. I’ve used it when to look at Application Deployments and Update Installation.
- Open CMTrace
- Click File > Open
- Use the check boxes to select at least two log files
- Once selected check ‘Merge selected files’ > Open
Highlight
I use this feature when I’m scrolling through the SMSTS Log and like tracking where the step successfully completed but to also see what’s happening around it in the Log.
I prefer changing the highlight color lighter blue or even green instead of the default yellow to make it easier on my eyes.
- Open CMTrace
- Open SMSTS.log
- Click Tools > Highlight
- In the pop-up box enter Win32 Code 0 > OK
- File > Preferences > Select the color you want (I choose green) > Ok
Filter
There are 4 options to choose when using the Filtering feature. You can combine 2+ options within this feature (i.e. Use the Time filter and set it “is after” a certain time to see all log entries after a specific time – do this with the Text filter to see all steps with criteria after a certain time.)
In this example I am using Filter with Highlight to see which steps were successful and which were skipped or failed
- Open CMTrace
- Open SMSTS.log
- Click Tools > Filter…
- Check the first box ‘Filter when the Entry Text’
- On the drop down select ‘contains’
- In the text box enter ‘The action’ > Click OK
Error Lookup
If you want to find a quick way to lookup an error code use this feature.
Disclaimer: This method does not always give you a description for the Error Code.
- Open CMTrace
- Open AppEnforce.log
- Copy the error code
- On the Menu Bar click Tools > Error Lookup
- Paste the Error Code and click Lookup
Elapsed Time
Use this feature to see how long it takes a task to run.
- Open CMTrace
- Open SMSTS.log
- Select the first line where the Task Sequence starts and then the line where the Task Sequence ends
- On the bottom you can see the elapsed time
After I selected all the lines, I can now see that it took 1h and 45min to complete all the steps from this Task Sequence.