Gleanings from Johan at TechEd 2014

I attended a few of the OSD deployment sessions with Johan Arwidmark at both the main TechEd conference, and also at TechEd Day 5 put on my HASMUG.   Here are some of the things I thought were good to remember.  I appologize for the text wall, but its all good info.

________________________________

SMSTS.log has a 1mb size, and 1 rollover file by default.  The problem is there is usually more like 4 or 5mb of data written to this log during a deployment.  To change this behavior, you will need to create a text file called SMSTS.ini with the following suggested values:

[Logging]
LOGLEVEL=0
LOGMAXSIZE=10000000
DEBUGLOGGING=1

That will give us a max log size of 10mb instead of 1mb.  You can change the logging levels or add other values if you need them.  Next you will have to inject them into your boot image.  Jump down to the section called “Injecting the SMSTS.ini file into the Boot Image” on this page:  http://blogs.technet.com/b/system_center_configuration_manager_operating_system_deployment_support_blog/archive/2011/10/12/how-to-change-logging-options-for-smsts-log-in-system-center-configuration-manager.aspx

________________________________

Next thing was that installing DaRT from the MDOP is well worth it.  This allows you to remotely see what is happening in your TS while you are deploying without sitting at the machine.  Unfortunately, this only applies while running the boot image, but its still a nice tool to have in your pocket.  The bonus is that when you turn on monitoring in the MDT console, you can now see what is happening in your OSD TS’s.  Johan has some instructions on his website:  http://www.deploymentresearch.com/Research/tabid/62/EntryId/131/Adding-DaRT-8-1-from-MDOP-2013-R2-to-ConfigMgr-2012-R2.aspx

________________________________

For OSD troubleshooting, finding the right log sometimes is a pain.  Here is a refresher on the logs in the order they are used.
1. x:\windows\temp\smstslog
2. c:\_smstasksequence\logs
3. c:\windows\ccm\logs

________________________________

CMTrace is actually included in the MDT boot image.  Its located at x:\sms\bin\x64

________________________________

In your boot image properties, make sure you enable it for PXE (it isn’t enabled by default, and a lot of times you just forget).

________________________________

This one surprised me.  But offline servicing of your install images isn’t recommended.  Things like frameworks cant be injected, but sometimes try to anyways.  That breaks your image.  Its better to just have a build and capture and rerun it as needed.

________________________________

Inside the ztisccm.wsf file, you will find this line: wscript.sleep 30000.  This was in there for a specific hardware model from like 6 years ago (confirmed by the guy who actually wrote the script).  It is safe to change the value down to like 5000.

________________________________

How many times have you been trying to fix a problem during your TS and missed the 15 minute reboot on failure window?  Here is how to fix it:  At the beginning of your TS, add a new Task Sequence Variable.  Set the variable to be SMSTSErrorDialogTimeout and the value to be 86400.  This will give you 24 hours to come back and figure out what is going on before it reboots.

________________________________

There was a bunch more, but those were the top ones for me.  I wouldnt hesitate to watch his sessions.  Also, make sure you check out his website:  http://www.deploymentresearch.com/

Filed under: Microsoft, SCCM | Posted on May 21st, 2014 by CharlieMaurice

Leave a Reply

RSS Feed

Categories

Archives

Blogroll

Meta

Copyright © 2023 Charlie's Tech Ramblings. All rights reserved.

Tech Blue designed by Hive Designs • Ported by Free WordPress Themes