Your company's ad could live here and reach over 50,000 people a month!

Share This Post

Task sequence error– How to copy smsts.log from client

Using SCCM to deploy operating systems to client machines is a cool feature of SCCM. If your operating system deployment fails you may need to get the smsts.log file from the client machine you are trying to image. This will help you troubleshoot why the OSD is failing. I am going to detail this process in this post.

– Error –

During operating system deployment WinPE loads up…formats the hard drive…. then goes to “Apply Operating System” after about a minute, the following error pops up “Task Sequence: Windows 7 Image has failed with the error code (0×80070002). For more information, contact your system administrator or helpdesk operator. The computer will automatically restart in 15 minutes.

– How to get the smsts.log –

  • When the Task Sequence: error code (0×80070002) pops up on the screen press the F8 key on your keyboard to pull up command line.

Run the following set of commands in the command prompt to copy the smsts.log to your SCCM Server.

  • Map a drive from your SCCM server:


You will be prompted for your username and password. Enter them and continue.

  • Change directory to X:\windows\temp using the following syntax:

cd X:\windows\temp

NOTE: The smsts.log file is typically located in X:\windows\temp. If for some reason the log file is not on your system in the temp folder run this syntax to list where the log file is on your system.

dir /s smsts*.log

  • Run the below syntax to copy the log file to the root of your SCCM server:

copy smstslog.log M:

Now you can go to your SCCM Server and analyze the smsts.log file using CMtrace.exe.

More on smstslog.log file:

More on SCCM Logs:

More on SCCM OSD troubleshooting:

Share This Post

My name is Steve Buchanan and I’ve been in Information Technology for 11 years. I have been attending the Minnesota System Center User Group meetings for about 6 months. I have been working with System Center products for the past 3 years specifically Microsoft Data Protection manager and System Center Essentials. I run a blog about Microsoft and Open Source technology at I plan to share posts from my blog here that discuss System Center topics.

Leave a Reply