Jump to content


  • 0
Dsbloom

What is the best way to run a custom app during an MDT UDI Task Sequence?

Question

Hello,

 

We have a very decentralized environment, and the UDI Wizard's OU selection page just isn't good enough to fit our needs, since I have to manually input every OU that a technician could choose when they build a machine. I have developed a .NET app that will query Active Directory and inject the proper XML to populate that drop down box with every OU in our forest, but the width of the dropdown box is too small, and our long AD paths won't fit.

 

So, I have written my own OU tree chooser, and I would like that to run before the UDI wizard pops up. This OU tree app allows a technician to select an OU to build the machine in, and then injects that OU into the UDI_Wizard_Config.xml file, so that the UDI wizard and the task sequence knows to put the machine in the chosen OU. My questions are:

  1. What is the best way to run this app? As a package? As a command line from a share?
  2. How can I modify files in the MDT Toolkit during a TS?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

you could run it as a Run Command Line step in the task sequence,

you could modify files in the MDT toolkit by referencing the file(s) itself via the MDT path called %scriptroot% (where the scripts are stored) or %toolroot% (the root of the MDT toolkit package) however I havnt tried modifying files directly in there, it might be best to point to an 'external' path and modify a file there instead as every time you use the toolkit package any modified files would be replaced with those from the MDT toolkit itself

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.