Where is the SMSTS.log located?
As we all have had to troubleshoot our task sequences before we need to refer to the smsts.log file troubleshooting. However depending on what stage of the task sequence you are at the log file will move on you.
Below are the locations the log file will be in depending on the stage you are at.
During OS Deployment
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\system32\ccm\logs\smstslog\
When the Task Sequence completes on a x86
C:\windows\system32\ccm\logs\
For x64 Systems
C:\windows\SysWOW64\ccm\logs\

Something worth noting (that I was going to ask, but then remembered) is that in order to access these logs you need to press F8 to bring up the cmd prompt.
Here’s another tidbit of helpfulness for those who may need to troubleshoot the smsts.log and need to copy it off that machine.
net use \\somefolderonyournetwork
enter your credentials
copy smsts.log \\somefolderonyournetwork
Very Helpfull!! Thanks for taking the time to put this together!