Microsoft Deployment Toolkit
Documentation Library Override the Configuration File That the UDI Wizard Uses |
The UDI Wizard defaults to using the UDIWizard_Config.xml file in the Scripts folder in the MDT Files package for configuration. You can override the default configuration file that the wizard uses by modifying the UDI Wizard task sequence step to use the /definition parameter.
To override the configuration file that the UDI Wizard uses
1. In the Configuration Manager console, in the navigation pane, click Software Library.
2. In the Software Library, go to Overview/Operating Systems/Task Sequences.
3. In the preview pane, click task_sequence (where task_sequence is the name of the task sequence you want to edit).
4. On the Ribbon, on the Home tab, in the Task Sequence group, click Edit.
The task_sequence Task Sequence Editor dialog box opens (where task_sequence is the name of the task sequence you want to edit).
5. In the task_sequence Task Sequence Editor dialog box (where task_sequence is the name of the task sequence you want to edit), in the task sequence hierarchy, go to the State Capture phase.
6. Beneath the State Capture phase, click the UDI Wizard task sequence step.
7. On the Properties tab for the UDI Wizard task sequence step in Command line, modify the text as follows (where path is the path to the configuration file, which is relative to the Scripts folder and file_name is the name of the configuration file):
cscript.exe “%DeployRoot%\Scripts\UDIWizard.wsf” /definition:<path\file_name>.xml.
Note The above text appears on one line. The line wrap seen here is the result of document formatting constraints.
8. Repeat steps 3 and 4, substituting State Capture with Preinstall/New Computer Only.
9. Repeat steps 3 and 4 for any custom task sequence steps that run UDIWizard.wsf.
10. Click OK.
Related Topics