ProLiant Deployment and Provisioning
1832885 Members
2345 Online
110048 Solutions
New Discussion

unattend.txt to join domain in w2k3?

 
dave haack
Occasional Contributor

unattend.txt to join domain in w2k3?

How can I join a server to the domain using the unattended file. Is this correct:

[Identification]
JoinDomain=companyx.net
DomainAdmin=administrator
DomainAdminPassword=password

could not locate this on microsoft.com
4 REPLIES 4
Steven Clementi
Honored Contributor

Re: unattend.txt to join domain in w2k3?

Dave:

Sample
This sample demonstrates one use of the [Identification] section of Unattend.txt.

[Identification]
DomainAdmin = PatC
DomainAdminPassword = "abcdef123"
JoinDomain = MYDOMAIN
JoinWorkgroup = MYUSERGROUP
MachineObjectOU = "OU = myou,OU = myparentou,DC = mydom,DC = mycompany,DC = com"


This is taken from the ref.chm file in the deploy.cab from the support tools on the WIndows2003 CD.

Not sure if you need the MachineObjectOU unless you want to put the machine in a specific OU.

Looks like you got it. (except for maybe the MachineObjectOU value.

Additionally, you would have to config your network settings to unless you have dhcp.

Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
Steven Clementi
Honored Contributor

Re: unattend.txt to join domain in w2k3?

After looking again... it looks like the password has to be " "'ed ;o)

I do not think that the domain needs tobe in ALL CAPS, but might be something to consider.

I attached the chm file here so you can see. There are other ways to join a computer to a domain if you want options.

Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
Steve Pitt
Advisor

Re: unattend.txt to join domain in w2k3?

It is better to get your server built first in a stand-alone workgroup and then use the RDP console to join the domain you want. This will then create a job to join the domain.
I suggest this approach as I have seen an occasional problem when creating a machine from an â unattended.txtâ which joins the domain at the same time.

Steve â Bug-Man
Jennifer Taylor_4
Frequent Advisor

Re: unattend.txt to join domain in w2k3?

Here's what I use with 2k3, 2k and XP pro and it works great.

[Identification]
JoinDomain="Domain.COM"
DomainAdmin=Administrator
DomainAdminPassword="password"

I didn't like my doamin admin password in a txt file though so I put security blocks on it so that only the local and domain admin have access to the \Deploy\configs folder.