Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»SCCM 2007»copy the smsts log files to a share(SCCM server) if Task sequence Fails in deploying OS

    copy the smsts log files to a share(SCCM server) if Task sequence Fails in deploying OS

    Eswar KonetiBy Eswar KonetiFebruary 23, 4:47 pm2 Mins Read SCCM 2007 5,469 Views
    Share
    Facebook Twitter LinkedIn Reddit

    It is difficult to troubleshoot the machines where the Task sequence(Os deployment) failed remotely.If there are one or two computers which are in front of you,you can check press F8 and see what happens by looking at smsts.log but take a case if you deploy to multiple systems and a person who is not know how to get smsts.log .Steve posted a Great blog on how to capture smsts.log on to share for further troubleshooting.

    Below is the Task sequence which displays for deploying Operating System with different tasks .Here i have two main groups i.e Error catching Top with continue on error enabled(under options) –>This has all the tasks which are required to execute on the client side

    other is Error catching Group ( No need to enable continue on error) set to run when task sequence variable _SMSTSLastActionSucceeded equals FALSE. This group will only start when the top group has failed.

    If the Task sequence is succeeded(without any failures),you will not see any logs on the created share path.

    If any of the task under Error Catching Top failed, It creates a folder with machine name(MININT-2KTGR4) in \\in-glim-syscm\logs share by copying smsts.log.You can edit the task sequence for the failure and advertise it again.Next time,TS verifies to see if there are any existing folders available for the current machine and deletes all the content available and recreate it again.

    TS

    Command lines used for Error Catching Group are :

    for erase any pre-existing folder for machine-->cmd.exe /c rd /s /q t:\%_smstsmachinename%

    create a log folder for current machine-->cmd.exe /c md t:\%_smstsmachinename%

    copy logs to folder-->cmd.exe /c copy %_smstslogpath%\*.* t:\%_smstsmachinename%

    Where T is Drive letter which i used to connect.

    Copy smsts.log to share copy the smsts log files to a share(SCCM server) if Task sequence Fails in deploying OS Troubleshooting Issues
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    Application Deployment with Hybrid Joined Requirement Rules in Intune

    October 06, 8:59 pm

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.