Tuesday, November 05, 2013

Troubleshooting Sysprep Domain Join Issues

I’ve spent the morning trying to figure out why a SYSPREP’d instance was not joining the domain.


Turns out that in the folder C:\Windows\Panther\UnattendGC there is an extremely useful log files called setupact.log.


This log provides a verbose breakdown what happens during the sysprep process for the machine in question.



To access the log you will need to launch notepad under Administrator context.


Once you open the log, search for the DJOIN string. From there you’ll see all sorts of juicy details about the domain joining sequence.


Once you find the error codes, google them and you’ll be up and running in no time.


A couple of example codes and their translation…


Error 1326: Logon failure: unknown user name or bad password.

Typically this error signifies a bad username or password.


Error 1355: The specified domain either does not exist or could not be contacted.

Typically this error signifies network, DNS, or WINS issues.


Error 2202: You specified an invalid user name or group name.

Typically this error signifies an invalid (incorrect format) username is being used. 

This can happen if you use a third party utility that creates the unattended.xml file used by sysprep.


No comments:

A little about Me

My photo
My name is Mitch Beaumont and I've been a technology professional since 1999. I began my career working as a desk-side support engineer for a medical devices company in a small town in the middle of England (Ashby De La Zouch). I then joined IBM Global Services where I began specialising in customer projects which were based on and around Citrix technologies. Following a couple of very enjoyable years with IBM I relocated to London to work as a system operations engineer for a large law firm where I responsible for the day to day operations and development of the firms global Citrix infrastructure. In 2006 I was offered a position in Sydney, Australia. Since then I've had the privilege of working for and with a number of companies in various technology roles including as a Solutions Architect and Technical team leader.