Jump to content

Recommended Posts

Posted

Hello,

 

For the past few weeks, I have been on and off trying to get MDT to automatically domain join. I've had anything but luck.

I have tried using multiple PowerShell scripts with no joy. Offline Domain Join does not seem to be working.

 

I would really appreciate your help.

 

I'm running:

Windows Server 2016

Windows 10 1703 Image

MDT 2013 Update 1

Posted (edited)

CustomSettings.ini

 

[settings]Priority=DefaultProperties=MyCustomProperty[Default]OSInstall=YSkipCapture=NOSkipAdminPassword=YESSkipProductKey=YESSkipComputerBackup=NOSkipBitLocker=YESSkipComputerName=NOSkipUserData=YESSkipComputerBackup=YESSkipTimeZone=YESSkipLocaleSelection=YESJoinDomain=MCCLEAN.internalDomainAdmin=DomainJoinDomainAdminDomain=MCCLEANDomainAdminPassword=passwordUserID=AdministratorUserDomain=MCCLEANUserPassword=password

Edited by angrycomputingteacher
Posted
In the past, I've had machines that won't domain join because the PC and server time are out of sync and so the crypto fails. So simple but took me forever to work it out!
Posted

No DNS should all come from DHCP.

 

Your admin password doesn't have any characters in does it?

 

Mine has failed before when I had the £ sign due to keyboard layouts

Posted (edited)

Follow the bits about SLShare & cmtrace here (you can ignore the wsus stuff for now): http://www.edugeek.net/forums/o-s-deployment/185913-wsus-setup-mdt-reference-image.html#post1592073

 

Run a full deployment and once it has finished (or failed), look at the ZTIDomainJoin.log file and that should give you more info as to why it is failing. If your DHCP server isn't handing out the IP addresses of your DC(s) for DNS then I'd imagine that this is your issue.

 

You could use netsh within a 'run command line' step in the task sequence to set the DNS server (make sure you do it before the domain join step though)

Edited by computer_expert
Posted (edited)
I'd recommend CMtrace (in the System Center Toolkit download) unless you want to make your eyes bleed reading the logs that MDT creates. CMtrace also highlights errors in red and warnings in yellow Edited by computer_expert
Posted

I've performed a re-image on a test machine but couldn't get the machine to accept any of my domain join credentials so I continued with the deployment and domain joined it afterwards.

 

How would I go about this? At first login to the machine after deployment, it sets my DNS and uses Offline Domain Join to request to join the domain. Would I use batch to do both the things?

Posted

Been a while since I've used MDT but On the task sequence for joining the domain, did you click on the test button?

 

I seem to remember an issue where clicking Test Credentials caused an issue - so try entering details and ignore the test credentials option

Posted
Been a while since I've used MDT but On the task sequence for joining the domain, did you click on the test button?

 

I seem to remember an issue where clicking Test Credentials caused an issue - so try entering details and ignore the test credentials option

Test button?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...