17 July 2017

MDT: Executing an application multiple times in a task sequence

Posted By: Mick Pletcher - 10:57 AM

Share

& Comment
















Recently, I published a new script that updates all of the Dell drivers on a system automatically. I wanted the script to execute twice in the task sequence with a reboot in between executions. This is so if some drivers or apps do not install the first try due to conflicts with another installation, they will install on the second try.

The first thing I tried was entering the execution as an application and putting the App install in the task sequence twice. During the build, the application would only install once. The second time it skipped over it. To accomplish this, I ended up using a Run Command Line to execute the application more than once and it worked. So if you need to execute an application more than once, use the Run Command Line to do so. 

About Mick Pletcher

My blog is here to help solve issues I have encountered and solved, publish scripts I have written, and educate others in understanding areas that are not well covered

1 comments:

  1. You can use chocoaltey.org to install a basic apps during deployment with sccm or MDT or manually in my blog I have a few post http://blogs.itpro.es/octaviordz

    ReplyDelete

Copyright © 2013 Mick's IT Blogs™ is a registered trademark.