Jump to content

Automated domain join runs twice, creating duplicate computer in AD


Recommended Posts

Guest Justin Nelson
Posted

So I'm running a lite-touch deployment with an unattend.xml file to automatically join the computer to the domain. The problem is in offices that have more than one DC the computer gets joined to the domain twice, creating a duplicate computer in AD. I checked the setupact.log file, and it looks like djoin.exe is being run twice for some reason, even in offices with only one DC, but it doesn't cause any issues in those. Any idea why it runs twice and how to fix it? Thanks.

Setupact.log:

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Begin

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Loading input parameters...

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: AccountData = [NULL]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: UnsecureJoin = [false]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: MachinePassword = [secret not logged]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: JoinDomain = [domain.net]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: JoinWorkgroup = [NULL]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Domain = [domain]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Username = [user]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Password = [secret not logged]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: MachineObjectOU = [NULL]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: DebugJoin = [NULL]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: DebugJoinOnlyOnThisError = [NULL]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Checking that auto start services have started.

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Joining domain [domain]...

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Calling DsGetDcName for domain...

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: DsGetDcName returned [DC02.domain.net]

2012-03-12 09:54:19, Info [DJOIN.EXE] Unattended Join: Constructed domain parameter [domain.net\DC02.domain.net]

2012-03-12 09:54:35, Info [DJOIN.EXE] Unattended Join: NetJoinDomain succeeded!

2012-03-12 09:54:35, Info [DJOIN.EXE] Unattended Join: Exit, returning 0x1

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Begin

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Loading input parameters...

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: AccountData = [NULL]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: UnsecureJoin = [false]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: MachinePassword = [secret not logged]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: JoinDomain = [domain.net]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: JoinWorkgroup = [NULL]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Domain = [domain]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Username = [user]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Password = [secret not logged]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: MachineObjectOU = [NULL]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: DebugJoin = [NULL]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: DebugJoinOnlyOnThisError = [NULL]

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Checking that auto start services have started.

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Joining domain [domain.net]...

2012-03-12 09:54:37, Info [DJOIN.EXE] Unattended Join: Calling DsGetDcName for domain.net...

2012-03-12 09:54:38, Info [DJOIN.EXE] Unattended Join: DsGetDcName returned [DC01.domain.net]

2012-03-12 09:54:38, Info [DJOIN.EXE] Unattended Join: Constructed domain parameter [domain.net\DC01.domain.net]

2012-03-12 09:54:39, Info [DJOIN.EXE] Unattended Join: NetJoinDomain succeeded!

2012-03-12 09:54:39, Info [DJOIN.EXE] Unattended Join: Exit, returning 0x1

 

Continue reading...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

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

Guest
Reply to this topic...

×   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.


×
×
  • Create New...