Yeah ive read that technet page, unfortunately he doesn’t get an answer that 
works either.

Your cs settings would be good to select multiple OUs but not for Domains.  I 
already tried it and it will only accept the first JoinDomain= it finds.

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of David Landry
Sent: Wednesday, August 30, 2017 11:37 AM
To: mdtosd@lists.myitforum.com
Subject: [MDT-OSD] RE: Multiple Domains MDT


I assume you will need a domain admin level account that goes across all 
domains.

I do this in the CustomSettings.ini:

OSDComputerName=<sitecode>-%SerialNumber%
JoinDomain= <full domain name>
DomainOUs1=OU=Laptops,OU=<site>,OU=North America,DC=<domain>,DC=<domain>,DC=com
DomainOUs2=OU=Desktops,OU=<site>,OU=North America,DC=<domain>,DC=<domain>,DC=com
DomainOUs3=OU=Laptops,OU=<site>,OU=North America,DC=<domain>,DC=<domain>,DC=com
DomainOUs4=OU=Desktops,OU=<site>,OU=North America,DC=<domain>,DC=<domain>,DC=com
TimeZone=040
TimeZoneName=Eastern Standard Time

This above gives you a drop down list in the wizard to select the OU you want 
to put the computer in.
-------------------------------------------------
I found this regarding a list of domains but have not tried it:

https://social.technet.microsoft.com/Forums/en-US/7dded5fe-c697-4cf7-b6ae-51397fa66793/option-to-choose-from-multiple-domains-not-ous-in-domainmembership-using-mdt?forum=mdt

There may be some tweaking needed on the top suggestion or it may not work for 
you at all. But it something you can try. I am also setting the computer name, 
and time zone. Obviously these settings would change depending on where the 
local MDT server resides.

Good luck.


From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Marable, Mike
Sent: Wednesday, August 30, 2017 12:03 PM
To: mdtosd@lists.myitforum.com<mailto:mdtosd@lists.myitforum.com>
Subject: [MDT-OSD] RE: Multiple Domains MDT

I’ve never done this, but I think that you could do this if you change these 
variables:

JoinDomain=sub1.domain.com
DomainAdmin=Administrator
DomainAdminDomain=sub1.domain.com
DomainAdminPassword=P@ssw0rd

If they are built onsite then you could use something like the gateway address 
to automatically select the proper values in the CS.ini.

If they are being built in a central location that won’t work of course.  In 
that case you could probably use something like UI++ to put up a prompt at the 
beginning of the task sequence for the build tech to select the destination 
domain.

Or if there was something in the computer name that you could key off of you 
could automate it that way (i.e. SUB1PC001, SUB2PC001, etc.).

In theory it should work.

Mike


From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Sean Chapman
Sent: Wednesday, August 30, 2017 11:13 AM
To: mdtosd@lists.myitforum.com<mailto:mdtosd@lists.myitforum.com>
Subject: [MDT-OSD] RE: Multiple Domains MDT

☹

From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Sean Chapman
Sent: Thursday, August 24, 2017 3:09 PM
To: mdtosd@lists.myitforum.com<mailto:mdtosd@lists.myitforum.com>
Subject: [MDT-OSD] Multiple Domains MDT

So I need to add the option to join different sub-domains and Im having trouble 
coming up with a good solution.  We have different plants with domain.com, 
sub1.domain.com, sub2.domain.com etc and we build all the PCs here at 
domain.com and ship them out.

I have seen plenty about DomainOUlist.xml but there is only 1 OU in each Domain 
I want these going into and it seems that the xml is only for selecting 
multiple OUs.  I even tried it with multiple domains but it just put in the 
first one listed.

I tried to put in multiple entries in the CS.ini but it just chose the first 
one.

I can create multiple TS’s I suppose.

I saw Johan mention use webservices but I don’t have that set up and it seems 
too advanced for me to get going as MDT is not my full time job, its just 1 
task of way too many I have.

Thanks in advance






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The information contained in this communication and all accompanying documents 
from Coilcraft may be confidential and/or legally privileged, and is intended 
only for the use of the recipient(s) named above. If you are not the intended 
recipient you are hereby notified that any review, disclosure, copying, 
distribution or the taking of any action in reliance on the contents of this 
transmitted information is strictly prohibited. If you have received this 
communication in error, please return it to the sender immediately and destroy 
the original message or accompanying materials and any copy thereof. If you 
have any questions concerning this message, please contact the sender.

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues

Reply via email to