SCCM randomly fails to join domain and install applications on some computer models

An issue has occured recently in our environment where some computer models, in our case Dell Precision T7600 models, sometimes fail to join the domain during an imaging task sequence, but do not fail the task sequence until they get to the first “Install Applications” step in the sequence. Computers that fail in this way do not have a netsetup.log file where it should be, meaning the computer couldn’t even contact the domain to attempt to join. Further exploration of the log files on the failed client shows the following two clues:

[DJOIN.EXE] Unattended Join: NetJoinDomain failed error code is [1355]
[DJOIN.EXE] Unattended Join: Unable to join; gdwError = 0x54b

No adapters found in environment. Performing global finalization only.

It turned out in our case that the task sequence was failing to join the domain because the network adapter was too slow to respond after the reboot. I’m not sure if this is due to the T7600’s dual network adapters or some other reason, but so far this is the only model that has shown this behavior in all the years we’ve been using SCCM. In addition, the problem is intermittent and does not always happen – sometimes the machines do succeed in joining AD.

The workaround for this problem is to add a “Join Domain or Workgroup” step in the task sequence (which can be found in the “Add > General” menu in the task sequence editor window) after the “Setup Windows and Configuration Manager” step, and add a delay between the two steps. I added a two minute delay, but that might be overkill. After making this small modification to the task sequence, every single computer completed the second domain join step and therefore finished the rest of the task sequence successfully. Here is what it should look like:

Retry Domain Join for slow network adapters: can have “continue on error” set
Run Command Line – Wait for network: cmd.exe /c ping -n 120 localhost
Join Domain or Workgroup: fill out info as needed

The “Join Domain or Workgroup” step will restart the computer to join the domain, so there’s no need to add a separate restart step after this.

If you’ve experienced a similar issue or have a different workaround, feel free to comment below.

3 thoughts on “SCCM randomly fails to join domain and install applications on some computer models”

  1. This has driven me nuts for almost a week. All devices correctly installed with SCCM and all applications, but no domain join performed. after painstaking digging in logfiles and browsing on the internet it confirmed my suspicion something fishy going on with NIC card drivers. Device was a Fujitsu Celsius H980 with a Intel I219-LM and running Windows 10 1809

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.