Call Task Sequence at the end of a task sequence

Hi
I have SCCM 2012 R2 with many task sequence.
It's possible at the end to task sequence to call another task sequence? If yes, do you a link to explain that?
Thanks

The TechNet documentation has the bascis:
https://technet.microsoft.com/en-us/library/hh846237.aspx#BKMK_InstallApplication (expand Details).
You simply need to populate the task sequence variables with the values corresponding to the applications or packages you want to install. This can be done in a variety of methods including directly assigning them to a collection or device, using a script,
or the built-in set task sequence variable step.
It all depends on how the task sequence is informed which path to take.
Jason | http://blog.configmgrftw.com | @jasonsandys

Similar Messages

  • Running powershell at the end of a task sequence

    I have a standard task sequence (non-MDT). I've added nothing to the task sequence except to join the domain. I created a powershell package to run a simple script to install Server 2012 R2 roles and features. Here is the script
    import-module servermanager
    Install-WindowsFeature -Name  Web-Server, Web-WebServer, Web-Security, Web-ISAPI-Ext, Web-Windows-Auth, Web-Metabase, Web-WMI, Web-Scripting-Tools, rdc, BITS, NET-Framework-Features, Web-Asp-Net, Web-Asp-Net45, NET-HTTP-Activation
    The script runs fine if I run it manually in an elevated prompt.
    The program in the package has a command line of
    powershell.exe -ExecutionPolicy bypass -File FileName.PS1
    The behavior of running the package after the task sequence is:
    1. Nothing in the CCMCache folder (although the client is fully installed)
    2. In ExecMgr.log I see that the client has prepared the command line (as stated above), and tried to run the command line.  I get a return code of 0 (even though the script file hasn't been downloaded
    3. I noticed in ExecMge that the command line expands to ...\windows\system32\powershell\v1.0\powershell.exe.  I only mention this because I read that powershell 1.0 doesn't support executionPolicy -bypass
    Lastly, if I deploy the package to an already existing server, I see the script in the CCMCache, I see execMgr.log runs the command line, return code 0, nothing happens.
    Any ideas?

    Can you test your script with psexec -s to emulate running as the SYSTEM account? This may be a limitation of the SYSTEM account.
    Daniel Ratliff | http://www.PotentEngineer.com

  • HT5364 i'm using safari 7.0 i try to video call on Facebook but all time i have to download Facebook video calling software but at the end it not going through.

    i try many time but alwase i've to downlaod fascbook video calling software installtion going successfully but i can't make a call.

    1 - you should only rip video if you have license rights to do so
    2 & 3 - Apple Intermediate Codec and DV are completely different codecs.  Do not mix them.  Don't put an AIC video clip in a DV NTSC sequence ... you are only asking for trouble.  You could convert the video to DV NTSC and use it in a DV NTSC sequence ... or convert to AIC and put it in an AIC sequence.
    4 - whether or not to deiniterlace depends on your ultimate use of the video ... TV, DVD, computer, web ...

  • Changing an image at the end of an animation sequence

    Hello all,
    I'm working on a project where I have a black and white image that starts in Position A and moves to Position B over the course of 1 second (24 fps). When it arrives at Position B (frame 24) I would like for it to convert seamlessly into a color version of the same image. In my head, this seems simple, but I can't get it to work. I have tried three different options so far:
    1. At Position B (frame 24) I tried to drag the color image onto the canvas so that I could simply cover the black and white symbol. However, I receive the message "that object can't be pasted as a tween target".
    2. At Position B (frame 24) I tried to "swap symbols" with the color one. However, when I did that it changed the symbol for the entire animation. So, instead of starting out black and white and then turning to color, it just became color the whole time.
    3. I tried to set the animation to end a frame 23 and then have frame 24 become the color picture. This worked, however, when I add in more images later in the project, instead of all sticking together it creates a small space between the far left image and the image directly to the right.
    Any suggestions?

    Make a graphic symbol with the black and white image on frame 1 and the color image on frame 2. Set it to "Single Frame" When it's animating, that frame should be 1. When it's finished, change the single frame to 2.  If you have problems doing this with the motion applied, try the following:
    Insert a keyframe on the last frame with all the types available.
    Copy the properties of that keyframe, then create a new keyframe on the second-to-last frame of the animation and paste the properties.
    Select the last keyframe, right click and select "Split motion." With the frame still selected, select "Remove motion tween."
    Now you have a frame after the tween where the tween is not applied, but your instance is in the same spot/state as where it ended.
    Actionscript not required!

  • Calling a function at the end of event

    I know that I've done this before, but I can't seem to remember tonight.  I want to fire a function after a tween is finished.
    What am I missing?
    buttonArea_mc.buttonMode = true;
    buttonArea_mc.useHandCursor = true;
    buttonArea_mc.alpha = 1;
    var myTween:Tween;
    buttonArea_mc.addEventListener(MouseEvent.CLICK, clickThru);
    function clickThru(e:MouseEvent){
              myTween = new Tween(buttonArea_mc, "alpha", None.easeNone,1,0,.5,true);
              startMovie(); /* what is the listener*/
    startMovie{
              gotoAndPlay(10);

    buttonArea_mc.buttonMode = true;
    buttonArea_mc.useHandCursor = true;
    buttonArea_mc.alpha = 1;
    var myTween:Tween;
    buttonArea_mc.addEventListener(MouseEvent.CLICK, clickThru);
    function clickThru(e:MouseEvent){
              myTween = new Tween(buttonArea_mc, "alpha", None.easeNone,1,0,.5,true);
              myTween.addEventListener(TweenEvent.MOTION_FINISH,startMovie); /* is the listener*/
    startMovie{
              gotoAndPlay(10);

  • How to commit data at the end of a bounded task flow

    Hi all,
    I am using JDev 11.1.1.0.2.
    I have this situation
    1) A page with a button that goes to a task-flow to insert data (property data-control-scope set to shared and property transaction set to requires-transaction as suggested in http://www.oracle.com/technology/products/jdev/tips/fnimphius/cancelForm/cancelForm_wsp.html?_template=/ocom/print )
    2) At the end of this task-flow a I have a TaskFlowReturn (property End Transaction set to commit)
    When I click the button associated to this TaskFlowReturn, I return to the first page (described in 1) ), but the data I have just inserted are only submitted, but not committed.
    What's the problem?
    Any suggestions?
    Thanks
    Andrea

    Hi,
    if you set the return activity to commit the transaction then this is done. I don't see why rollback should work but commit doesn't
    Frank

  • Do i need separate videos to enable a user to 'Play All' (From start to end) and select certain sequences (e.g. Ceremony, Reception Speeches that start at the chosen sequence and end at the end of the rest of the video and not the sequence)?

    Hi - I am obviously new to Encore but this is what I want to do.
    In a wedding video I want them to be able to:
    1. Play the movie from start to finish.
    2. Select a sequence (say Speeches) that plays from the start of the sequence until the END of the whole video.
    So do I need 1 video for the play all one, as well as the 4 sequences - Reception, Cake, Speeches, Dancing?
    Colin

    You can use separate videos, or a single video. The single video is easier for your desired navigation. You will find more people asking how to get the "chapter" or scene video to back to a menu when it ends, and also have a play all. So ignore the advice on those.
    Single video:
    Your single video goes on one Encore timeline. "Play all" is a button to the timeline, and the timeline has an end action of "last menu."
    Chapter menu has 4 buttons (plus a fifth to go back to the main menu), going to each respective chapter marker. There are no end actions on the chapter markers, so when another chapter is reached, it keeps playing through just like the play all.
    Multiple videos:
    Each video goes on its own timeline. The end action of video one timeline is video two timeline etc. Play all is a button that goes to timeline one. The chapter menu also has a button going to chapter one, and it works the same as the play all. Each of the chapter buttons go to their respective chapter timelines.
    Encore can have some issues with lags, but I don't think they affect either of these workflows. Do not rely on the Encore preview; burn a test disk and play on a DVD player.

  • MDT 2012 - Auto login settings were gone at the end of the deployment

    I need to make some PC for public use (Has a local user account that no need to login)
    There's no problem for me to created the local user account and and its profile folder by using custom tasks.
    The auto login settings also successfully set by modify the registry or use Sysinternals - Autologon.exe
    But after the last restart of th PC (I set to restart at the end of the deployment), Windows stuck at the login screen.
    Then I found that all the auto login settings were gone (Both in the registry and netplwiz).
    Since this custom task is place near the end in the Task sequence (which means there should be no other task that can influence it). So, I suspect may be the Group Policy reset all those settings.

    I had the same problem, and these were my solutions:
    Comment out the relevant lines in LTICleanup. I tried to avoid this, in case any updates to MDT reversed the change. Also even if I documented it, it might not be apparent to another technician years down the line. I prefer to leave the MDT files unchanged.
    Create a script that runs after the task sequence has completed. This is the option I chose, and it was a bit more complicated than it appeared.
    What I did was as follows:
    Create a new AutoLogon Script application.
    The "application" must consist of two script files: install and autologon.
    The "install" script does the following:
    Copy the "autologon" script to a temporary folder on the local drive
    Create a new scheduled task which runs on startup, as the SYSTEM user, and runs the "autologon" script (using schtasks.exe)
    The "autologon" script does the following:
    Create the relevant registry keys to enable automatic logon.
    Delete the above scheduled task.
    Reboot the workstation.
    In the MDT task sequence, create a new task at the very end, which installs a single application. Choose the AutoLogon Script application.
    In your CustomSettings.ini, set FinishAction=REBOOT
    So at the end of your task sequence, the workstation will reboot. It will then run the autologon script after boot up, but will not autologon. When the script finishes, it will reboot again, at which point it will autologon with the details you specified.
    It's a little fiddly, but works for me.
    Johan Arwidmark has another method here, which might be even easier - http://www.deploymentresearch.com/Research/tabid/62/EntryId/122/Final-Configuration-for-MDT-2013-Lite-Touch-now-with-Autologon-support.aspx

  • Display results (erroneous or successful) at the end of a workflow

    Hi, we have several custom workflows each of which has 2-3 approval steps and resource account updates at the end.
    On the administrator interface, and administrator can see results of any change he makes on a taskResults page.
    I need to add a similar step to our workflows, in order to let the last approvers see the result of the workflow, at least if it ended successfully or not.
    I tried to use ADD_RESULT application but even if I see its' results in a trace, no error is displayed on the last approval form.
    Does anyone have an idea about how to display task results at the end of a workflow? How to display an html page instead of calling another form may help too...
    Regards,
    Mehtap.

    Hi Swatz,
    Actually my workflow ends with a checkin operation after an approval page.
    What I need is to display a page showing errors that may have been encountered during checkin operation.
    Yet I do not have any results page but I'd like to add one and do not know how to add a page that shows results after submitting an approval form.
    I think your sample code shows how to add new info to an already existing taskResults page, as I mentioned yet I don't know how to create/display such a page/report and show it to the user.

  • Is there a way to prevent the "task id" from changing automatically when a task is moved or inserted?

    When moving a task in Project 2010 I've found task IDs also change.  This is not the desired result.  If a task is moved for whatever reason the task ID should not change.  It should be consistent to the task.  For example, I've created
    a new project with five tasks as shown on the left below.
    I've numbered the tasks to coincide with the task ID as originally created.  If I move Task 4 to be after Task 1 the moved task and all subsequent tasks are renumbered as shown on the right below.
    This is not the desired result.  The expectation is the task ID is unique to the task when the task is created.  It should never change after the fact.  I view the task ID as the identity field for the task.  In database terms this means
    it NEVER EVER arbitrarily changes.
    A similar problem occurs if a task is inserted between two tasks.  If I insert task 6 after task 2 the task IDs are renumbered as shown.
    Again, the task ID should never have been arbitrarily changed.  This creates a referencing problem because task 6 should have had the next available higher task ID which should have been 6 and all the tasks after task 6 would not have been renumbered.
    The only work around to this behavior is to create a custom number field called "Task ID" and manually assign numbers to each task.  This makes referencing the tasks easy when communicating with team members.  Using the built-in task
    id as a reference risks the task ID being lost at any point and confusion for team members.
    Is there a way to turn-off task ID renumbering when a task is moved or inserted?
     Ideally any inserted task should be the next higher available task ID.
    Thanks

    Hi,
    not sure where to find original post. In RDB, it is MSP_EpmTask_UserView.TaskClientUniqueId.
    Sorry, if there are now 2 answers.
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Leveling question: levels to end of previous task while time free

    Hi,
    Guess this is one I don't know how to approach it in the correct way. This is where MS P is all about.
    I have two tasks. Task one is a task in which I defined 4 hours a week over a period of 20 weeks for a total of 80 hours and assigned a resource. Task two is a task of 16 hours which can be done in one week. This week is also part of the 20 week span of
    task one and has the same resource assigned to it, so MS P tells me this resource is overallocated.
    When I have a look into the task usage, that makes perfect sense. Let's say task 1 and 2 both have the same start date. So at this first day task 1 is scheduled 4 hours and task 2 is scheduled 8 hours while working days are 8 hours. Now when I use leveling
    based on priority, standard and check the options (leveling can adjust individual assignments and leveling can create splits in remaining work) MS P shifts task 2 to the end of task 1. While in every week this resource only has 4 hours work of task 1
    assigned and is able to do task 2 as well. The task type doesn't make a difference, tried fixed work and fixed units (which in my eyes makes no sense). Can anyone help me out?

    Hi Jan,
    Thanks again! Using the recurring task makes it at least a lot more neat.
    I'm still stuck with one issue. I have a recurring task now every monday, lasting 4 hours/half the day with resource X assigned. When I plan a second task (it will start the same monday since it's the project start date) and assign resource X MS P tells
    me that this resource is overallocated. The same applies here, resource X can't work 12 hours in a 8 hour work day. Both tasks are fixe work. Now when I use leveling (with split option checked), it do anything.
    While typing this I checked this again with a completely new file and pool. There it does what I expect, levels task 2 to 4 hours on monday and 4 on tuesday. Seem to walk against this sort of bugs more and more. It seems like I have to do everything right
    the first time, because after changing the task type it doesn't know how to handle it. I'm gonna try a bit more and will report back here.
    Edit: Gues I found the reason, not what is causing it. In an attempt to solve the overallocation myself, I put the hours to the next day in task usage. When I wanted to delete the hours of the first day by selecting it and pressing delete, it deleted the
    hours on the second day I just added instead. Seems like there is some sort of restriction for the task to start on that first day. I checked for that, but couldn't found anything besides the most obvious. The task was set to as soon as possible, no deadlines,
    date in start field not manually set or whatsoever. I made a new task and deleted the initial one, no problems with that. If someone knows how this is possible, please let me know. Thanks in advance.
    Edit 2: It has to do with priority settings. Still figuring out what it is exactly but I think it was due to all tasks were set to 1000 priority. :|

  • Timing goes out and audio cuts off at end of published slide sequence

    Hi
    I am experiencing a problem with timing and the sound cutting off at the end of a slide sequence.
    Here is my work flow:
    I record what I want my slide show to say, add my music and sound effects in Soundbooth. I then create a mp3 file for my slide show.
    I adjust my slide show timing to match my voice over, ensuring that the total number of minutes and seconds the slide show equates to matches the length of my audio. I then import my audio into my project while maintaining the slide timing.
    If I preview the individual slides to match the timing of the arrival of words or pointers in my presentation by pressing the play button in Captivate, everything is great.... until I publish to a .swf file.
    On a 2m:50sec slide show of 22 slides it cuts off approximately 5 seconds before the end. My timing which I have bent my brain on getting right, is out and appears to worsen the longer the slide show is or if it is not on the latest and greatest Mac powered computer.
    I have gone so far as to increase the length of time on the last slide 5 seconds beyond the length of time that the audio occupies as well as adding another 5 seccond blank slide and still have the same cut off problem. No ideas how to help the poor souls who might not have an amazing computer to watch the demonstration on?
    Interestingly if I publish and look only at the last 3 slides or if I look at a short sequence of slides or at a slide in isolation, my audio is there as it should be along with the timing. It would appear that the time "lost" or a lag between the presentation and the audio is the culprit.
    Kindly advise if there is a solution to this or whether the problem lies with something I am doing.
    Thank you in advance

    Has there been any new developments on this problem?
    I've been having to do some crazy work arounds to avoid audio cutting off at the end of slides when using CP5 for development.
    Then this week I had to review an old training which was published a long time ago only to discover that the same issue of audio cutting off is happening there.
    These materials were developed using CP4 and some even with CP3.  This means that the problem/change is not CP5 but probably something to do with the Flash player version because at the time of publshing the older files did not have this issue.
    This has me really worried.  There is no way I can go back and update all the old files and it means that previously perfect materials are now being viewed with audio cutting off.
    Have the Adobe Captivate developers considered the possiblity that this may be a flash player issue?  Have you discussed this with the Adobe Flash developers?  Will there be a fix for this anytime soon?
    Thanks,
    Aimee

  • How to use in PS2013 the previous PS2010 Close Tasks to Update

    Hi,
    I know that in PS2013 there is a solution regarding the 'Lock' field in a task, that replaces the former procedure 'Close Tasks to Update' in PS2010. (http://social.technet.microsoft.com/Forums/projectserver/en-US/44a84c3a-b20e-47d8-a675-1eaed9985a15/close-task-to-update-2013?forum=projserv2010setup)
    The issue is that I don't really know how to edit a Task in a PWA View, the only way for me to edit a task is through Project Pro 2013 and there I don't have the possibility to edit or view this field.
    Can anyone tell me how to do that?
    Thank you for your help.
    José Espases

    Hi,
    sorry, closing tasks for update was always only possible in Project Web App, and it is still the same with 2013 - just the way how to was changed. As you found, this field Lock is not available in client.
    Ask yor Project Server administrator to add this field to a simple Project Task view like
    Project Tasks Summary, you are allowed to use. (Server Settings - Manage Views - click on a view name in Section Project, and add field to view.)
    When you open Project Center, select your project and click on Open - In Browser for Editing. Or click on project name and click on
    Edit - In Browser. Select the view, your Project Server administrator added lock field to on tab Task, section Data from drop down list View. You will see the newly added field and can change value there. After changing, click on Publish and finally
    on Close, to check in project.
    Hope that helps?
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • How to pass a parameter into execute sql task and later use it into dataflow task?

    i am in a situation, where i have a logging table in which i have a primary key called ETL_log_ID which is an identity column and acts as a foreign key for various fact table and dimension tables which are populated using SSIS packages. Now i wanna use the
    ETL_log_ID as a parameter in the execute sql task which populates the log table and pass the same value in the data flow task which populates the facts and dimension. Can you let me know how to pass the parameter in a step by step procedure.
    Thanks,
    Nikhil
      

    Nikhil,
    You can check the following :
    http://www.programmersedge.com/post/2013/03/05/ssis-execute-sql-task-mapping-parameters-and-result-sets.aspx
    http://stackoverflow.com/questions/7610491/how-to-pass-variable-as-a-parameter-in-execute-sql-task-ssis
    Regarding the usage in Dataflow task, Can you elaborate on that a little?
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Howto trigger an update of SCEP at the end of the task sequence?

    Hi,
    Howto trigger an update of SCEP at the end of the task sequence?
    Please advise.
    J.
    Jan Hoedt

    Do you know if the command is running in WinPE mode or full-OS mode? You might try wrapping the command into a .bat or .cmd file and then running that through the task sequence.
    Edit - I don't know how you're doing your task sequence initializing (e.g. unknown computers, OSD imaging collections, etc), but do you have a Client Policy (not Endpoint Protection Policy) set to allow SCEP to be managed?  And if so, how are your imaged
    PC's getting into the collection to be managed.  Same for SCEP updates.
    What I wonder is if your PC's know they have updates deployed to them.  That command line, if I remember right, will search for your internal update server, aka WSUS/SCCM for updates.  If the device does not have SCEP updates deployed to it, that
    command will do nothing.  If you add -MMPC to the end of it the device will download from Microsoft.
    There's a setting client setting for Endpoint protection called Disable Alternate Sources for the Initial Update.  What is that set to?  Sorry, I know I just threw a bunch of information at you and asked a lot of questions.

Maybe you are looking for

  • How do I include an image's collection hierarchy in its name when exported?

    Hi, Newbie question - I organize selected images using hierarchies of collections. When I export the images in those collections, I'd like to include the entire collection hierarchy of each image in its exported name. For example, if I have a collect

  • Publish idocs to external system

    Hi, We have a business requirement to publish Idocs to an external system, however we don't have any kind of middleware to perform that action. Since it is HR master data, we can use change pointers internal table, to create a flat file with that dat

  • Using both Time Machine and External HD

    Does it make sense to use both Time Machine for internal back up AND an external hard drive to move files to free up space? 

  • ECC install on HA - which SAPINST options do I use?

    I am attempting to install ECC 6.0 and have a dilemma. When installing ECC 6.0  I have noticed the HA selection in the SAPinst screen. If I plan to use an HA solution that uses HW replication, do I do a normal install and then setup the HA solution a

  • Opening files from WebUI

    Is it possible to forse IE to open files from IFS with asociated program out of IE window? If I choose to open .xls file it should open in Excel and not inside IE window.