Domain – WDS deployed image of Windows 7 not joining domain

active-directorydomainunattendedwdswindows-server-2008

I would like for someone to chip in and take a look at these files and let me know if I'm doing something wrong. I'm running a test environment with Win2k8 R2 with WDS, AD DS, DNS and DHCP in VirtualBox plus a testing client W/S in VirtualBox and an extra HP workstation for physical testing.

I have gotten the Client unattended file to work properly for both WDS boot and install stages. It does a couple of branding operations and basically setting locale and skipping the Welcome stage.

Both workstations are pre-stages in AD as PC1 and PC2 based on their GUID. When I use the WDS boot unattended file only, the computer appears joined to the domain with its previous Computer Name, as per Microsoft's documentation, that explains that by default, all pre-staged workstations will be re-joined after deployment is finished. However this stops happening as soon as I enable the client-side Unattended file.

I have followed Microsoft's instructions from the help files on how to go about re-joining the computers in AD using the client side Unattended file and using UnsecureJoin set to False. However, the machines don't join the domain, in fact this indicates it's not even looking in the AD OU, just generating the Computer Name off of the information included in Shell-Setup.

2012-08-27 14:01:04, Info                         [Shell Unattend] ComputerName: generating computer name from user name

OOBE Unattended file XML

Client side log from Panther folder

I'm clueless now and I think I've exhausted every troubleshooting that I can think of. I've read forum post after forum post trying to figure out what's wrong with my file and all of the relevant answers I could find point directly back at the way I'm using the implementation.

Can anyone help?

Best Answer

If I'm understanding your question correctly, you should set the computer name in the unattend file to %MACHINENAME%, which is the variable used during setup when it finds a match by NetbootGUID in AD.

You'll also need to use valid credentials in the Unattended Join section. They should be able to overwrite computer objects (delete and create).