I am currently helping my company prototype automated Windows installation via network. I am using Server 2008r2 and Windows Deployment Services with Windows 7 as the OS being installed on the client computer. Everything works fine EXCEPT joining the client PC to the domain. DNS is configured correctly, client computer is already prestaged in Active Directory Computers as the user "Client1" with a password of "password". I have posted my unattend xml file and the relevant section of the Panther/UnattendGC setupact.log and setuperr.log files.
Setupact.log:
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Begin
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Loading input parameters...
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: AccountData = [NULL]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: UnsecureJoin = [NULL]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: MachinePassword = [secret not logged]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: JoinDomain = [master.local]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: JoinWorkgroup = [NULL]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Domain = [master.local]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Username = [Client1]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Password = [secret not logged]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: MachineObjectOU = [NULL]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: DebugJoin = [false]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: DebugJoinOnlyOnThisError = [NULL]
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Checking that auto start services have started.
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Joining domain [master.local]...
2017-06-29 09:25:04, Info [DJOIN.EXE] Unattended Join: Calling DsGetDcName for master.local...
2017-06-29 09:25:04, Warning [DJOIN.EXE] Unattended Join: DsGetDcName failed: 0x2746, last error is 0x0, will retry in 5 seconds...
[[[My personal note: At this point it retries and displays the above error many more times before finally quitting]]]
2017-06-29 09:32:04, Error [DJOIN.EXE] Unattended Join: NetJoinDomain failed error code is [10054]
2017-06-29 09:32:04, Error [DJOIN.EXE] Unattended Join: Unable to join; gdwError = 0x2746
2017-06-29 09:32:04, Info [DJOIN.EXE] Unattended Join: Exit, returning 0x0
Setuperr.log:
2017-06-29 09:32:04, Error [DJOIN.EXE] Unattended Join: NetJoinDomain failed error code is [10054]
2017-06-29 09:32:04, Error [DJOIN.EXE] Unattended Join: Unable to join; gdwError = 0x2746
Unattend.xml:
I have already tried turning true and it still didn’t work. Notably, I didn’t include credentials when I set UnsecureJoin to true because you are NOT supposed to include credentials when performing UnsecureJoin. Additionally, I tried variations of UnsecureJoin=true with MachinePassword set to that machine’s local admin account password and also with the MachinePassword field blank and it STILL did not work.
Can someone help me figure out why the client pc is not joining the domain at all? Additionally, DsGetDCName error code 0x2746 and NetJoinDomain error code 10054 seem to be undocumented, so any insight into these error codes would be greatly appreciated?
No comments:
Post a Comment