How to add drop down OU selection boxes to MDT
Goal
- Add a drop-down selection box containing pre defined OUs onto the Computer Name GUI in MDT
Prerequisites
You will need to download the zip file below, extract and copy the files into the Scripts folder inside your Deployment Share folder F:\DeploymentShare\Scripts where F is the drive letter of your deployment share.
Solution
Download and copy over the files from the prerequisites above into your deployment share
Edit the DomainOUList.xml file and populate it with your OU-distinguished names
Once done, you will need to re-create your deployment share and replace the image on WDS
Boot up into MDT and you should now see a drop down selection box next to OU
If you do not see this box ensure you do not have SkipDomainMembership=YES in your deployment rules,
Let the deployment finish; once done the machine will be joined and have been put into the OU you selected.
The machine is now ready to go and as it was put into the correct OU from the start should have all its GPO object already applied.
Seems to be working well! Great work, and thank you for sharing.