Install Multiple Applications using ConfigMgr Task Sequence SCCM

0
Install Multiple Applications SCCM TS

Let’s learn How to use Install Multiple Applications using ConfigMgr Task Sequence. Working as an SCCM Admin you might have faced a scenario where your customer has asked can we build a machine for a certain department like ‘Finance’ and install the required application during the machine build itself?

There are many ways to achieve this requirement you can have a different complete task sequence for the different department (but in a large environment managing them is difficult), you can use dynamic application installation step ( but if applications are dependent on other applications then this can be a problem in managing).

Related PostCreate Application Group Using SCCM | ConfigMgr | Deploy App Group.

Introduction

In this post, we are going to fulfill this requirement using the child task sequence. I am taking an example of building a machine for the ‘Human Resource’ department.

With the release of SCCM version 1806 a new feature as a child task sequence was introduced, with this feature, you can call another task sequence with custom settings and run it along with your original task sequence.

Prerequisite

If you have followed my articles then I prefer to have a folder structure with my SCCM environment for clear understanding. As a prerequisite, we would need a Custom task sequence having all the applications or packages and their dependent requirements.

  • Create a custom task sequence in SCCM
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD |Installing Multiple Applications – Install Multiple Applications using ConfigMgr Task Sequence SCCM
  • Provide the name of this Custom task sequence like ‘Human Resource’ and click next.
  • Now right-click on this custom task sequence and click ‘edit’.
  • Add the applications, packages their dependent requirement in the order inside task sequence(In the below screenshot you can see I am installing dependency of application 2 first then the application 2).
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | creating child task sequence – Install Multiple Applications using ConfigMgr Task Sequence SCCM
  • After this, you have to create a collection for the ‘Human Resource’ department and deploy this task sequence on that collection.
  • Now go to the properties of the collection which you have created and add a new collection variable for that.
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | Adding collection variable – Install Multiple Applications using ConfigMgr Task Sequence SCCM
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | Adding collection variable – Install Multiple Applications using ConfigMgr Task Sequence SCCM

Preparing for machine build

After we have created a child task sequence, created a collection for the department, and deployed that TS to this collection, we need to edit the production task sequence so that if the machine is built for this department it gets the required applications.

  • Open your production task sequence and the step for child task sequence as below.
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | Adding child task sequence – Install Multiple Applications using ConfigMgr Task Sequence SCCM
  • I personally prefer to add any custom steps for application installation at the end of the task sequence. Browse the task sequence which you have created in this step.
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | Adding child task sequence – Install Multiple Applications using ConfigMgr Task Sequence SCCM
  • In the option, tab defines a task sequence variable with the same name as defined in the collection variable.
Install Multiple Applications using ConfigMgr Task Sequence SCCM
ConfigMgr Task Sequence | OSD | Adding child task sequence – Install Multiple Applications using ConfigMgr Task Sequence SCCM

Result

When you will add the machine to the collection of human resource department and run the production task sequence to build a machine, SCCM will check for the variables and w it will see that the condition is ‘True’ for Department is equal to HR it will run the child task sequence.

References

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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