SCCM & MDT2010U1 deploy roles and features.
Hi All, I'm working on serveral OSD task sequences to automate server deployment. Currently I'm having some trouble building a TS to deploy a XenApp server. I need to deploy some Windows 2008 R2 SP1 Roles & Features. I integrated MDT2010U1 with SCCM 2007 R3 SP2 so I can add the MDT "Install Roles & Features" step to my OSD TS. When I select features that don't require a reboot everything works fine. When I select roles and features that do require a reboot (e.g. RDS Server role) the TS will break during the deployment. Anybody experiencing the same problem, or have some tips to solve it? Greets, Coen
June 15th, 2011 9:14am

Any useful details in SMSTS.log?Anoop C Nair - This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2011 10:27am

After some more debugging I found the cause of the poblem. To deploy a XenApp 6 server, I wanted to install the following roles and features: RDS, .Net Framework 3.5.1, Desktop Experience, Ink Support and GPMC. I did include all these roles and features in a single TS step. Both the Ink Support and Desktop Experience feature require a reboot. When you include those features in one TS step it will break your TS because of the reboot requirements. So I solved this problem by seperating these features in two TS step. I created a the following TS steps: "Install Roles and Features Part1" including: GPMC, .NET Framework 3.5.1, Ink Support "Install Roles and Features Part2" including: Desktop Experience, Remote Desktop Services Now finally I got all required Roles and Features....next mission will be installing XenApp 6 unattended. :-) Greets, Coen
June 16th, 2011 9:36am

Hey Guys, Im realy getting frustrated. I try exactly the same thing as you CoenV. My TS never fail but my Roles or Features are not working. Im trying to get the Application Server Role installed but it just say "all fine" Severity,Type,Site code,Date / Time,Description,System,Component,Message ID,Thread ID,Process ID Information,Milestone,FHB,08.08.2011 15:42:59,The task sequence execution engine successfully completed the action (Install Roles and Features) in the group (Citrix) with exit code 0 Action output: =======================[ smsswd.exe ] ======================= PackageID = '' BaseVar = '', ContinueOnError='' SwdAction = '0001' Command line for extension .exe is "%1" %* Set command line: Run command line Working dir 'not set' Executing commandline: Run command line Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft Deployment Toolkit version: 5.1.1642.01 The task sequencer log is located at C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. Process completed with exit code 0 No roles were requested. No role services were requested. Features requested for installation: NET-Framework-Core ZTIOSRole processing completed successfully. Command line returned 0.,LT-DEHAM-CSDS7,Task Sequence Engine,11134,1908,1904 In this example i just tryed the .net core As you can see its processing my TS with success but nothing is installed. Im realy do not know what to do right now :( By the way this log: C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\SMSTS.LOG is not existing on the Server We use SCCM 2007 R3 with MDT 2010 Update 1 Thanks & regards Dennis
Free Windows Admin Tool Kit Click here and download it now
August 8th, 2011 10:02am

Search for the smsts.log. If you haven't found it under that path its because it was moved in a later step. See this article for possible locations of the file: http://richardbalsley.com/location-of-smsts-log-when-using-configuration-manager-operating-system-deployment I would suppose C:\Windows\SysWOW64\CCM\Logs is the place to look at. Miguel Rodriguez
August 8th, 2011 10:17am

Hey Elmunjo, Yep the file is there renamed allready with the "date" Here is what i think the installation of the one NET Framework Core <![LOG[Start executing an instruciton. Instruction name: Install Roles and Features. Instruction pointer: 18]LOG]!><time="15:42:56.609+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="engine.cxx:117"> <![LOG[Set a global environment variable _SMSTSCurrentActionName=Install Roles and Features]LOG]!><time="15:42:56.609+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:668"> <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=18]LOG]!><time="15:42:56.609+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:668"> <![LOG[Set a local default variable OSFeatures]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:700"> <![LOG[Set a local default variable OSRoleServices]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:700"> <![LOG[Set a local default variable OSRoles]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:700"> <![LOG[Set a global environment variable _SMSTSLogPath=C:\Windows\SysWOW64\CCM\Logs\SMSTSLog]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:668"> <![LOG[Expand a string: smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIOSRole.wsf"]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:782"> <![LOG[Expand a string: ]LOG]!><time="15:42:56.624+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:782"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="commandline.cpp:229"> <![LOG[Set command line: smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIOSRole.wsf"]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="commandline.cpp:707"> <![LOG[Start executing the command line: smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIOSRole.wsf"]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="instruction.cxx:2928"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="instruction.cxx:2957"> <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="0" thread="1908" file="executionenv.cxx:782"> <![LOG[Executing command line: smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIOSRole.wsf"]LOG]!><time="15:42:56.640+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="commandline.cpp:805"> <![LOG[=======================[ smsswd.exe ] =======================]LOG]!><time="15:42:56.953+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="main.cpp:303"> <![LOG[PackageID = '']LOG]!><time="15:42:56.953+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="main.cpp:332"> <![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="15:42:56.953+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="main.cpp:333"> <![LOG[SwdAction = '0001']LOG]!><time="15:42:56.953+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="main.cpp:334"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="15:42:56.985+-120" date="08-08-2011" component="InstallSoftware" context="" type="0" thread="2416" file="commandline.cpp:229"> <![LOG[Set command line: Run command line]LOG]!><time="15:42:56.985+-120" date="08-08-2011" component="InstallSoftware" context="" type="0" thread="2416" file="commandline.cpp:707"> <![LOG[Working dir 'not set']LOG]!><time="15:42:56.985+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:542"> <![LOG[Executing command line: Run command line]LOG]!><time="15:42:56.985+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="commandline.cpp:805"> <![LOG[Microsoft (R) Windows Script Host Version 5.8]LOG]!><time="15:42:57.314+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[Copyright (C) Microsoft Corporation. All rights reserved.]LOG]!><time="15:42:57.376+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[]LOG]!><time="15:42:57.376+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="15:42:58.144+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[The task sequencer log is located at C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log.]LOG]!><time="15:42:58.144+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[Process completed with exit code 0]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="commandline.cpp:1102"> <![LOG[No roles were requested.]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[No role services were requested.]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[Features requested for installation:]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[ NET-Framework-Core]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[ZTIOSRole processing completed successfully.]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:34"> <![LOG[Command line returned 0]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="InstallSoftware" context="" type="1" thread="2416" file="runcommandline.cpp:565"> <![LOG[Process completed with exit code 0]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="commandline.cpp:1102"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="instruction.cxx:3010"> <![LOG[Successfully complete the action (Install Roles and Features) with the exit win32 code 0]LOG]!><time="15:42:58.191+-120" date="08-08-2011" component="TSManager" context="" type="1" thread="1908" file="instruction.cxx:3036"> But as i mentioned its not "successfully" installed
Free Windows Admin Tool Kit Click here and download it now
August 8th, 2011 10:25am

I found the answer some days ago ... its that easy ... MDT needs the part "Gather" before the "Install Roles and Features" because its gathering systeminformation into an xml to tell the next script if its a supported feature on the system etc. thats all ! Hope it will help anyone. Regards Dennis
August 17th, 2011 8:14am

Hi CoenV, I believe the steps you mention to break it into two task sequence steps can you please brief about this as how you can break in into two steps in single task sequence and which steps will come first and where we need to place reboot steps. Thanks
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2012 11:00pm

Well that seems good to me but not sure. Regards Bharat
August 5th, 2012 11:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics